summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2024-08-01 10:53:41 +0200
committerGitHub <noreply@github.com>2024-08-01 10:53:41 +0200
commit475fe9977a8eb4716e86f131c7d954b0904f31ca (patch)
tree2676d9d4584ad57f2d9931bc48b2ef7c94e1c244
parentb86e42a5aa3bc838ded0604fd70e3392768f632d (diff)
downloadspack-475fe9977a8eb4716e86f131c7d954b0904f31ca.tar.gz
spack-475fe9977a8eb4716e86f131c7d954b0904f31ca.tar.bz2
spack-475fe9977a8eb4716e86f131c7d954b0904f31ca.tar.xz
spack-475fe9977a8eb4716e86f131c7d954b0904f31ca.zip
py-rsatoolbox: add v0.1.5 (#45484)
-rw-r--r--var/spack/repos/builtin/packages/py-rsatoolbox/package.py21
1 files changed, 12 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-rsatoolbox/package.py b/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
index 9c84fb749f..ce3c54c7d0 100644
--- a/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
+++ b/var/spack/repos/builtin/packages/py-rsatoolbox/package.py
@@ -16,21 +16,23 @@ class PyRsatoolbox(PythonPackage):
license("MIT")
version("main", branch="main")
+ version("0.1.5", sha256="439839fb20e2efa0c7c975ad305df8995a509ed3426ad0384ebfff20663fd58b")
version("0.1.2", sha256="2d091cbaa33373bf9da4df5ca8d127f0e427431a3db726076090ab2d54fe1213")
version("0.1.0", sha256="245f909d31909ba896b765fa51ea019510dd690c6bb8d04b178a9c76ec36dce9")
version("0.0.5", sha256="7ede9309755a6173c26f08fd36fa436a11993c7ae0fa9fce05f38be7af0dc6eb")
version("0.0.4", sha256="84153fa4c686c95f3e83f2cb668b97b82b53dc2a565856db80aa5f8c96d09359")
version("0.0.3", sha256="9bf6e16d9feadc081f9daaaaab7ef38fc1cd64dd8ef0ccd9f74adb5fe6166649")
- depends_on("python@:3.10", when="@:0.1.2", type=("build", "run"))
+ depends_on("python@3.8:", type=("build", "run"), when="@0.1.5:")
+ depends_on("python@:3.10", type=("build", "run"), when="@:0.1.2")
- # version restriction from pyproject.toml cannot be concretized at the
- # moment but package also builds with older versions
+ depends_on("py-setuptools@68:", type="build", when="@0.1.5:")
depends_on("py-setuptools", type="build")
- depends_on("py-setuptools-scm+toml@7.0", when="@0.0.5:", type="build")
- # version restriction: same as for py-setuptools
- depends_on("py-cython", when="@0.0.5:", type="build")
- depends_on("py-twine@4.0.1:4.0", when="@0.0.5:", type="build")
+ depends_on("py-setuptools-scm+toml@8.0:", type="build", when="@0.1.5:")
+ depends_on("py-setuptools-scm+toml@7.0", type="build", when="@0.0.5:0.1.4")
+ depends_on("py-cython@3", type="build", when="@0.0.5:")
+ depends_on("py-twine@4.0.1:", type="build", when="@0.1.5:")
+ depends_on("py-twine@4.0.1:4.0", type="build", when="@0.0.5:0.1.4")
depends_on("py-numpy@1.21.2:", type=("build", "run"))
depends_on("py-scipy", type=("build", "run"))
@@ -41,10 +43,11 @@ class PyRsatoolbox(PythonPackage):
depends_on("py-h5py", type=("build", "run"))
depends_on("py-tqdm", type=("build", "run"))
depends_on("py-joblib", type=("build", "run"))
+ depends_on("py-importlib-resources@5.12:", type=("build", "run"), when="^python@:3.8")
# old dependcies
- depends_on("py-coverage", when="@:0.1.1", type=("build", "run"))
- depends_on("py-petname@2.2", when="@0.0.4", type=("build", "run"))
+ depends_on("py-coverage", type=("build", "run"), when="@:0.1.1")
+ depends_on("py-petname@2.2", type=("build", "run"), when="@0.0.4")
@when("@:0.0.3")
def patch(self):