diff options
author | haralmha <47558670+haralmha@users.noreply.github.com> | 2021-10-06 01:57:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 23:57:59 +0000 |
commit | eafa0ff085891e59b2be06da59103fab58b02692 (patch) | |
tree | 5b7b1a2c4e42a447bf9dddda6e82e6c744d7aec4 | |
parent | b20e7317ab654250faab7f38e25237c21ccbe40c (diff) | |
download | spack-eafa0ff085891e59b2be06da59103fab58b02692.tar.gz spack-eafa0ff085891e59b2be06da59103fab58b02692.tar.bz2 spack-eafa0ff085891e59b2be06da59103fab58b02692.tar.xz spack-eafa0ff085891e59b2be06da59103fab58b02692.zip |
py-pygdal: Add versions 3.3.0.10 and 3.3.2.10 (#26528)
Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
-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') |