diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2021-10-12 04:36:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 21:36:43 -0500 |
commit | eb486371b2c1aa507fbd70b7b3dbec81ee087a40 (patch) | |
tree | 50c3857e4339a74552ceb8ac10e4fc903c336d1d | |
parent | 0da892f2dd359d168d011ec0ab9430bc31eedd54 (diff) | |
download | spack-eb486371b2c1aa507fbd70b7b3dbec81ee087a40.tar.gz spack-eb486371b2c1aa507fbd70b7b3dbec81ee087a40.tar.bz2 spack-eb486371b2c1aa507fbd70b7b3dbec81ee087a40.tar.xz spack-eb486371b2c1aa507fbd70b7b3dbec81ee087a40.zip |
py-pysurfer: add new package (#26638)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pysurfer/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pysurfer/package.py b/var/spack/repos/builtin/packages/py-pysurfer/package.py new file mode 100644 index 0000000000..01fbd46da4 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pysurfer/package.py @@ -0,0 +1,27 @@ +# 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 PyPysurfer(PythonPackage): + """Cortical neuroimaging visualization in Python.""" + + homepage = "https://github.com/nipy/PySurfer" + pypi = "pysurfer/pysurfer-0.11.0.tar.gz" + + version('0.11.0', sha256='ae709b6f933694f1810eb3c8f517bdb76c13576d74a7a5a1704e05239df0a179') + + variant('save_movie', default=False, description='Enable save_movie support') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-matplotlib', type=('build', 'run')) + depends_on('py-nibabel@1.2:', type=('build', 'run')) + depends_on('py-mayavi', type=('build', 'run')) + + depends_on('py-imageio@1.5:', when='+save_movie', type=('build', 'run')) |