summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-10-12 18:22:00 +0200
committerGitHub <noreply@github.com>2021-10-12 11:22:00 -0500
commitf8910c7859132aa2e1cf6a49571effb33e608f47 (patch)
tree11ba85618bb9836f26380205c2d70cea92c09426 /var
parente168320bb1653b5e1c2d40edb6867746db5e28f0 (diff)
downloadspack-f8910c7859132aa2e1cf6a49571effb33e608f47.tar.gz
spack-f8910c7859132aa2e1cf6a49571effb33e608f47.tar.bz2
spack-f8910c7859132aa2e1cf6a49571effb33e608f47.tar.xz
spack-f8910c7859132aa2e1cf6a49571effb33e608f47.zip
py-nistats: add new package (#26662)
* py-nistats: add new package * Update var/spack/repos/builtin/packages/py-nistats/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * remove `conflicts` * remove test dependencies Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-nistats/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-nistats/package.py b/var/spack/repos/builtin/packages/py-nistats/package.py
new file mode 100644
index 0000000000..332dbfcb7d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nistats/package.py
@@ -0,0 +1,28 @@
+# 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 PyNistats(PythonPackage):
+ """Modeling and Statistical analysis of fMRI data in Python."""
+
+ homepage = "https://github.com/nilearn/nistats"
+ pypi = "nistats/nistats-0.0.1rc0.tar.gz"
+
+ version('0.0.1rc0', sha256='dcc4c4e410f542fd72e02e12b3b6531851bae2680d08ad29658b272587ef2f98')
+ version('0.0.1b2', sha256='a853149087bafbf1bed12664ed8889a63ff15dde1fb7a9d51e8a094afc8d695d')
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.11:', type=('build', 'run'))
+ depends_on('py-scipy@0.17:', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.18:', type=('build', 'run'))
+ depends_on('py-nibabel@2.0.2:', type=('build', 'run'))
+ # needs +plotting to avoid ModuleNotFoundError:
+ # 'nilearn.plotting.js_plotting_utils' when importing nistats.reporting
+ # Functionality has been incorporated into py-nilearn@0.7:
+ depends_on('py-nilearn+plotting@0.4:0.6', type=('build', 'run'))
+ depends_on('py-pandas@0.18:', type=('build', 'run'))