summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-01-06 03:06:32 -0600
committerGitHub <noreply@github.com>2021-01-06 10:06:32 +0100
commit4da57e8afa53d0ca716e0c594106e7b470683915 (patch)
tree46ef2d1169d9a4ca2e803ba3bcc497d58ccc5588
parent05ab114ff91c6bd9a4ef7d24566d1ae499ed4ee1 (diff)
downloadspack-4da57e8afa53d0ca716e0c594106e7b470683915.tar.gz
spack-4da57e8afa53d0ca716e0c594106e7b470683915.tar.bz2
spack-4da57e8afa53d0ca716e0c594106e7b470683915.tar.xz
spack-4da57e8afa53d0ca716e0c594106e7b470683915.zip
GDAL: add v3.2.1 (#20664)
-rw-r--r--var/spack/repos/builtin/packages/gdal/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py
index faa048fac1..13d41c1ddb 100644
--- a/var/spack/repos/builtin/packages/gdal/package.py
+++ b/var/spack/repos/builtin/packages/gdal/package.py
@@ -21,6 +21,7 @@ class Gdal(AutotoolsPackage):
maintainers = ['adamjstewart']
+ version('3.2.1', sha256='6c588b58fcb63ff3f288eb9f02d76791c0955ba9210d98c3abd879c770ae28ea')
version('3.2.0', sha256='b051f852600ffdf07e337a7f15673da23f9201a9dbb482bd513756a3e5a196a6')
version('3.1.4', sha256='7b82486f71c71cec61f9b237116212ce18ef6b90f068cbbf9f7de4fc50b576a8')
version('3.1.3', sha256='161cf55371a143826f1d76ce566db1f0a666496eeb4371aed78b1642f219d51d')
@@ -141,6 +142,10 @@ class Gdal(AutotoolsPackage):
depends_on('proj@:6', when='+proj @2.5:2.999')
depends_on('proj@6:', when='+proj @3:')
depends_on('perl', type=('build', 'run'), when='+perl')
+ # see gdal_version_and_min_supported_python_version
+ # in swig/python/osgeo/__init__.py
+ depends_on('python@3.6:', type=('build', 'link', 'run'), when='@3.3:+python')
+ depends_on('python@2.0:', type=('build', 'link', 'run'), when='@3.2:+python')
depends_on('python', type=('build', 'link', 'run'), when='+python')
# swig/python/setup.py
depends_on('py-setuptools', type='build', when='+python')