commit:     7793d69948fd001a4703ddf7a67f8348a59c375a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  6 16:20:38 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 16:22:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7793d699

dev-python/unearth: Use PYTEST_PLUGINS

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

 dev-python/unearth/unearth-0.17.5.ebuild | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/dev-python/unearth/unearth-0.17.5.ebuild 
b/dev-python/unearth/unearth-0.17.5.ebuild
index 15f99a42a25b..e33ba8f0bd4e 100644
--- a/dev-python/unearth/unearth-0.17.5.ebuild
+++ b/dev-python/unearth/unearth-0.17.5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=pdm-backend
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
 
 inherit distutils-r1 pypi
 
@@ -26,17 +26,11 @@ RDEPEND="
 BDEPEND="
        test? (
                dev-python/flask[${PYTHON_USEDEP}]
-               dev-python/pytest-httpserver[${PYTHON_USEDEP}]
-               dev-python/pytest-mock[${PYTHON_USEDEP}]
                dev-python/requests[${PYTHON_USEDEP}]
                dev-python/requests-wsgi-adapter[${PYTHON_USEDEP}]
                dev-python/trustme[${PYTHON_USEDEP}]
        )
 "
 
+EPYTEST_PLUGINS=( pytest-{httpserver,mock} )
 distutils_enable_tests pytest
-
-python_test() {
-       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-       epytest -p pytest_httpserver -p pytest_mock
-}

Reply via email to