commit:     a8c46c52abe8402414de133fbfe2d1245acef4d9
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 06:09: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=a8c46c52

dev-python/pytest-bdd: 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-bdd/pytest-bdd-8.1.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild 
b/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
index eda0f3713a14..23b8ad05b445 100644
--- a/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
+++ b/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
@@ -28,7 +28,8 @@ RDEPEND="
        dev-python/typing-extensions[${PYTHON_USEDEP}]
 "
 
-EPYTEST_PLUGINS=()
+EPYTEST_PLUGINS=( ${PN} )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
 distutils_enable_tests pytest
 
 DOCS=( AUTHORS.rst CHANGES.rst README.rst )
@@ -39,7 +40,6 @@ PATCHES=(
 
 src_test() {
        local -x COLUMNS=80
-       local -x PYTEST_PLUGINS=pytest_bdd.plugin
 
        local EPYTEST_DESELECT=(
                # https://github.com/pytest-dev/pytest-bdd/issues/779

Reply via email to