1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 2013-2023 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 PyDcm2bids(PythonPackage):
"""Reorganising NIfTI files from dcm2niix into the Brain Imaging Data
Structure."""
homepage = "https://github.com/unfmontreal/Dcm2Bids"
pypi = "dcm2bids/dcm2bids-2.1.9.tar.gz"
license("GPL-3.0-only")
version("3.1.0", sha256="53a8a177d556df897e19d72bd517fdae0245927a8938bb9fbbd51f9f33f54f84")
version("2.1.9", sha256="d962bd0a7f1ed200ecb699e8ddb29ff58f09ab2f850a7f37511b79c62189f715")
depends_on("python@3.8:", when="@3:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-packaging@23.1:", when="@3:", type=("build", "run"))
depends_on("dcm2niix", type=("build", "run"))
# Historical dependencies
depends_on("py-setuptools-scm", when="@2", type="build")
depends_on("py-future@0.17.1:", when="@2", type=("build", "run"))
|