commit: 96a4fc032ab655129a4932c28c4b99c111625d81
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 19 18:32:16 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 19 18:32:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a4fc03
dev-python/pytest-timeout: Enable python3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-timeout/pytest-timeout-1.4.2-r1.ebuild | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/dev-python/pytest-timeout/pytest-timeout-1.4.2-r1.ebuild
b/dev-python/pytest-timeout/pytest-timeout-1.4.2-r1.ebuild
index 6502bfc1601..ab58b250128 100644
--- a/dev-python/pytest-timeout/pytest-timeout-1.4.2-r1.ebuild
+++ b/dev-python/pytest-timeout/pytest-timeout-1.4.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
inherit distutils-r1
@@ -22,17 +22,11 @@ BDEPEND="
dev-python/pexpect[${PYTHON_USEDEP}]
!hppa? ( $(python_gen_cond_dep '
dev-python/pytest-cov[${PYTHON_USEDEP}]
- ' -3) )
+ ' python3_{7..9}) )
)"
-distutils_enable_tests pytest
+distutils_enable_tests --install pytest
PATCHES=(
"${FILESDIR}"/pytest-timeout-1.4.2-optional-cov.patch
)
-
-python_test() {
- distutils_install_for_testing
-
- pytest -vv || die "Tests fail with ${EPYTHON}"
-}