commit:     236404afafdf9e07eee0d292f4b5717bccb582f1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 22 16:48:12 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 22 17:20:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236404af

dev-python/duecredit: enable py3.10, small cleanup

Closes: https://bugs.gentoo.org/812374
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/duecredit/duecredit-0.9.1.ebuild | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/dev-python/duecredit/duecredit-0.9.1.ebuild 
b/dev-python/duecredit/duecredit-0.9.1.ebuild
index da81018c7a2..ad8014870d4 100644
--- a/dev-python/duecredit/duecredit-0.9.1.ebuild
+++ b/dev-python/duecredit/duecredit-0.9.1.ebuild
@@ -3,10 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Publications (and donations) tracer"
@@ -21,18 +18,11 @@ RDEPEND="
        >=dev-python/citeproc-py-0.4[${PYTHON_USEDEP}]
        dev-python/requests[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]
-       $(python_gen_cond_dep '
-               dev-python/importlib_metadata[${PYTHON_USEDEP}]
-       ' python3_7)
 "
 
 distutils_enable_tests pytest
 
-python_test() {
-       local deselect=(
-               # internet?
-               
'duecredit/tests/test_api.py::test_noincorrect_import_if_no_lxml_numpy[kwargs1-env2]'
-       )
-
-       epytest ${deselect[@]/#/--deselect }
-}
+EPYTEST_DESELECT=(
+       # internet?
+       
'duecredit/tests/test_api.py::test_noincorrect_import_if_no_lxml_numpy[kwargs1-env2]'
+)

Reply via email to