summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-11-06 11:42:46 -0600
committerGitHub <noreply@github.com>2020-11-06 11:42:46 -0600
commitdf3cc079eb9577c7eefcb959782f30d30eca84ae (patch)
tree207c7edf1e3927fe8030459553b01ded949c17b7 /var
parente26d01022e75322c45989d35cab2994f4e22cac9 (diff)
downloadspack-df3cc079eb9577c7eefcb959782f30d30eca84ae.tar.gz
spack-df3cc079eb9577c7eefcb959782f30d30eca84ae.tar.bz2
spack-df3cc079eb9577c7eefcb959782f30d30eca84ae.tar.xz
spack-df3cc079eb9577c7eefcb959782f30d30eca84ae.zip
GDAL: add v3.2.0 (#19685)
* GDAL: add v3.2.0 * Fix typo: satisfes -> satisfies Co-authored-by: Andrew W Elble <aweits@rit.edu> Co-authored-by: Andrew W Elble <aweits@rit.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gdal/package.py28
1 files changed, 25 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py
index e7400a2756..1162ffe9ae 100644
--- a/var/spack/repos/builtin/packages/gdal/package.py
+++ b/var/spack/repos/builtin/packages/gdal/package.py
@@ -15,7 +15,7 @@ class Gdal(AutotoolsPackage):
"""
homepage = "https://www.gdal.org/"
- url = "https://download.osgeo.org/gdal/3.1.4/gdal-3.1.4.tar.xz"
+ url = "https://download.osgeo.org/gdal/3.2.0/gdal-3.2.0.tar.xz"
list_url = "https://download.osgeo.org/gdal/"
list_depth = 1
@@ -26,6 +26,7 @@ class Gdal(AutotoolsPackage):
'osgeo.gdal_array', 'osgeo.gdalconst'
]
+ version('3.2.0', sha256='b051f852600ffdf07e337a7f15673da23f9201a9dbb482bd513756a3e5a196a6')
version('3.1.4', sha256='7b82486f71c71cec61f9b237116212ce18ef6b90f068cbbf9f7de4fc50b576a8')
version('3.1.3', sha256='161cf55371a143826f1d76ce566db1f0a666496eeb4371aed78b1642f219d51d')
version('3.1.2', sha256='767c8d0dfa20ba3283de05d23a1d1c03a7e805d0ce2936beaff0bb7d11450641')
@@ -473,8 +474,6 @@ class Gdal(AutotoolsPackage):
'--with-dods-root=no',
'--with-spatialite=no',
'--with-idb=no',
- # https://trac.osgeo.org/gdal/wiki/ArcSDE
- '--with-sde=no',
# https://trac.osgeo.org/gdal/wiki/Epsilon
'--with-epsilon=no',
'--with-webp=no',
@@ -484,10 +483,33 @@ class Gdal(AutotoolsPackage):
'--with-rasdaman=no',
])
+ # TODO: add packages for these dependencies (only for 3.1 and older)
+ if spec.satisfies('@:3.1'):
+ # https://trac.osgeo.org/gdal/wiki/ArcSDE
+ args.append('--with-sde=no')
+
# TODO: add packages for these dependencies (only for 2.3 and older)
if spec.satisfies('@:2.3'):
args.append('--with-php=no')
+ # TODO: add packages for these dependencies (only for 3.2 and newer)
+ if spec.satisfies('@3.2:'):
+ args.append('--with-heif=no')
+
+ # TODO: add packages for these dependencies (only for 3.1 and newer)
+ if spec.satisfies('@3.1:'):
+ args.extend([
+ '--with-exr=no',
+ '--with-rdb=no',
+ ])
+
+ # TODO: add packages for these dependencies (only for 3.0 and newer)
+ if spec.satisfies('@3.0:'):
+ args.extend([
+ '--with-tiledb=no',
+ '--with-mongocxxv3=no',
+ ])
+
# TODO: add packages for these dependencies (only for 2.3 and newer)
if spec.satisfies('@2.3:'):
args.extend([