summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilton Woods <miltonjwoods@gmail.com>2019-07-16 00:26:13 +1000
committerElizabeth Fischer <elizabeth.fischer@columbia.edu>2019-07-15 10:26:13 -0400
commitaf74c291edcb63d8248ac3e36fb1c741144edf28 (patch)
treed3192a8ca1f2d91b17527cf5e1cdccca3d3d9ba8
parent9be127890fb8e4463252bdd9bb9ee18fc7d8fa9a (diff)
downloadspack-af74c291edcb63d8248ac3e36fb1c741144edf28.tar.gz
spack-af74c291edcb63d8248ac3e36fb1c741144edf28.tar.bz2
spack-af74c291edcb63d8248ac3e36fb1c741144edf28.tar.xz
spack-af74c291edcb63d8248ac3e36fb1c741144edf28.zip
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
-rw-r--r--var/spack/repos/builtin/packages/py-basemap/package.py3
1 files changed, 2 insertions, 1 deletions
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'))