commit: 6689cc266c8e0a2b8d2e3cb859512f42802b6187
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 21 02:26:20 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 21 02:26:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6689cc26
dev-python/pytest-order: Enable pypy3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pytest-order/pytest-order-1.3.0.ebuild | 24 ++++++++++-------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/dev-python/pytest-order/pytest-order-1.3.0.ebuild
b/dev-python/pytest-order/pytest-order-1.3.0.ebuild
index af2ed74a0d75..1c0ac28dd3c6 100644
--- a/dev-python/pytest-order/pytest-order-1.3.0.ebuild
+++ b/dev-python/pytest-order/pytest-order-1.3.0.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..14} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
inherit distutils-r1 pypi
@@ -29,19 +29,15 @@ BDEPEND="
)
"
+EPYTEST_PLUGINS=( "${PN}" pytest-{mock,xdist} )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
distutils_enable_tests pytest
distutils_enable_sphinx docs/source
-python_test() {
- local EPYTEST_DESELECT=(
- # these require pytest-dependency
- tests/test_dependency.py::test_order_dependencies_no_auto_mark
- tests/test_dependency.py::test_order_dependencies_auto_mark
-
tests/test_order_group_scope_dep.py::test_class_group_scope_module_scope
-
tests/test_order_group_scope_named_dep.py::test_class_group_scope_module_scope
- )
-
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=pytest_order.plugin,xdist.plugin,pytest_mock
- epytest
-}
+EPYTEST_DESELECT=(
+ # these require pytest-dependency
+ tests/test_dependency.py::test_order_dependencies_no_auto_mark
+ tests/test_dependency.py::test_order_dependencies_auto_mark
+ tests/test_order_group_scope_dep.py::test_class_group_scope_module_scope
+
tests/test_order_group_scope_named_dep.py::test_class_group_scope_module_scope
+)