py-templateflow: add new package (#26458)

This commit is contained in:
Manuela Kuhn 2021-10-04 11:47:37 +02:00 committed by GitHub
parent 9926799aeb
commit 8bcbead42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,23 @@
# 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 PyTemplateflow(PythonPackage):
"""A python client to query TemplateFlow via pyBIDS."""
homepage = "https://github.com/templateflow/python-client"
pypi = "templateflow/templateflow-0.7.1.tar.gz"
version('0.7.1', sha256='c6e8282d1ffbb5dca7bd704a12e02bd00021860b71a043c35716861910c7187f')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools@40.9:', type='build')
depends_on('py-setuptools-scm+toml@3.4:', type='build')
depends_on('py-wheel', type='build')
depends_on('py-pybids@0.12.1:', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-tqdm', type=('build', 'run'))