summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-06-30 00:04:28 +0200
committerGitHub <noreply@github.com>2021-06-29 16:04:28 -0600
commitcc1285c1e1580fd0d97b9b10ab32b2b22bcb8302 (patch)
tree52a9e1def2f0645e16e51140ecd59a9bbc139fca /var
parent304249604ab465dbfc3ee560884bf4a1460f1e34 (diff)
downloadspack-cc1285c1e1580fd0d97b9b10ab32b2b22bcb8302.tar.gz
spack-cc1285c1e1580fd0d97b9b10ab32b2b22bcb8302.tar.bz2
spack-cc1285c1e1580fd0d97b9b10ab32b2b22bcb8302.tar.xz
spack-cc1285c1e1580fd0d97b9b10ab32b2b22bcb8302.zip
py-nilearn: add 0.8.0 (#24583)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nilearn/package.py18
1 files changed, 13 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-nilearn/package.py b/var/spack/repos/builtin/packages/py-nilearn/package.py
index 1402d23646..34c305ad33 100644
--- a/var/spack/repos/builtin/packages/py-nilearn/package.py
+++ b/var/spack/repos/builtin/packages/py-nilearn/package.py
@@ -12,18 +12,26 @@ class PyNilearn(PythonPackage):
homepage = "http://nilearn.github.io/"
pypi = "nilearn/nilearn-0.7.1.tar.gz"
+ version('0.8.0', sha256='f2d3dc81005f829f3a183efa6c90d698ea6818c06264d2e3f03e805c4340febb')
version('0.7.1', sha256='8b1409a5e1f0f6d1a1f02555c2f11115a2364f45f1e57bcb5fb3c9ea11f346fa')
depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('python@3.6:', type=('build', 'run'), when='@0.8.0:')
depends_on('py-setuptools', type='build')
variant('plotting', default=False, description='Enable plotting functionalities')
- depends_on('py-numpy@1.11:', type=('build', 'run'))
- depends_on('py-scipy@0.19:', type=('build', 'run'))
- depends_on('py-scikit-learn@0.19:', type=('build', 'run'))
+ depends_on('py-numpy@1.16:', type=('build', 'run'), when='@0.8:')
+ depends_on('py-scipy@1.2:', type=('build', 'run'), when='@0.8:')
+ depends_on('py-scikit-learn@0.21:', type=('build', 'run'), when='@0.8:')
depends_on('py-joblib@0.12:', type=('build', 'run'))
- depends_on('py-nibabel@2.0.2:', type=('build', 'run'))
- depends_on('py-pandas@0.18.0:', type=('build', 'run'))
+ depends_on('py-nibabel@2.5:', type=('build', 'run'), when='@0.8:')
+ depends_on('py-pandas@0.24.0:', type=('build', 'run'), when='@0.8:')
depends_on('py-requests@2:', type=('build', 'run'))
depends_on('py-matplotlib@2.0:', type=('build', 'run'), when='+plotting')
+
+ depends_on('py-numpy@1.11:', type=('build', 'run'), when='@:0.7')
+ depends_on('py-scipy@0.19:', type=('build', 'run'), when='@:0.7')
+ depends_on('py-scikit-learn@0.19:', type=('build', 'run'), when='@:0.7')
+ depends_on('py-nibabel@2.0.2:', type=('build', 'run'), when='@:0.7')
+ depends_on('py-pandas@0.18.0:', type=('build', 'run'), when='@:0.7')