From 3430c55b0a0701bfb2149dcab659eeaa483447d1 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 13 Feb 2023 13:09:28 -0700 Subject: [PATCH] py-rasterio: add v1.3.6 (#35464) --- .../builtin/packages/py-rasterio/package.py | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-rasterio/package.py b/var/spack/repos/builtin/packages/py-rasterio/package.py index 7012927b00..db9eaf5ed1 100644 --- a/var/spack/repos/builtin/packages/py-rasterio/package.py +++ b/var/spack/repos/builtin/packages/py-rasterio/package.py @@ -20,6 +20,7 @@ class PyRasterio(PythonPackage): maintainers("adamjstewart") version("master", branch="master") + version("1.3.6", sha256="c8b90eb10e16102d1ab0334a7436185f295de1c07f0d197e206d1c005fc33905") version("1.3.5", sha256="92358c3d4d5d6f3c7cd2812c8832d5175abce02b11bc101ac9548ff07163e8e2") version("1.3.4", sha256="5a8771405276ecf00b8ee927bd0a81ec21778dcfc97e4a37d0b388f10c9a41a8") version("1.3.3", sha256="b6fb1f12489f3a678c05ddcb78a74f0b6f63836219f51c0541e505f5e5208e7d") @@ -33,32 +34,32 @@ class PyRasterio(PythonPackage): version("1.0.24", sha256="4839479621045211f66868ec49625979693450bc2e476f23e7e8ac4804eaf452") version("1.0a12", sha256="47d460326e04c64590ff56952271a184a6307f814efc34fb319c12e690585f3c") - # From README.rst - depends_on("python@3.8:", when="@1.3:", type=("build", "link", "run")) - depends_on("python@3.6:3.9", when="@1.2", type=("build", "link", "run")) - depends_on("python@2.7:2.8,3.5:3.8", when="@1.1", type=("build", "link", "run")) - depends_on("python@2.7:2.8,3.5:3.7", when="@:1.0", type=("build", "link", "run")) - depends_on("py-numpy@1.18:", when="@1.3:", type=("build", "link", "run")) - depends_on("py-numpy@1.15:", when="@1.2:", type=("build", "link", "run")) - depends_on("py-numpy", type=("build", "link", "run")) - depends_on("gdal@3.1:", when="@1.3:") - depends_on("gdal@2.4:3.3", when="@1.2.7:1.2") - depends_on("gdal@2.3:3.2", when="@1.2.0:1.2.6") - depends_on("gdal@1.11:3.2", when="@1.1.0:1.1") - depends_on("gdal@1.11:3.0", when="@1.0.25:1.0") - depends_on("gdal@1.11:2", when="@:1.0.24") - # From pyproject.toml depends_on("py-cython@0.29.29:", when="@1.3.3:", type="build") depends_on("py-cython@0.29.24:0.29", when="@1.3.0:1.3.2", type="build") # From setup.py + depends_on("python@3.8:", when="@1.3:", type=("build", "link", "run")) + depends_on("python@3.6:3.9", when="@1.2", type=("build", "link", "run")) + depends_on("python@2.7:2.8,3.5:3.8", when="@1.1", type=("build", "link", "run")) + depends_on("python@2.7:2.8,3.5:3.7", when="@:1.0", type=("build", "link", "run")) depends_on("py-affine", type=("build", "run")) depends_on("py-attrs", type=("build", "run")) depends_on("py-certifi", when="@1.2:", type=("build", "run")) depends_on("py-click@4:", when="@1.2.4:", type=("build", "run")) depends_on("py-click@4:7", when="@:1.2.3", type=("build", "run")) depends_on("py-cligj@0.5:", type=("build", "run")) + depends_on("py-numpy@1.18:", when="@1.3:", type=("build", "link", "run")) + depends_on("py-numpy@1.15:", when="@1.2:", type=("build", "link", "run")) + depends_on("py-numpy", type=("build", "link", "run")) depends_on("py-snuggs@1.4.1:", type=("build", "run")) depends_on("py-click-plugins", type=("build", "run")) depends_on("py-setuptools", type=("build", "run")) + + # From README.rst and setup.py + depends_on("gdal@3.1:", when="@1.3:") + depends_on("gdal@2.4:3.3", when="@1.2.7:1.2") + depends_on("gdal@2.3:3.2", when="@1.2.0:1.2.6") + depends_on("gdal@1.11:3.2", when="@1.1.0:1.1") + depends_on("gdal@1.11:3.0", when="@1.0.25:1.0") + depends_on("gdal@1.11:2", when="@:1.0.24")