Skip to content

Commit 8b0198c

Browse files
committed
conda-recipe: sync with conda-forge
* use the dependencies and patches as defined in conda-forge * newer versions of conda-build do not need the version workaround anymore, the `load_setuptools` stuff works now.
1 parent de44829 commit 8b0198c

File tree

2 files changed

+24
-42
lines changed

2 files changed

+24
-42
lines changed

ci/conda_recipe/condaversion.patch

Lines changed: 0 additions & 14 deletions
This file was deleted.

ci/conda_recipe/meta.yaml

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# Full credit goes to https://github.com/conda/conda-recipes for providing this recipe.
22
# It has been subsequently adapted for automated building with conda-forge and matplotlib.
33

4+
{% set data = load_setuptools() %}
5+
46
package:
57
name: matplotlib
6-
version: 1.5.1.9
8+
version: {{data.get('version')}}
79

810
source:
911
path: ../../
@@ -13,50 +15,42 @@ source:
1315
- cfg_qt4agg.patch # [linux]
1416
# Patches the matplotlibrc template to default to Qt4.
1517
- rctmp_pyside.patch # [not osx]
16-
# Patches setupext to look in PREFIX for the tcl/tk headers.
17-
- osx-tk.patch # [osx]
18-
# dynamic version from git
19-
# we can't use condas usual dynamic versions as setup.py uses a guard
20-
# around the setup call against importing, which is done internaly
21-
# by conda build to get the version.
22-
# https://github.com/matplotlib/matplotlib/pull/5629#issuecomment-167243654
23-
- condaversion.patch
18+
2419

2520
requirements:
2621
build:
2722
- python
2823
- setuptools
24+
- pkg-config # [not win]
2925
- numpy x.x
3026
- python-dateutil
31-
- freetype
32-
- msinttypes # [win]
33-
- cycler
27+
- freetype 2.6*
28+
- msinttypes # [win]
29+
- cycler >=0.10
3430
- nose
3531
- pyparsing
3632
- pytz
37-
# - py2cairo # [linux and py2k]
33+
# - py2cairo # [linux and py2k]
3834
- tornado
39-
- libpng
40-
- zlib # [win]
41-
- pyqt # [not osx]
42-
- tk # [linux and win]
43-
- functools32 # [py2k]
44-
- msvc_runtime # [win]
35+
- libpng 1.6*
36+
- zlib 1.2* # [win]
37+
- pyqt # [not osx]
38+
- tk # [linux]
39+
- functools32 # [py2k]
4540

4641
run:
4742
- python
4843
- numpy x.x
49-
- cycler
44+
- cycler >=0.10
5045
- python-dateutil
51-
- freetype
46+
- freetype 2.6*
5247
- pytz
5348
- pyparsing
54-
# - py2cairo # [linux and py2k]
55-
- libpng
56-
- pyqt # [not osx]
57-
- tk # [linux and win]
58-
- functools32 # [py2k]
59-
- msvc_runtime # [win]
49+
# - py2cairo # [linux and py2k]
50+
- libpng 1.6*
51+
- pyqt # [not osx]
52+
- tk # [linux and win]
53+
- functools32 # [py2k]
6054

6155
test:
6256
imports:
@@ -70,6 +64,8 @@ about:
7064

7165
extra:
7266
recipe-maintainers:
67+
- janschulz # only in the mpl repository
68+
- mdboom # rest form conda-forge
69+
- ocefpaf
7370
- pelson
7471
- tacaswell
75-
- JanSchulz

0 commit comments

Comments
 (0)