forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-scikit-image: add v0.21 and v0.22 (spack#43440)
* py-scikit-image: add v0.21 and v0.22 * Add maintainer and license * Style fix
- Loading branch information
1 parent
37d9770
commit 5b43bf1
Showing
1 changed file
with
78 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,18 @@ 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", | ||
# skimage.future.graph moved to skimage.graph | ||
"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("[email protected]:", when="@0.20:", type=("build", "link", "run")) | ||
with default_args(type=("build", "run")): | ||
depends_on("[email protected]:", when="@0.22:") | ||
|
||
with default_args(type=("build", "link", "run")): | ||
depends_on("[email protected]:", when="@0.22:") | ||
depends_on("[email protected]:", when="@0.20:") | ||
depends_on("[email protected],1.18.1:", when="@0.19") | ||
depends_on("[email protected]:1.17,1.18.1:", when="@0.18") | ||
depends_on("[email protected]:1.17,1.18.1:", when="@0.17") | ||
depends_on("[email protected]:", when="@0.16") | ||
depends_on("[email protected]:", when="@0.13:0.15") | ||
depends_on("[email protected]:", when="@:0.12") | ||
|
||
depends_on("[email protected]:", when="@0.20:", type=("build", "link", "run")) | ||
depends_on("[email protected],1.18.1:", when="@0.19", type=("build", "link", "run")) | ||
depends_on("[email protected]:1.17,1.18.1:", when="@0.18", type=("build", "link", "run")) | ||
depends_on("[email protected]:1.17,1.18.1:", when="@0.17", type=("build", "link", "run")) | ||
depends_on("[email protected]:", when="@0.16", type=("build", "link", "run")) | ||
depends_on("[email protected]:", when="@0.13:0.15", type=("build", "link", "run")) | ||
depends_on("[email protected]:", when="@:0.12", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.20:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.19:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.17:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.16:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.13:", type=("build", "run")) | ||
depends_on("[email protected]:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.20:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.19:", type=("build", "run")) | ||
depends_on("py-networkx@2:", when="@0.15:", type=("build", "run")) | ||
depends_on("[email protected]:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.20:", type=("build", "run")) | ||
depends_on("[email protected]:7.0,7.1.2:8.2,8.3.1:", when="@0.19:", type=("build", "run")) | ||
depends_on("[email protected]:7.0,7.1.2:", when="@0.17:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.14:", type=("build", "run")) | ||
depends_on("[email protected]:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.19:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.16:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.15:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.17:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.17:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.13:", type=("build", "run")) | ||
depends_on("py-packaging@20:", when="@0.19:", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.20:", type=("build", "run")) | ||
with default_args(type=("build", "run")): | ||
depends_on("[email protected]:", when="@0.20:") | ||
depends_on("[email protected]:", when="@0.19:") | ||
depends_on("[email protected]:", when="@0.17:") | ||
depends_on("[email protected]:", when="@0.16:") | ||
depends_on("[email protected]:", when="@0.13:") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:", when="@0.20:") | ||
depends_on("[email protected]:", when="@0.19:") | ||
depends_on("py-networkx@2:", when="@0.15:") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:", when="@0.20:") | ||
depends_on("[email protected]:7.0,7.1.2:8.2,8.3.1:", when="@0.19:") | ||
depends_on("[email protected]:7.0,7.1.2:", when="@0.17:") | ||
depends_on("[email protected]:", when="@0.14:") | ||
depends_on("[email protected]:") | ||
depends_on("[email protected]:", when="@0.21:") | ||
depends_on("[email protected]:", when="@0.19:") | ||
depends_on("[email protected]:", when="@0.16:") | ||
depends_on("[email protected]:", when="@0.15:") | ||
depends_on("[email protected]:", when="@0.21:") | ||
depends_on("[email protected]:", when="@0.17:") | ||
depends_on("py-packaging@21:", when="@0.21:") | ||
depends_on("py-packaging@20:", when="@0.19:") | ||
depends_on("[email protected]:", when="@0.22:") | ||
depends_on("[email protected]:", when="@0.21:") | ||
depends_on("[email protected]:", when="@0.20:") | ||
|
||
depends_on("[email protected]:", 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("[email protected]:", when="@0.20:", type="build") | ||
depends_on("[email protected]:2", when="@0.19", type="build") | ||
depends_on("[email protected]:", when="@0.18", type="build") | ||
depends_on("[email protected]:", when="@0.17", type="build") | ||
depends_on("[email protected]:0.28.1,0.28.3:0.28,0.29.1:", when="@0.15:0.16", type="build") | ||
depends_on("[email protected]:0.28.1,0.28.3:0.28,0.29.1:", when="@0.14.3:0.14", type="build") | ||
depends_on("[email protected]:0.28.1", when="@0.14.2", type="build") | ||
depends_on("[email protected]:", when="@0.14.1", type="build") | ||
depends_on("[email protected]:", when="@0.12", type="build") | ||
depends_on("py-pythran", when="@0.19:", type="build") | ||
with default_args(type="build"): | ||
depends_on("[email protected]:", when="@0.22:") | ||
depends_on("[email protected]:", 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("[email protected]:", when="@0.21:") | ||
depends_on("[email protected]:", when="@0.20:") | ||
depends_on("[email protected]:2", when="@0.19") | ||
depends_on("[email protected]:", when="@0.18") | ||
depends_on("[email protected]:", when="@0.17") | ||
depends_on("[email protected]:0.28.1,0.28.3:0.28,0.29.1:", when="@0.15:0.16") | ||
depends_on("[email protected]:0.28.1,0.28.3:0.28,0.29.1:", when="@0.14.3:0.14") | ||
depends_on("[email protected]:0.28.1", when="@0.14.2") | ||
depends_on("[email protected]:", when="@0.14.1") | ||
depends_on("[email protected]:", when="@0.12") | ||
depends_on("py-pythran", when="@0.19:") | ||
|
||
# dependencies for old versions | ||
depends_on("[email protected]:", when="@0.13.0:0.13", type="build") | ||
depends_on("[email protected]: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("[email protected]:", when="@:0.18", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.14.0:0.14", type=("build", "run")) | ||
depends_on("[email protected]:", when="@:0.14", type=("build", "run")) | ||
depends_on("[email protected]:", 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("[email protected]:", when="@0.14.0:0.14.1", type=("build", "run")) | ||
depends_on("[email protected]:", when="@:0.13", type=("build", "run")) | ||
depends_on("[email protected]:", when="@0.14.0:0.14", type=("build", "run")) | ||
with default_args(type="build"): | ||
depends_on("[email protected]:", when="@0.13.0:0.13") | ||
|
||
with default_args(type=("build", "run")): | ||
depends_on("[email protected]:", when="@0.17:0.21") | ||
depends_on("[email protected]:", when="@0.13:0.16") | ||
depends_on("[email protected]:2,3.0.1:", when="@0.15:0.18") | ||
depends_on("py-matplotlib@2:", when="@0.14:0.18") | ||
depends_on("[email protected]:", when="@:0.18") | ||
depends_on("[email protected]:", when="@0.14.0:0.14") | ||
depends_on("[email protected]:", when="@:0.14") | ||
depends_on("[email protected]:", when="@0.17.0:0.17.1") | ||
depends_on("py-dask+array@1:", when="@0.14.2") | ||
depends_on("[email protected]:", when="@0.14.0:0.14.1") | ||
depends_on("[email protected]:", when="@:0.13") | ||
depends_on("[email protected]:", when="@0.14.0:0.14") | ||
|
||
def url_for_version(self, version): | ||
url = ( | ||
|