commit: ad0c4d3e112f496369cc42ff045bbda04c3a58d3
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 06:10:32 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Jul 18 09:11:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad0c4d3e
dev-python/pytest-xvfb: use PN in EPYTEST_PLUGINS
eclass now allows this without causing a self-dependency
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 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 47f40c17d997..06bb25c5462e 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.1.1.ebuild
@@ -21,10 +21,6 @@ RDEPEND="
x11-base/xorg-server[xvfb]
"
-EPYTEST_PLUGINS=()
+EPYTEST_PLUGINS=( ${PN} )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
distutils_enable_tests pytest
-
-python_test() {
- local -x PYTEST_PLUGINS=pytest_xvfb
- epytest
-}