py-dcm2bids: add v3.1.0 (#40447)

* py-dcm2bids: add 3.1.0

* Fix python restriction
This commit is contained in:
Manuela Kuhn 2023-10-20 13:56:48 +02:00 committed by GitHub
parent 00ee72396f
commit 5b9b5eaa28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,11 +13,15 @@ class PyDcm2bids(PythonPackage):
homepage = "https://github.com/unfmontreal/Dcm2Bids"
pypi = "dcm2bids/dcm2bids-2.1.9.tar.gz"
version("3.1.0", sha256="53a8a177d556df897e19d72bd517fdae0245927a8938bb9fbbd51f9f33f54f84")
version("2.1.9", sha256="d962bd0a7f1ed200ecb699e8ddb29ff58f09ab2f850a7f37511b79c62189f715")
depends_on("python@3.7:", type=("build", "run"))
depends_on("python@3.8:", when="@3:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-scm", type="build")
depends_on("py-future@0.17.1:", type=("build", "run"))
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"))