summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nibabel/package.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-nibabel/package.py b/var/spack/repos/builtin/packages/py-nibabel/package.py
index e2d8be7e8f..38dd7922ff 100644
--- a/var/spack/repos/builtin/packages/py-nibabel/package.py
+++ b/var/spack/repos/builtin/packages/py-nibabel/package.py
@@ -13,8 +13,12 @@ class PyNibabel(PythonPackage):
pypi = "nibabel/nibabel-3.2.1.tar.gz"
version('3.2.1', sha256='4d2ff9426b740011a1c916b54fc25da9348282e727eaa2ea163f42e00f1fc29e')
+ version('2.4.1', sha256='f165ff1cb4464902d6594eb2694e2cfb6f8b9fe233b856c976c3cff623ee0e17')
- depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('python@3.6:', when='@3.1', type=('build', 'run'))
depends_on('py-setuptools@30.3.0:', type=('build', 'run'))
- depends_on('py-numpy@1.14:', type='run')
- depends_on('py-packaging@14.3:', type='run')
+ depends_on('py-numpy@1.14:', when='@3.2:', type='run')
+ depends_on('py-numpy@1.8:', type='run')
+ depends_on('py-packaging@14.3:', when='@3.1:', type='run')
+ depends_on('py-six@1.3:', when='@:2.5', type='run')
+ depends_on('py-bz2file', when='@:2.5 ^python@:2', type='run')