commit: f057cefabad5d98141cbf358cdd4e924996532ec
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 20 13:59:34 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 20 14:01:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f057cefa
dev-python/pyspf: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/pyspf/pyspf-2.0.14.ebuild | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/dev-python/pyspf/pyspf-2.0.14.ebuild
b/dev-python/pyspf/pyspf-2.0.14.ebuild
index 11776917e76..b7470fbfeee 100644
--- a/dev-python/pyspf/pyspf-2.0.14.ebuild
+++ b/dev-python/pyspf/pyspf-2.0.14.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="ipv6?"
DISTUTILS_USE_SETUPTOOLS=no
@@ -23,12 +23,12 @@ RESTRICT="!test? ( test )"
RDEPEND="
dev-python/authres[${PYTHON_USEDEP}]
|| (
- dev-python/pydns:3[${PYTHON_USEDEP}]
dev-python/dnspython[${PYTHON_USEDEP}]
+ dev-python/pydns:3[${PYTHON_USEDEP}]
)
"
-DEPEND="
+BDEPEND="
test? (
${RDEPEND}
dev-python/pyyaml[${PYTHON_USEDEP}]
@@ -36,7 +36,6 @@ DEPEND="
"
python_test() {
- pushd test &> /dev/null || die
- "${PYTHON}" testspf.py || die
- popd &> /dev/null || die
+ cd test || die
+ "${EPYTHON}" testspf.py || die "Test fail with ${EPYTHON}"
}