summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChristopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com>2024-03-25 23:45:13 +0000
committerGitHub <noreply@github.com>2024-03-25 16:45:13 -0700
commit899bef2aa889109bfeae466e8e48735f51176fd2 (patch)
tree3925da082f992117cc58ea10eb5d4f1b57cdcc62 /var
parentf0f092d9f115e64933b2f3d283e99a17a0c4952e (diff)
downloadspack-899bef2aa889109bfeae466e8e48735f51176fd2.tar.gz
spack-899bef2aa889109bfeae466e8e48735f51176fd2.tar.bz2
spack-899bef2aa889109bfeae466e8e48735f51176fd2.tar.xz
spack-899bef2aa889109bfeae466e8e48735f51176fd2.zip
py-nilearn: add new version (#43332)
* py-nilearn: add new version * add maintainers and license
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nilearn/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-nilearn/package.py b/var/spack/repos/builtin/packages/py-nilearn/package.py
index b98c4bc749..ea5884fa6b 100644
--- a/var/spack/repos/builtin/packages/py-nilearn/package.py
+++ b/var/spack/repos/builtin/packages/py-nilearn/package.py
@@ -13,6 +13,11 @@ class PyNilearn(PythonPackage):
pypi = "nilearn/nilearn-0.7.1.tar.gz"
git = "https://github.com/nilearn/nilearn"
+ maintainers("ChristopherChristofi")
+
+ license("BSD")
+
+ version("0.10.3", sha256="77819331314c4ca5c15c07634f69f855fafdf9add051b1882e3a600ad52757d8")
version("0.10.1", sha256="928a364e7ed77d15d02b7f227197ea7c78f44f2fe780feb555d6d7cf9232f846")
version("0.10.0", sha256="cc7f1068e038076527ead1bd363436f88f5e8d21e8bb57b323b30b926fc7553a")
version("0.9.2", sha256="8da8d3835d92cd7b8a6cc92455a489d7e7f5994cf64fc71bce653e362773b9e4")
@@ -23,8 +28,6 @@ class PyNilearn(PythonPackage):
version("0.6.2", sha256="cfc6cfda59a6f4247189f8ccf92e364de450460a15c0ec21bdb857c420dd198c")
version("0.4.2", sha256="5049363eb6da2e7c35589477dfc79bf69929ca66de2d7ed2e9dc07acf78636f4")
- depends_on("python@3.7:", when="@0.10:", type=("build", "run"))
-
depends_on("py-hatchling", when="@0.10.1:", type="build")
depends_on("py-hatch-vcs", when="@0.10.1:", type="build")
depends_on("py-setuptools", when="@:0.10.0", type="build")
@@ -36,6 +39,7 @@ class PyNilearn(PythonPackage):
depends_on("py-joblib@0.12:", when="@0.7:", type=("build", "run"))
depends_on("py-joblib@0.11:", when="@0.6:", type=("build", "run"))
depends_on("py-lxml", when="@0.9.1:", type=("build", "run"))
+ depends_on("py-nibabel@4.0.0:", when="@0.10.3:", type=("build", "run"))
depends_on("py-nibabel@3.2:", when="@0.10:", type=("build", "run"))
depends_on("py-nibabel@3:", when="@0.9.1:", type=("build", "run"))
depends_on("py-nibabel@2.5:", when="@0.8:", type=("build", "run"))
@@ -60,6 +64,7 @@ class PyNilearn(PythonPackage):
# older py-nilearn versions use import sklearn.external.joblib which was
# deprecated in py-scikit-learn@0.23:
depends_on("py-scikit-learn@0.15:0.22", when="@:0.5", type=("build", "run"))
+ depends_on("py-scipy@1.8:", when="@0.10.3:", type=("build", "run"))
depends_on("py-scipy@1.6:", when="@0.10:", type=("build", "run"))
depends_on("py-scipy@1.5:", when="@0.9.1:", type=("build", "run"))
depends_on("py-scipy@1.2:", when="@0.8:", type=("build", "run"))