From d6fabd1533e436cebc94a74fd6d6716f152419fb Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Wed, 8 Jun 2022 19:03:18 +0200 Subject: py-glmsingle: add new package (#31043) --- .../repos/builtin/packages/py-glmsingle/package.py | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-glmsingle/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-glmsingle/package.py b/var/spack/repos/builtin/packages/py-glmsingle/package.py new file mode 100644 index 0000000000..857d164a93 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-glmsingle/package.py @@ -0,0 +1,38 @@ +# Copyright 2013-2022 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.package import * + + +class PyGlmsingle(PythonPackage): + """A toolbox for accurate single-trial estimates in fMRI time-series data.""" + + homepage = "https://github.com/cvnlab/GLMsingle" + url = "https://github.com/cvnlab/GLMsingle/archive/refs/tags/1.0.tar.gz" + git = "https://github.com/cvnlab/GLMsingle.git" + + version('main', branch='main') + version('1.0', sha256='0481f8ea7637d7e9cb53a7f22c73ba67b9fb8aefebc8c6c98bd4712de95db6aa') + + depends_on('py-setuptools', type='build') + + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-scikit-learn', type=('build', 'run')) + depends_on('py-matplotlib', type=('build', 'run')) + depends_on('py-twine', when='@:1', type=('build', 'run')) + depends_on('py-sphinx', when='@:1', type=('build', 'run')) + depends_on('py-seaborn', when='@:1', type=('build', 'run')) + depends_on('py-pybids@0.8.0', when='@:1', type=('build', 'run')) + depends_on('py-duecredit', when='@:1', type=('build', 'run')) + depends_on('py-ww', when='@:1', type=('build', 'run')) + depends_on('py-numba', when='@:1', type=('build', 'run')) + depends_on('py-tqdm', type=('build', 'run')) + depends_on('py-joblib', type=('build', 'run')) + depends_on('py-datalad', type=('build', 'run')) + depends_on('py-imageio', type=('build', 'run')) + depends_on('py-fracridge', type=('build', 'run')) + depends_on('py-nibabel', when='@main', type=('build', 'run')) + depends_on('py-h5py', when='@main', type=('build', 'run')) -- cgit v1.2.3-60-g2f50