commit:     662d14577395b7d3302eda1df7d918d293abb09f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May  9 19:49:49 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May  9 20:37:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=662d1457

dev-python/pytest-timeout: Enable py3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild 
b/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild
index 133c5efa0b91..854117081a47 100644
--- a/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild
+++ b/dev-python/pytest-timeout/pytest-timeout-2.1.0.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
 inherit distutils-r1
 
 DESCRIPTION="pytest plugin to abort hanging tests"
@@ -21,7 +22,9 @@ BDEPEND="
        test? (
                dev-python/pexpect[${PYTHON_USEDEP}]
                !hppa? (
-                       dev-python/pytest-cov[${PYTHON_USEDEP}]
+                       $(python_gen_cond_dep '
+                               dev-python/pytest-cov[${PYTHON_USEDEP}]
+                       ' python3_{8..10} pypy3)
                )
        )"
 

Reply via email to