commit:     6c42e12c0e2e8ee49874b9f03e792d390640f1f0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  5 06:33:35 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 12 05:05:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c42e12c

dev-python/pytest-regressions: Use EPYTEST_PLUGIN_LOAD_VIA_ENV

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42876
Closes: https://github.com/gentoo/gentoo/pull/42876
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild 
b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
index 1b88fa1837c0..89fdf25d7dd8 100644
--- a/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
+++ b/dev-python/pytest-regressions/pytest-regressions-2.8.1.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
        dev-python/pyyaml[${PYTHON_USEDEP}]
 "
 
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
 EPYTEST_PLUGINS=()
 distutils_enable_tests pytest
 distutils_enable_sphinx doc dev-python/sphinx-rtd-theme
@@ -65,6 +66,6 @@ python_test() {
                )
        fi
 
-       local -x PYTEST_PLUGINS=pytest_datadir.plugin,pytest_regressions.plugin
+       local EPYTEST_PLUGINS=( pytest-{datadir,regressions} )
        epytest
 }

Reply via email to