py-pydicom: add 2.4.1 (#38504)

This commit is contained in:
Manuela Kuhn 2023-06-21 17:30:47 +02:00 committed by GitHub
parent 5ce45e0cee
commit 6ae358edd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,11 +15,16 @@ class PyPydicom(PythonPackage):
homepage = "https://github.com/pydicom/pydicom"
pypi = "pydicom/pydicom-2.1.2.tar.gz"
version("2.4.1", sha256="6cb210dbe5586841036e8eeb2d4feb4df22a48f39161ba7ee0bf3c89faaba946")
version("2.3.0", sha256="dbfa081c9ad9ac8ff8a8efbd71784104db9eecf02fd775f7d7773f2183f89386")
version("2.1.2", sha256="65f36820c5fec24b4e7ca45b7dae93e054ed269d55f92681863d39d30459e2fd")
variant("numpy", default=False, description="Use NumPy for Pixel data")
depends_on("python@3.7:", when="@2.4:", type=("build", "run"))
depends_on("python@3.6.1:", type=("build", "run"))
depends_on("py-setuptools", type=("build", "run"))
depends_on("py-flit-core@3.2:3", when="@2.4:", type=("build", "run"))
depends_on("py-numpy", when="+numpy", type="run")
# Historical dependencies
depends_on("py-setuptools", when="@:2.3", type=("build", "run"))