summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-12-27 04:49:54 -0600
committerGitHub <noreply@github.com>2020-12-27 11:49:54 +0100
commit6bd4e29c65f9c8499f2ec25d6ef6b905ffec2ab4 (patch)
treea2b18d515e82ce0423a80466a8188ee205521289 /var
parentb9402094a129b4deb0ac986d2e4d5bd2de60df24 (diff)
downloadspack-6bd4e29c65f9c8499f2ec25d6ef6b905ffec2ab4.tar.gz
spack-6bd4e29c65f9c8499f2ec25d6ef6b905ffec2ab4.tar.bz2
spack-6bd4e29c65f9c8499f2ec25d6ef6b905ffec2ab4.tar.xz
spack-6bd4e29c65f9c8499f2ec25d6ef6b905ffec2ab4.zip
py-rasterio: add v1.1.8 (#20559)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-rasterio/package.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-rasterio/package.py b/var/spack/repos/builtin/packages/py-rasterio/package.py
index ab5eec1633..5f248a1734 100644
--- a/var/spack/repos/builtin/packages/py-rasterio/package.py
+++ b/var/spack/repos/builtin/packages/py-rasterio/package.py
@@ -8,16 +8,20 @@ from spack import *
class PyRasterio(PythonPackage):
"""Rasterio reads and writes geospatial raster data.
+
Geographic information systems use GeoTIFF and other formats to
organize and store gridded, or raster, datasets. Rasterio reads
and writes these formats and provides a Python API based on N-D
arrays."""
homepage = "https://github.com/mapbox/rasterio"
- url = "https://pypi.io/packages/source/r/rasterio/rasterio-1.1.5.tar.gz"
+ url = "https://pypi.io/packages/source/r/rasterio/rasterio-1.1.8.tar.gz"
+ git = "https://github.com/mapbox/rasterio.git"
maintainers = ['adamjstewart']
+ version('master', branch='master')
+ version('1.1.8', sha256='f7cac7e2ecf65b4b1eb78c994c63bd429b67dc679b0bc0ecfe487d3d5bf88fd5')
version('1.1.5', sha256='ebe75c71f9257c780615caaec8ef81fa4602702cf9290a65c213e1639284acc9')
version('1.0.24', sha256='4839479621045211f66868ec49625979693450bc2e476f23e7e8ac4804eaf452')
version('1.0a12', sha256='47d460326e04c64590ff56952271a184a6307f814efc34fb319c12e690585f3c')
@@ -26,6 +30,7 @@ class PyRasterio(PythonPackage):
depends_on('python@2.7:2.8,3.5:3.8', type=('build', 'link', 'run'), when='@1.1.0:1.1.999')
depends_on('python@2.7:2.8,3.5:3.7', type=('build', 'link', 'run'), when='@:1.0')
depends_on('py-setuptools', type='build')
+ depends_on('py-cython', type='build', when='@master')
depends_on('py-affine', type=('build', 'run'))
depends_on('py-attrs', type=('build', 'run'))
depends_on('py-click@4:7', type=('build', 'run'))
@@ -34,5 +39,7 @@ class PyRasterio(PythonPackage):
depends_on('py-snuggs@1.4.1:', type=('build', 'run'))
depends_on('py-click-plugins', type=('build', 'run'))
depends_on('py-enum34', type='run', when='^python@:3.3')
- depends_on('gdal@1.11:3.0', when='@1.0.25:')
+ depends_on('gdal@3.0:', when='@1.2.0:')
+ depends_on('gdal@1.11:3.2', when='@1.1.0:1.1.999')
+ depends_on('gdal@1.11:3.0', when='@1.0.25:1.0.999')
depends_on('gdal@1.11:2', when='@:1.0.24')