diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-06-18 13:24:57 -0500 |
---|---|---|
committer | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2019-06-18 14:24:56 -0400 |
commit | ff6dfe3c009ef731d55ee0a7d5b74ad70eff5eb5 (patch) | |
tree | 6f7a171f3a1fb3b6eab380eb969ad2f054273462 | |
parent | ea3e1521fe3bcb260fdea439208f0dd47d3ff062 (diff) | |
download | spack-ff6dfe3c009ef731d55ee0a7d5b74ad70eff5eb5.tar.gz spack-ff6dfe3c009ef731d55ee0a7d5b74ad70eff5eb5.tar.bz2 spack-ff6dfe3c009ef731d55ee0a7d5b74ad70eff5eb5.tar.xz spack-ff6dfe3c009ef731d55ee0a7d5b74ad70eff5eb5.zip |
Add py-shapely 1.6.4.post2 (#11739)
-rw-r--r-- | var/spack/repos/builtin/packages/py-shapely/package.py | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-shapely/package.py b/var/spack/repos/builtin/packages/py-shapely/package.py index 4f043530eb..18467641bd 100644 --- a/var/spack/repos/builtin/packages/py-shapely/package.py +++ b/var/spack/repos/builtin/packages/py-shapely/package.py @@ -11,16 +11,25 @@ class PyShapely(PythonPackage): """ homepage = "https://github.com/Toblerity/Shapely" - url = "https://pypi.io/packages/source/S/Shapely/Shapely-1.6.4.tar.gz" + url = "https://pypi.io/packages/source/S/Shapely/Shapely-1.6.4.post2.tar.gz" + maintainers = ['adamjstewart'] + import_modules = [ + 'shapely', 'shapely.geometry', 'shapely.algorithms', + 'shapely.examples', 'shapely.speedups', 'shapely.vectorized', + ] + + version('1.6.4.post2', sha256='c4b87bb61fc3de59fc1f85e71a79b0c709dc68364d9584473697aad4aa13240f') version('1.6.4', '7581ef2d0fb346f9ed157f3efc75f6a4') - depends_on('python@2.6.0:2.8,3.4.0:', type=('build', 'run')) - depends_on('py-setuptools', type='build') - depends_on('py-cython@0.19:', type='build') - depends_on('py-numpy@1.4.1:', type=('build', 'run')) - depends_on('geos@3.3:') + depends_on('python@2.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-cython', type='build') + depends_on('py-numpy', type=('build', 'run')) + depends_on('geos') + depends_on('geos@3.3:', when='@1.3:') + depends_on('py-pytest', type='test') def setup_environment(self, spack_env, run_env): - spack_env.set('GEOS_CONFIG', self.spec['geos'].prefix) - spack_env.prepend_path('LD_LIBRARY_PATH', self.spec['geos'].prefix.lib) + spack_env.set('GEOS_CONFIG', + join_path(self.spec['geos'].prefix.bin, 'geos-config')) |