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
This commit is contained in:
Milton Woods 2019-07-16 00:26:13 +10:00 committed by Elizabeth Fischer
parent 9be127890f
commit af74c291ed

View file

@ -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'))