summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-10-13 23:59:46 +0200
committerGitHub <noreply@github.com>2021-10-13 16:59:46 -0500
commit0227fc3ddc4aead6b7e39b604af342c0f4840c2e (patch)
treee6a45fc7b4d42d1fa2baeb0b909bbef223265f0d
parent7c8c29a231dae29d102893b8bff21a83849e3e7d (diff)
downloadspack-0227fc3ddc4aead6b7e39b604af342c0f4840c2e.tar.gz
spack-0227fc3ddc4aead6b7e39b604af342c0f4840c2e.tar.bz2
spack-0227fc3ddc4aead6b7e39b604af342c0f4840c2e.tar.xz
spack-0227fc3ddc4aead6b7e39b604af342c0f4840c2e.zip
py-mne: add full variant (#26702)
-rw-r--r--var/spack/repos/builtin/packages/py-mne/package.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mne/package.py b/var/spack/repos/builtin/packages/py-mne/package.py
index 6918cfffe2..9f6b4522f9 100644
--- a/var/spack/repos/builtin/packages/py-mne/package.py
+++ b/var/spack/repos/builtin/packages/py-mne/package.py
@@ -15,6 +15,8 @@ class PyMne(PythonPackage):
version('0.23.4', sha256='ecace5caacf10961ebb74cc5e0ead4d4dbc55fed006eab1e644da144092354e9')
version('0.18.2', sha256='aa2e72ad3225efdad39b05e67cd5c88dbd5c3fabf5e1705e459347131f114bc6')
+ variant('full', default=False, description="Enable full functionality.")
+
depends_on('python@3.6:', when='@0.23:', type=('build', 'run'))
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
@@ -25,3 +27,42 @@ class PyMne(PythonPackage):
depends_on('py-scipy@0.17.1:', type=('build', 'run'))
depends_on('py-tqdm', type='test')
+
+ with when('+full'):
+ # requirements.txt with versions specified in README.rst (marked with *)
+ depends_on('py-matplotlib@3.0.3:', type=('build', 'run')) # *
+ depends_on('py-pyqt5@5.10:,:5.15.1,5.15.4:', when='platform=linux', type=('build', 'run'))
+ depends_on('py-pyqt5@5.10:,:5.13', when='platform=darwin', type=('build', 'run'))
+ depends_on('py-pyqt5@5.10:,:5.15.2,5.15.4:', when='platform=cray', type=('build', 'run'))
+ depends_on('py-pyqt5@5.10:,:5.15.2,5.15.4:', when='platform=win32', type=('build', 'run'))
+ depends_on('py-pyqt5-sip', type=('build', 'run'))
+ depends_on('py-sip', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.20.2:', type=('build', 'run')) # *
+ depends_on('py-nibabel@2.1.0:', type=('build', 'run')) # *
+ depends_on('py-numba@0.40:', type=('build', 'run')) # *
+ depends_on('py-h5py', type=('build', 'run'))
+ depends_on('py-pandas@0.23.4:', type=('build', 'run')) # *
+ depends_on('py-numexpr', type=('build', 'run'))
+ depends_on('py-jupyter', type=('build', 'run'))
+ depends_on('py-python-picard@0.3:', type=('build', 'run')) # *
+ depends_on('py-statsmodels', type=('build', 'run'))
+ depends_on('py-joblib', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))
+ depends_on('py-dipy@0.10.1:', type=('build', 'run')) # *
+ depends_on('vtk+python', type=('build', 'run'))
+ depends_on('vtk+python@:8.1', when='platform=darwim', type=('build', 'run'))
+ depends_on('py-mayavi', type=('build', 'run'))
+ depends_on('py-pysurfer+save_movie', type=('build', 'run'))
+ depends_on('py-nilearn', type=('build', 'run'))
+ depends_on('py-xlrd', type=('build', 'run'))
+ depends_on('py-imageio@2.6.1:', type=('build', 'run')) # *
+ depends_on('py-imageio-ffmpeg@0.4.1:', type=('build', 'run'))
+ depends_on('py-pyvista@0.24:', type=('build', 'run')) # *
+ depends_on('py-pyvistaqt@0.2.0:', type=('build', 'run')) # *
+ depends_on('py-tqdm', type=('build', 'run'))
+ depends_on('py-mffpy@0.5.7:', type=('build', 'run')) # *
+ depends_on('py-ipywidgets', type=('build', 'run'))
+ depends_on('py-ipyvtk-simple', type=('build', 'run'))
+
+ # README.rst
+# depends_on('py-cupy@4.0:', type=('build', 'run')) # not yet in spack