summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2023-04-27 02:58:57 +0200
committerGitHub <noreply@github.com>2023-04-26 20:58:57 -0400
commit62ea6bed89f2c34fc262f88b790fd17dcc620fb1 (patch)
treec77f6febaf57b0ba3b407af7d607620b7c203f78 /var
parent742fbd458d71201a1c79f9c5a06761945b15078b (diff)
downloadspack-62ea6bed89f2c34fc262f88b790fd17dcc620fb1.tar.gz
spack-62ea6bed89f2c34fc262f88b790fd17dcc620fb1.tar.bz2
spack-62ea6bed89f2c34fc262f88b790fd17dcc620fb1.tar.xz
spack-62ea6bed89f2c34fc262f88b790fd17dcc620fb1.zip
py-bidscoin: add 4.0.0 and py-pydeface as new deb package (#37231)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-bidscoin/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pydeface/package.py22
2 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-bidscoin/package.py b/var/spack/repos/builtin/packages/py-bidscoin/package.py
index 2778815cf2..3c840f6971 100644
--- a/var/spack/repos/builtin/packages/py-bidscoin/package.py
+++ b/var/spack/repos/builtin/packages/py-bidscoin/package.py
@@ -13,9 +13,11 @@ class PyBidscoin(PythonPackage):
homepage = "https://github.com/Donders-Institute/bidscoin"
pypi = "bidscoin/bidscoin-3.7.4.tar.gz"
+ version("4.0.0", sha256="3b0c26f2e250e06b6f526cdbee09517e1f339da8035c0a316609b4463d75824d")
version("3.7.4", sha256="efa32238fb7b75e533e7f5cc318ad5a703716d291985435d43f1de4f18402517")
depends_on("python@3.8:", type=("build", "run"))
+ depends_on("py-setuptools@61:", when="@4:", type="build")
depends_on("py-setuptools", type="build")
depends_on("py-pytest-runner", type="build")
@@ -26,8 +28,12 @@ class PyBidscoin(PythonPackage):
depends_on("py-pyqt5@5.12.1:", type=("build", "run"))
depends_on("py-ruamel-yaml@0.15.35:", type=("build", "run"))
depends_on("py-coloredlogs", type=("build", "run"))
+ depends_on("py-tqdm@4.60:", when="@4:", type=("build", "run"))
depends_on("py-tqdm", type=("build", "run"))
depends_on("py-multiecho@0.25:", type=("build", "run"))
depends_on("py-python-dateutil", type=("build", "run"))
depends_on("py-nibabel", type=("build", "run"))
+ depends_on("py-bids-validator", when="@4:", type=("build", "run"))
+ depends_on("py-pydeface", when="@4:", type=("build", "run"))
+ depends_on("py-pytest", when="@4:", type=("build", "run"))
depends_on("dcm2niix", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-pydeface/package.py b/var/spack/repos/builtin/packages/py-pydeface/package.py
new file mode 100644
index 0000000000..0727c5978c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pydeface/package.py
@@ -0,0 +1,22 @@
+# 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 PyPydeface(PythonPackage):
+ """A script to remove facial structure from MRI images."""
+
+ homepage = "http://poldracklab.org/"
+ pypi = "pydeface/pydeface-2.0.2.tar.gz"
+ git = "https://github.com/poldracklab/pydeface"
+
+ version("2.0.2", sha256="662263072ccccff9929432568caf5c183075f7fbf8f9d5c170767c3202c78f36")
+
+ depends_on("py-setuptools", type=("build", "run"))
+
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-nibabel", type=("build", "run"))
+ depends_on("py-nipype", type=("build", "run"))