From af74c291edcb63d8248ac3e36fb1c741144edf28 Mon Sep 17 00:00:00 2001 From: Milton Woods Date: Tue, 16 Jul 2019 00:26:13 +1000 Subject: [PATCH] py-basemap: install without egg (#11961) * py-basemap: avoid creating egg during build, for compatibility with mpl_toolkits * py-basemap: not ready for py-pyproj@2 onwards --- var/spack/repos/builtin/packages/py-basemap/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-basemap/package.py b/var/spack/repos/builtin/packages/py-basemap/package.py index 834a8b8bd4..2eff7480dd 100644 --- a/var/spack/repos/builtin/packages/py-basemap/package.py +++ b/var/spack/repos/builtin/packages/py-basemap/package.py @@ -19,9 +19,10 @@ class PyBasemap(PythonPackage): # Per Github issue #3813, setuptools is required at runtime in order # to make mpl_toolkits a namespace package that can span multiple # directories (i.e., matplotlib and basemap) - depends_on('py-setuptools', type=('run')) + depends_on('py-setuptools', type=('build', 'run')) depends_on('py-numpy', type=('build', 'run')) depends_on('py-matplotlib', type=('build', 'run')) + depends_on('py-pyproj@:1.99', type=('build', 'run'), when='@:1.2.0') depends_on('py-pyproj', type=('build', 'run')) depends_on('py-pyshp', type=('build', 'run')) depends_on('pil', type=('build', 'run'))