1 |
commit: 18aaa9f314ed173897168c6a4d934edfaed12951 |
2 |
Author: Miezhiko <Miezhiko <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jan 18 07:24:25 2022 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jan 18 16:03:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=18aaa9f3 |
7 |
|
8 |
sci-libs/pydicom: update to 2.2.2, py3.10 support |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Miezhiko <Miezhiko <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/sci/pull/1139 |
13 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
14 |
|
15 |
sci-libs/pydicom/pydicom-2.2.2.ebuild | 27 +++++++++++++++++++++++++++ |
16 |
1 file changed, 27 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/pydicom/pydicom-2.2.2.ebuild b/sci-libs/pydicom/pydicom-2.2.2.ebuild |
19 |
new file mode 100644 |
20 |
index 000000000..f36be3a78 |
21 |
--- /dev/null |
22 |
+++ b/sci-libs/pydicom/pydicom-2.2.2.ebuild |
23 |
@@ -0,0 +1,27 @@ |
24 |
+# Copyright 1999-2022 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=8 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{7..10} ) |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="A pure python package for parsing DICOM files" |
34 |
+HOMEPAGE="http://www.pydicom.org/" |
35 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="MIT" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+IUSE="test" |
41 |
+ |
42 |
+# Upstream bug: https://github.com/pydicom/pydicom/issues/663 |
43 |
+RESTRICT="test" |
44 |
+ |
45 |
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
46 |
+ |
47 |
+python_test() { |
48 |
+ distutils-r1_install_for_testing |
49 |
+ py.test --cov=pydicom -r sx --pyargs pydicom --verbose || die |
50 |
+} |