summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-20 16:59:34 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-08-20 17:01:35 +0300
commitf057cefabad5d98141cbf358cdd4e924996532ec (patch)
tree99923a679cf9c394561cda2b854117566be73c51 /dev-python/pyspf
parentdev-python/pydns: mark ALLARCHES (diff)
downloadgentoo-f057cefabad5d98141cbf358cdd4e924996532ec.tar.gz
gentoo-f057cefabad5d98141cbf358cdd4e924996532ec.tar.bz2
gentoo-f057cefabad5d98141cbf358cdd4e924996532ec.zip
dev-python/pyspf: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pyspf')
-rw-r--r--dev-python/pyspf/pyspf-2.0.14.ebuild11
1 files 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 11776917e765..b7470fbfeeeb 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}"
}