diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch | 19 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb | 7 |
2 files changed, 17 insertions, 9 deletions
diff --git a/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch b/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch index e07159552f..9a13a1850f 100644 --- a/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch +++ b/meta-python/recipes-devtools/python/python-matplotlib/fix_setupext.patch | |||
@@ -1,9 +1,20 @@ | |||
1 | This fixes the numpy import problem in setupext.py using a hard-coded path. | 1 | This fixes the numpy import problem in setupext.py using a hard-coded path. |
2 | 2 | ||
3 | diff --git a/setupext.py b/setupext.py | 3 | Index: matplotlib-1.1.0/setupext.py |
4 | index 962cedc..82297c4 100644 | 4 | =================================================================== |
5 | --- a/setupext.py | 5 | --- matplotlib-1.1.0.orig/setupext.py |
6 | +++ b/setupext.py | 6 | +++ matplotlib-1.1.0/setupext.py |
7 | @@ -122,8 +122,8 @@ numpy_inc_dirs = [] | ||
8 | # matplotlib build options, which can be altered using setup.cfg | ||
9 | options = {'display_status': True, | ||
10 | 'verbose': False, | ||
11 | - 'provide_pytz': 'auto', | ||
12 | - 'provide_dateutil': 'auto', | ||
13 | + 'provide_pytz': False, | ||
14 | + 'provide_dateutil': False, | ||
15 | 'build_agg': True, | ||
16 | 'build_gtk': 'auto', | ||
17 | 'build_gtkagg': 'auto', | ||
7 | @@ -176,10 +176,7 @@ if os.path.exists(setup_cfg): | 18 | @@ -176,10 +176,7 @@ if os.path.exists(setup_cfg): |
8 | except: pass | 19 | except: pass |
9 | 20 | ||
diff --git a/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb b/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb index 6c8a202c59..69f71c7116 100644 --- a/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb | |||
@@ -4,11 +4,8 @@ LICENSE = "PSF" | |||
4 | LIC_FILES_CHKSUM = "file://README.txt;md5=83c5bf8b16a5f99507f2f47a21ae3b81" | 4 | LIC_FILES_CHKSUM = "file://README.txt;md5=83c5bf8b16a5f99507f2f47a21ae3b81" |
5 | PR = "r1" | 5 | PR = "r1" |
6 | 6 | ||
7 | DEPENDS += "python-numpy freetype libpng" | 7 | DEPENDS += "python-numpy freetype libpng python-dateutil python-pytz" |
8 | RDEPENDS_${PN} = "python-core python-distutils python-numpy freetype libpng" | 8 | RDEPENDS_${PN} = "python-core python-distutils python-numpy freetype libpng python-dateutil python-pytz" |
9 | |||
10 | PNBLACKLIST[python-matplotlib] = "CONFLICT: 34 files with python-dateutil" | ||
11 | # e.g. sysroots/qemux86-64/usr/lib/python2.7/site-packages/dateutil/tzwin.pyc | ||
12 | 9 | ||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/matplotlib/matplotlib-${PV}.tar.gz \ | 10 | SRC_URI = "${SOURCEFORGE_MIRROR}/matplotlib/matplotlib-${PV}.tar.gz \ |
14 | file://fix_setup.patch \ | 11 | file://fix_setup.patch \ |