diff options
Diffstat (limited to 'var/spack')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pygdal/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pygdal/package.py b/var/spack/repos/builtin/packages/py-pygdal/package.py index 2e74f36f34..167d7593a8 100644 --- a/var/spack/repos/builtin/packages/py-pygdal/package.py +++ b/var/spack/repos/builtin/packages/py-pygdal/package.py @@ -20,6 +20,8 @@ class PyPygdal(PythonPackage): homepage = "https://github.com/nextgis/pygdal" pypi = "pygdal/pygdal-3.0.1.5.tar.gz" + version('3.3.2.10', sha256='7fb9eec8aeb36b94389ff9f2b40cdceffefc8c290d813f4908b4acd208ca3a84') + version('3.3.0.10', sha256='ea0c20bee67fac94fe0b1cb604a4fd0dc600aa8aa15cf9a7b6dc76adeb48670e') version('3.0.4.6', sha256='8e39b58cd9465bb5f41786a7cf6a62df93334c104db05a5bfb8181a0be276b86') version('3.0.1.5', sha256='1222f69fe5e6b632d0d2a42d3acb8fac80fb4577c05e01969d8cd5548192ccaa') version('2.4.2.5', sha256='73386683c0b10ab43b6d64257fca2ba812f53ec61b268de8811565fd9ae9bacd') @@ -30,6 +32,9 @@ class PyPygdal(PythonPackage): depends_on('py-setuptools', type='build') depends_on('py-numpy@1.0.0:', type=('build', 'run')) + # pygdal's build only works with the specified gdal version + depends_on('gdal@3.3.2', type=('build', 'link', 'run'), when='@3.3.2.10') + depends_on('gdal@3.3.0', type=('build', 'link', 'run'), when='@3.3.0.10') depends_on('gdal@3.0.4', type=('build', 'link', 'run'), when='@3.0.4.6') depends_on('gdal@3.0.1', type=('build', 'link', 'run'), when='@3.0.1.5') depends_on('gdal@2.4.2', type=('build', 'link', 'run'), when='@2.4.2.5') |