commit: 30ddc7073aedc75ef55ea9a52c0af765ae03bad0
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon Jul 11 13:37:10 2022 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon Jul 11 13:37:10 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=30ddc707
sci-biology/dcmstack: fixed tests and bumped EAPI/PYTHON_COMPAt
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
sci-biology/dcmstack/dcmstack-0.8.ebuild | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/sci-biology/dcmstack/dcmstack-0.8.ebuild
b/sci-biology/dcmstack/dcmstack-0.8.ebuild
index de4dfde54..0ac8519b7 100644
--- a/sci-biology/dcmstack/dcmstack-0.8.ebuild
+++ b/sci-biology/dcmstack/dcmstack-0.8.ebuild
@@ -1,15 +1,18 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="DICOM to Nifti coversion"
HOMEPAGE="https://dcmstack.readthedocs.org/en/latest/"
-SRC_URI="https://github.com/moloney/dcmstack/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+SRC_URI="
+ https://github.com/moloney/dcmstack/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://resources.chymera.eu/patches/dcmstack-0.8-pytest.patch
+"
EGIT_REPO_URI="https://github.com/moloney/dcmstack"
LICENSE="MIT"
@@ -22,4 +25,6 @@ RDEPEND="
sci-libs/pydicom[${PYTHON_USEDEP}]
"
-distutils_enable_tests setup.py
+PATCHES=( "${DISTDIR}/${P}-pytest.patch" )
+
+distutils_enable_tests pytest