commit:     d926d7fea0d1bc537f290be08132eb8373c5e163
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 19:06:10 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 15:26:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d926d7fe

dev-python/pytest-xvfb: use EPYTEST_PLUGINS

Being empty replaces AUTOLOAD=1 as the Gentoo standard way to set this
now, albeit still need to set PYTEST_PLUGINS manually to avoid
depending on self in pytest-* ebuilds.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
index 1c37d2929cbd..47f40c17d997 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 PYTHON_REQ_USE="tk"
 inherit distutils-r1 pypi
 
@@ -21,10 +21,10 @@ RDEPEND="
        x11-base/xorg-server[xvfb]
 "
 
+EPYTEST_PLUGINS=()
 distutils_enable_tests pytest
 
 python_test() {
-       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        local -x PYTEST_PLUGINS=pytest_xvfb
        epytest
 }

Reply via email to