summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-nipype/package.py
blob: a1ae411dc5471d5b2271da92c3026045ba766f56 (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
# 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 PyNipype(PythonPackage):
    """Neuroimaging in Python: Pipelines and Interfaces."""

    homepage = "https://github.com/nipy/nipype"
    pypi = "nipype/nipype-1.6.0.tar.gz"

    license("Apache-2.0")

    version("1.8.6", sha256="977b1315e8f70f94163ec07e31e5571be83f2add6023141c5a06ac700126f8d1")
    version("1.8.5", sha256="e3842743fb660464dd29de73dcfc9ef66d273be10bcc64059ff21cd5ef1e9655")
    version("1.7.0", sha256="e689fe2e5049598c9cd3708e8df1cac732fa1a88696f283e3bc0a70fecb8ab51")
    version("1.6.1", sha256="8428cfc633d8e3b8c5650e241e9eedcf637b7969bcd40f3423334d4c6b0992b5")
    version("1.6.0", sha256="bc56ce63f74c9a9a23c6edeaf77631377e8ad2bea928c898cc89527a47f101cf")
    version("1.4.2", sha256="069dcbb0217f13af6ee5a7f1e58424b9061290a3e10d7027d73bf44e26f820db")

    depends_on("python@3.7:", when="@1.8:", type=("build", "run"))

    depends_on("py-setuptools@30.3:", when="@1.7.1:", type="build")
    depends_on("py-setuptools", type="build")

    # dependencies are listed in nipype/info.py
    depends_on("py-click@6.6:", type=("build", "run"))
    depends_on("py-networkx@2:", when="@1.6:", type=("build", "run"))
    depends_on("py-networkx@1.9:", type=("build", "run"))
    depends_on("py-nibabel@2.1:", type=("build", "run"))
    depends_on("py-numpy@1.17:", when="@1.8:", type=("build", "run"))
    depends_on("py-numpy@1.15.3:", when="^python@3.7:", type=("build", "run"))
    depends_on("py-packaging", type=("build", "run"))
    depends_on("py-prov@1.5.2:", type=("build", "run"))
    depends_on("py-pydot@1.2.3:", type=("build", "run"))
    depends_on("py-pydotplus", when="@:1.5", type=("build", "run"))
    depends_on("py-python-dateutil@2.2:", type=("build", "run"))
    depends_on("py-rdflib@5:", when="@1.5:", type=("build", "run"))
    depends_on("py-scipy@0.14:", type=("build", "run"))
    depends_on("py-simplejson@3.8:", type=("build", "run"))
    depends_on("py-traits@4.6:4,5.1:6.3", when="@1.8.4:", type=("build", "run"))
    depends_on("py-traits@4.6:4,5.1:", when="@:1.8.3", type=("build", "run"))
    depends_on("py-filelock@3:", type=("build", "run"))
    depends_on("py-etelemetry@0.2:", when="@1.5:", type=("build", "run"))
    depends_on("py-etelemetry", type=("build", "run"))
    depends_on("py-looseversion", when="@1.8.1:", type=("build", "run"))

    skip_modules = ["nipype.sphinxext.apidoc"]