commit:     1588e5df8b55124c02801f8872ae2b7fa927ffc5
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon May 22 11:03:38 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon May 22 11:03:38 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=1588e5df

sci-libs/pydicom: add 2.3.1

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-libs/pydicom/pydicom-2.3.1.ebuild | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/sci-libs/pydicom/pydicom-2.3.1.ebuild 
b/sci-libs/pydicom/pydicom-2.3.1.ebuild
new file mode 100644
index 000000000..a767c2d03
--- /dev/null
+++ b/sci-libs/pydicom/pydicom-2.3.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A pure python package for parsing DICOM files"
+HOMEPAGE="http://www.pydicom.org/";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+# Upstream bug: https://github.com/pydicom/pydicom/issues/663
+RESTRICT="test"
+
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+python_test() {
+       distutils-r1_install_for_testing
+       py.test -r sx --pyargs pydicom --verbose || die
+}

Reply via email to