GDAL: add v3.7.0 (#37598)

This commit is contained in:
Adam J. Stewart 2023-05-12 11:13:10 -05:00 committed by GitHub
parent f423edd526
commit ab8661533b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ class Gdal(CMakePackage, AutotoolsPackage, PythonExtension):
maintainers("adamjstewart")
version("3.7.0", sha256="af4b26a6b6b3509ae9ccf1fcc5104f7fe015ef2110f5ba13220816398365adce")
version("3.6.4", sha256="889894cfff348c04ac65b462f629d03efc53ea56cf04de7662fbe81a364e3df1")
version("3.6.3", sha256="3cccbed883b1fb99b913966aa3a650ad930e7c3afc714f5823f9754176ee49ea")
version("3.6.2", sha256="35f40d2e08061b342513cdcddc2b997b3814ef8254514f0ef1e8bc7aa56cf681")
@ -204,7 +205,7 @@ class Gdal(CMakePackage, AutotoolsPackage, PythonExtension):
when="@2.1:",
description="Used for linear interpolation of gdal_grid",
)
variant("rasdaman", default=False, description="Required for Rasdaman driver")
variant("rasdaman", default=False, when="@:3.6", description="Required for Rasdaman driver")
variant(
"rasterlite2", default=False, when="@2.2:", description="Required for RasterLite2 driver"
)
@ -381,6 +382,9 @@ class Gdal(CMakePackage, AutotoolsPackage, PythonExtension):
depends_on("php", type=("build", "link", "run"), when="+php")
depends_on("swig", type="build", when="+php")
# https://gdal.org/development/rfc/rfc88_googletest.html
depends_on("googletest@1.10:", type="test")
# https://trac.osgeo.org/gdal/wiki/SupportedCompilers
msg = "GDAL requires C++11 support"
conflicts("%gcc@:4.8.0", msg=msg)