summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2024-04-02 23:41:29 +0200
committerGitHub <noreply@github.com>2024-04-02 14:41:29 -0700
commit5b43bf1b58c2be82d7f03d951823e09ad29704f6 (patch)
treec5d0aa8e7c0115fb707d631276b03eb1f7a81f45 /var
parent37d9770e02d662a912516fb9750955666b223fd2 (diff)
downloadspack-5b43bf1b58c2be82d7f03d951823e09ad29704f6.tar.gz
spack-5b43bf1b58c2be82d7f03d951823e09ad29704f6.tar.bz2
spack-5b43bf1b58c2be82d7f03d951823e09ad29704f6.tar.xz
spack-5b43bf1b58c2be82d7f03d951823e09ad29704f6.zip
py-scikit-image: add v0.21 and v0.22 (#43440)
* py-scikit-image: add v0.21 and v0.22 * Add maintainer and license * Style fix
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-image/package.py135
1 files changed, 78 insertions, 57 deletions
diff --git a/var/spack/repos/builtin/packages/py-scikit-image/package.py b/var/spack/repos/builtin/packages/py-scikit-image/package.py
index 038b62b85b..56ad10bc78 100644
--- a/var/spack/repos/builtin/packages/py-scikit-image/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-image/package.py
@@ -14,6 +14,9 @@ class PyScikitImage(PythonPackage):
pypi = "scikit-image/scikit_image-0.17.2.tar.gz"
git = "https://github.com/scikit-image/scikit-image.git"
+ maintainers("adamjstewart")
+ license("BSD-3-Clause")
+
skip_modules = [
# Requires pytest
"skimage.filters.rank.tests",
@@ -21,6 +24,8 @@ class PyScikitImage(PythonPackage):
"skimage.future.graph",
]
+ version("0.22.0", sha256="018d734df1d2da2719087d15f679d19285fce97cd37695103deadfaef2873236")
+ version("0.21.0", sha256="b33e823c54e6f11873ea390ee49ef832b82b9f70752c8759efd09d5a4e3d87f0")
version("0.20.0", sha256="2cd784fce18bd31d71ade62c6221440199ead03acf7544086261ee032264cf61")
version("0.19.3", sha256="24b5367de1762da6ee126dd8f30cc4e7efda474e0d7d70685433f0e3aa2ec450")
version("0.18.3", sha256="ecae99f93f4c5e9b1bf34959f4dc596c41f2f6b2fc407d9d9ddf85aebd3137ca")
@@ -36,67 +41,83 @@ class PyScikitImage(PythonPackage):
# @0.14:0.17 from requirements/build.txt, requirements/default.txt
# @:0.13 from requirements.txt, DEPENDS.txt
- depends_on("python@3.8:", when="@0.20:", type=("build", "link", "run"))
+ with default_args(type=("build", "run")):
+ depends_on("python@3.9:", when="@0.22:")
+
+ with default_args(type=("build", "link", "run")):
+ depends_on("py-numpy@1.22:", when="@0.22:")
+ depends_on("py-numpy@1.21.1:", when="@0.20:")
+ depends_on("py-numpy@1.17,1.18.1:", when="@0.19")
+ depends_on("py-numpy@1.16.5:1.17,1.18.1:", when="@0.18")
+ depends_on("py-numpy@1.15.1:1.17,1.18.1:", when="@0.17")
+ depends_on("py-numpy@1.14.1:", when="@0.16")
+ depends_on("py-numpy@1.11:", when="@0.13:0.15")
+ depends_on("py-numpy@1.7.2:", when="@:0.12")
- depends_on("py-numpy@1.21.1:", when="@0.20:", type=("build", "link", "run"))
- depends_on("py-numpy@1.17,1.18.1:", when="@0.19", type=("build", "link", "run"))
- depends_on("py-numpy@1.16.5:1.17,1.18.1:", when="@0.18", type=("build", "link", "run"))
- depends_on("py-numpy@1.15.1:1.17,1.18.1:", when="@0.17", type=("build", "link", "run"))
- depends_on("py-numpy@1.14.1:", when="@0.16", type=("build", "link", "run"))
- depends_on("py-numpy@1.11:", when="@0.13:0.15", type=("build", "link", "run"))
- depends_on("py-numpy@1.7.2:", when="@:0.12", type=("build", "run"))
- depends_on("py-scipy@1.8:", when="@0.20:", type=("build", "run"))
- depends_on("py-scipy@1.4.1:", when="@0.19:", type=("build", "run"))
- depends_on("py-scipy@1.0.1:", when="@0.17:", type=("build", "run"))
- depends_on("py-scipy@0.19:", when="@0.16:", type=("build", "run"))
- depends_on("py-scipy@0.17:", when="@0.13:", type=("build", "run"))
- depends_on("py-scipy@0.9:", type=("build", "run"))
- depends_on("py-networkx@2.8:", when="@0.20:", type=("build", "run"))
- depends_on("py-networkx@2.2:", when="@0.19:", type=("build", "run"))
- depends_on("py-networkx@2:", when="@0.15:", type=("build", "run"))
- depends_on("py-networkx@1.8:", type=("build", "run"))
- depends_on("pil@9.0.1:", when="@0.20:", type=("build", "run"))
- depends_on("pil@6.1:7.0,7.1.2:8.2,8.3.1:", when="@0.19:", type=("build", "run"))
- depends_on("pil@4.3:7.0,7.1.2:", when="@0.17:", type=("build", "run"))
- depends_on("pil@4.3:", when="@0.14:", type=("build", "run"))
- depends_on("pil@2.1:", type=("build", "run"))
- depends_on("py-imageio@2.4.1:", when="@0.19:", type=("build", "run"))
- depends_on("py-imageio@2.3:", when="@0.16:", type=("build", "run"))
- depends_on("py-imageio@2.0.1:", when="@0.15:", type=("build", "run"))
- depends_on("py-tifffile@2019.7.26:", when="@0.17:", type=("build", "run"))
- depends_on("py-pywavelets@1.1.1:", when="@0.17:", type=("build", "run"))
- depends_on("py-pywavelets@0.4:", when="@0.13:", type=("build", "run"))
- depends_on("py-packaging@20:", when="@0.19:", type=("build", "run"))
- depends_on("py-lazy-loader@0.1:", when="@0.20:", type=("build", "run"))
+ with default_args(type=("build", "run")):
+ depends_on("py-scipy@1.8:", when="@0.20:")
+ depends_on("py-scipy@1.4.1:", when="@0.19:")
+ depends_on("py-scipy@1.0.1:", when="@0.17:")
+ depends_on("py-scipy@0.19:", when="@0.16:")
+ depends_on("py-scipy@0.17:", when="@0.13:")
+ depends_on("py-scipy@0.9:")
+ depends_on("py-networkx@2.8:", when="@0.20:")
+ depends_on("py-networkx@2.2:", when="@0.19:")
+ depends_on("py-networkx@2:", when="@0.15:")
+ depends_on("py-networkx@1.8:")
+ depends_on("pil@9.0.1:", when="@0.20:")
+ depends_on("pil@6.1:7.0,7.1.2:8.2,8.3.1:", when="@0.19:")
+ depends_on("pil@4.3:7.0,7.1.2:", when="@0.17:")
+ depends_on("pil@4.3:", when="@0.14:")
+ depends_on("pil@2.1:")
+ depends_on("py-imageio@2.27:", when="@0.21:")
+ depends_on("py-imageio@2.4.1:", when="@0.19:")
+ depends_on("py-imageio@2.3:", when="@0.16:")
+ depends_on("py-imageio@2.0.1:", when="@0.15:")
+ depends_on("py-tifffile@2022.8.12:", when="@0.21:")
+ depends_on("py-tifffile@2019.7.26:", when="@0.17:")
+ depends_on("py-packaging@21:", when="@0.21:")
+ depends_on("py-packaging@20:", when="@0.19:")
+ depends_on("py-lazy-loader@0.3:", when="@0.22:")
+ depends_on("py-lazy-loader@0.2:", when="@0.21:")
+ depends_on("py-lazy-loader@0.1:", when="@0.20:")
- depends_on("py-meson-python@0.13:", when="@0.20:", type="build")
- depends_on("py-setuptools@67:", when="@0.20:", type="build")
- depends_on("py-setuptools@:59.4", when="@0.19.1:0.19", type="build")
- depends_on("py-setuptools@51:", when="@0.18:", type="build")
- depends_on("py-setuptools", type="build")
- depends_on("py-cython@0.29.24:", when="@0.20:", type="build")
- depends_on("py-cython@0.29.24:2", when="@0.19", type="build")
- depends_on("py-cython@0.29.21:", when="@0.18", type="build")
- depends_on("py-cython@0.29.13:", when="@0.17", type="build")
- depends_on("py-cython@0.25:0.28.1,0.28.3:0.28,0.29.1:", when="@0.15:0.16", type="build")
- depends_on("py-cython@0.23.4:0.28.1,0.28.3:0.28,0.29.1:", when="@0.14.3:0.14", type="build")
- depends_on("py-cython@0.23.4:0.28.1", when="@0.14.2", type="build")
- depends_on("py-cython@0.23.4:", when="@0.14.1", type="build")
- depends_on("py-cython@0.21:", when="@0.12", type="build")
- depends_on("py-pythran", when="@0.19:", type="build")
+ with default_args(type="build"):
+ depends_on("py-meson-python@0.14:", when="@0.22:")
+ depends_on("py-meson-python@0.13:", when="@0.20:")
+ depends_on("py-setuptools@67:", when="@0.20:")
+ depends_on("py-setuptools@:59.4", when="@0.19.1:0.19")
+ depends_on("py-setuptools@51:", when="@0.18:")
+ depends_on("py-setuptools")
+ depends_on("py-cython@0.29.32:", when="@0.21:")
+ depends_on("py-cython@0.29.24:", when="@0.20:")
+ depends_on("py-cython@0.29.24:2", when="@0.19")
+ depends_on("py-cython@0.29.21:", when="@0.18")
+ depends_on("py-cython@0.29.13:", when="@0.17")
+ depends_on("py-cython@0.25:0.28.1,0.28.3:0.28,0.29.1:", when="@0.15:0.16")
+ depends_on("py-cython@0.23.4:0.28.1,0.28.3:0.28,0.29.1:", when="@0.14.3:0.14")
+ depends_on("py-cython@0.23.4:0.28.1", when="@0.14.2")
+ depends_on("py-cython@0.23.4:", when="@0.14.1")
+ depends_on("py-cython@0.21:", when="@0.12")
+ depends_on("py-pythran", when="@0.19:")
# dependencies for old versions
- depends_on("py-numpydoc@0.6:", when="@0.13.0:0.13", type="build")
- depends_on("py-matplotlib@2.0:2,3.0.1:", when="@0.15:0.18", type=("build", "run"))
- depends_on("py-matplotlib@2:", when="@0.14:0.18", type=("build", "run"))
- depends_on("py-matplotlib@1.3.1:", when="@:0.18", type=("build", "run"))
- depends_on("py-six@1.10:", when="@0.14.0:0.14", type=("build", "run"))
- depends_on("py-six@1.7.3:", when="@:0.14", type=("build", "run"))
- depends_on("py-pooch@0.5.2:", when="@0.17.0:0.17.1", type=("build", "run"))
- depends_on("py-dask+array@1:", when="@0.14.2", type=("build", "run"))
- depends_on("py-dask+array@0.9:", when="@0.14.0:0.14.1", type=("build", "run"))
- depends_on("py-dask+array@0.5:", when="@:0.13", type=("build", "run"))
- depends_on("py-cloudpickle@0.2.1:", when="@0.14.0:0.14", type=("build", "run"))
+ with default_args(type="build"):
+ depends_on("py-numpydoc@0.6:", when="@0.13.0:0.13")
+
+ with default_args(type=("build", "run")):
+ depends_on("py-pywavelets@1.1.1:", when="@0.17:0.21")
+ depends_on("py-pywavelets@0.4:", when="@0.13:0.16")
+ depends_on("py-matplotlib@2.0:2,3.0.1:", when="@0.15:0.18")
+ depends_on("py-matplotlib@2:", when="@0.14:0.18")
+ depends_on("py-matplotlib@1.3.1:", when="@:0.18")
+ depends_on("py-six@1.10:", when="@0.14.0:0.14")
+ depends_on("py-six@1.7.3:", when="@:0.14")
+ depends_on("py-pooch@0.5.2:", when="@0.17.0:0.17.1")
+ depends_on("py-dask+array@1:", when="@0.14.2")
+ depends_on("py-dask+array@0.9:", when="@0.14.0:0.14.1")
+ depends_on("py-dask+array@0.5:", when="@:0.13")
+ depends_on("py-cloudpickle@0.2.1:", when="@0.14.0:0.14")
def url_for_version(self, version):
url = (