commit:     18aaa9f314ed173897168c6a4d934edfaed12951
Author:     Miezhiko <Miezhiko <AT> gmail <DOT> com>
AuthorDate: Tue Jan 18 07:24:25 2022 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jan 18 16:03:19 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=18aaa9f3

sci-libs/pydicom: update to 2.2.2, py3.10 support

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miezhiko <Miezhiko <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1139
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

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

diff --git a/sci-libs/pydicom/pydicom-2.2.2.ebuild 
b/sci-libs/pydicom/pydicom-2.2.2.ebuild
new file mode 100644
index 000000000..f36be3a78
--- /dev/null
+++ b/sci-libs/pydicom/pydicom-2.2.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A pure python package for parsing DICOM files"
+HOMEPAGE="http://www.pydicom.org/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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 --cov=pydicom -r sx --pyargs pydicom --verbose || die
+}

Reply via email to