From ad0c4d3e112f496369cc42ff045bbda04c3a58d3 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 15 Jul 2025 02:10:32 -0400 Subject: [PATCH] dev-python/pytest-xvfb: use PN in EPYTEST_PLUGINS eclass now allows this without causing a self-dependency Signed-off-by: Ionen Wolkens --- 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 47f40c17d997f..06bb25c5462eb 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 -}