commit: 695889907e4677a393f3a92d25eebd75684a320e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 9 04:55:47 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 9 04:55:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69588990
dev-python/tox: Reenable pypy3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/tox/tox-4.0.0_rc4.ebuild | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/dev-python/tox/tox-4.0.0_rc4.ebuild
b/dev-python/tox/tox-4.0.0_rc4.ebuild
index 2f7f84091c61..70d37dba6579 100644
--- a/dev-python/tox/tox-4.0.0_rc4.ebuild
+++ b/dev-python/tox/tox-4.0.0_rc4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1
@@ -49,7 +49,9 @@ BDEPEND="
dev-python/pytest-mock[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}]
>=dev-python/re-assert-1.1[${PYTHON_USEDEP}]
- >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/time-machine-2.8.2[${PYTHON_USEDEP}]
+ ' 'python*')
)
"
@@ -72,6 +74,11 @@ python_test() {
# requires devpi*
tests/test_provision.py
)
+ if ! has_version "dev-python/time_machine[${PYTHON_USEDEP}]"; then
+ EPYTEST_IGNORE+=(
+ tests/util/test_spinner.py
+ )
+ fi
epytest
}