py-nilearn: add new version (#43332)

* py-nilearn: add new version
* add maintainers and license
This commit is contained in:
Christopher Christofi 2024-03-25 23:45:13 +00:00 committed by GitHub
parent f0f092d9f1
commit 899bef2aa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"))