py-pygdal: Add versions 3.3.0.10 and 3.3.2.10 (#26528)

Co-authored-by: Bernhard Kaindl <bernhardkaindl7@gmail.com>
This commit is contained in:
haralmha 2021-10-06 01:57:59 +02:00 committed by GitHub
parent b20e7317ab
commit eafa0ff085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ class PyPygdal(PythonPackage):
homepage = "https://github.com/nextgis/pygdal" homepage = "https://github.com/nextgis/pygdal"
pypi = "pygdal/pygdal-3.0.1.5.tar.gz" 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.4.6', sha256='8e39b58cd9465bb5f41786a7cf6a62df93334c104db05a5bfb8181a0be276b86')
version('3.0.1.5', sha256='1222f69fe5e6b632d0d2a42d3acb8fac80fb4577c05e01969d8cd5548192ccaa') version('3.0.1.5', sha256='1222f69fe5e6b632d0d2a42d3acb8fac80fb4577c05e01969d8cd5548192ccaa')
version('2.4.2.5', sha256='73386683c0b10ab43b6d64257fca2ba812f53ec61b268de8811565fd9ae9bacd') version('2.4.2.5', sha256='73386683c0b10ab43b6d64257fca2ba812f53ec61b268de8811565fd9ae9bacd')
@ -30,6 +32,9 @@ class PyPygdal(PythonPackage):
depends_on('py-setuptools', type='build') depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.0.0:', type=('build', 'run')) 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.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@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') depends_on('gdal@2.4.2', type=('build', 'link', 'run'), when='@2.4.2.5')