summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pybids/package.py
blob: 0878ce575de359e0d27c8bbafe3babc8f2959fe1 (plain) (blame)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 2013-2024 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 PyPybids(PythonPackage):
    """bids: interface with datasets conforming to BIDS"""

    homepage = "https://github.com/bids-standard/pybids"
    pypi = "pybids/pybids-0.13.1.tar.gz"

    license("MIT")

    version("0.16.3", sha256="10e279350c8d14ca602c0d4469a5e4bf7ff393e8643c831a546ae735b6b82cc3")
    version("0.16.1", sha256="1a6ab06d375f3b783e738826e6d220b2f4145419b4b02f4edbcc8cb7c9b2208a")
    version("0.15.3", sha256="4d99c979bc4bc209cff70a02d1da309c9bf8c6b0338e2a0b66ebea77c7f3c461")
    version("0.15.1", sha256="0253507a04dbfea43eb1f75a1f71aab04be21076bfe96c004888000b802e38f2")
    version("0.14.0", sha256="73c4d03aad333f2a7cb4405abe96f55a33cffa4b5a2d23fad6ac5767c45562ef")
    version("0.13.2", sha256="9692013af3b86b096b5423b88179c6c9b604baff5a6b6f89ba5f40429feb7a3e")
    version("0.13.1", sha256="c920e1557e1dae8b671625d70cafbdc28437ba2822b2db9da4c2587a7625e3ba")
    version("0.9.5", sha256="0e8f8466067ff3023f53661c390c02702fcd5fe712bdd5bf167ffb0c2b920430")
    version("0.8.0", sha256="fe60fa7d1e171e75a38a04220ed992f1b062531a7452fcb7ce5ba81bb6abfdbc")

    depends_on("python@3.8:", when="@0.16:", type=("build", "run"))
    depends_on("py-setuptools", when="@0.15.6:", type="build")
    depends_on("py-setuptools@30.3:60,61.0.1:", when="@:0.15.5", type="build")
    depends_on("py-versioneer+toml", when="@0.15.6:", type="build")

    depends_on("py-numpy@1.19:", when="@0.16:", type=("build", "run"))
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-scipy@1.5:", when="@0.16:", type=("build", "run"))
    depends_on("py-scipy", type=("build", "run"))
    depends_on("py-nibabel@3:", when="@0.16:", type=("build", "run"))
    depends_on("py-nibabel@2.1:", type=("build", "run"))
    depends_on("py-pandas@0.25.2:", when="@0.16:", type=("build", "run"))
    depends_on("py-pandas@0.23:", type=("build", "run"))
    depends_on("py-formulaic@0.2.4:0.5", when="@0.15.6:", type=("build", "run"))
    depends_on("py-formulaic@0.2.4:0.3", when="@0.15.1:0.15.5", type=("build", "run"))
    depends_on("py-formulaic@0.2.4:0.2", when="@0.14:0.15.0", type=("build", "run"))
    depends_on("py-sqlalchemy@1.3.16:", when="@0.16:", type=("build", "run"))
    depends_on("py-sqlalchemy@:1.3", when="@0.12.4:", type=("build", "run"))
    depends_on("py-sqlalchemy", type=("build", "run"))
    depends_on("py-bids-validator@1.11:", when="@0.16:", type=("build", "run"))
    depends_on("py-bids-validator", type=("build", "run"))
    depends_on("py-num2words@0.5.5:", when="@0.16:", type=("build", "run"))
    depends_on("py-num2words", type=("build", "run"))
    depends_on("py-click@8:", when="@0.15.2:", type=("build", "run"))
    depends_on("py-click", when="@0.12.1:", type=("build", "run"))

    # Historical dependencies
    depends_on("py-patsy", when="@:0.13", type=("build", "run"))