From 5d0c7d4ba2c3cce32f134b7c7319e28defcb1899 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Tue, 20 Jul 2021 14:58:26 +0200 Subject: [PATCH] py-pybids: add new package (#24956) --- .../builtin/packages/py-pybids/package.py | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pybids/package.py diff --git a/var/spack/repos/builtin/packages/py-pybids/package.py b/var/spack/repos/builtin/packages/py-pybids/package.py new file mode 100644 index 0000000000..2706af23cd --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pybids/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 PyPybids(PythonPackage): + """bids: interface with datasets conforming to BIDS""" + + homepage = "http://github.com/bids-standard/pybids" + pypi = "pybids/pybids-0.13.1.tar.gz" + + version('0.13.1', sha256='c920e1557e1dae8b671625d70cafbdc28437ba2822b2db9da4c2587a7625e3ba') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools@30.3.0:', type='build') + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-scipy', type=('build', 'run')) + depends_on('py-nibabel@2.1:', type=('build', 'run')) + depends_on('py-pandas@0.23:', type=('build', 'run')) + depends_on('py-patsy', type=('build', 'run')) + depends_on('py-sqlalchemy@:1.3.999', type=('build', 'run')) + depends_on('py-bids-validator', type=('build', 'run')) + depends_on('py-num2words', type=('build', 'run')) + depends_on('py-click', type=('build', 'run'))