summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-05-31 23:36:23 +0200
committerGitHub <noreply@github.com>2021-05-31 16:36:23 -0500
commit647bee732c283457eee836bf11fcc77cc23fc862 (patch)
treee895b54a7810ad304d47df2b494aaca5e2da75fd
parent9d0b8208e46df09d64ec425e6852c50d4d30980a (diff)
downloadspack-647bee732c283457eee836bf11fcc77cc23fc862.tar.gz
spack-647bee732c283457eee836bf11fcc77cc23fc862.tar.bz2
spack-647bee732c283457eee836bf11fcc77cc23fc862.tar.xz
spack-647bee732c283457eee836bf11fcc77cc23fc862.zip
py-nibabel: add new package (#24036)
-rw-r--r--var/spack/repos/builtin/packages/py-nibabel/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nibabel/package.py b/var/spack/repos/builtin/packages/py-nibabel/package.py
new file mode 100644
index 0000000000..e2d8be7e8f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nibabel/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyNibabel(PythonPackage):
+ """Access a multitude of neuroimaging data formats"""
+
+ homepage = "https://nipy.org/nibabel"
+ pypi = "nibabel/nibabel-3.2.1.tar.gz"
+
+ version('3.2.1', sha256='4d2ff9426b740011a1c916b54fc25da9348282e727eaa2ea163f42e00f1fc29e')
+
+ depends_on('python@3.6:', 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')