commit:     d52761c2acc223b5b8f355fac0c8d5a8ebb925de
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  6 15:55:34 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  6 16:15:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52761c2

dev-python/xdoctest: Use EPYTEST_PLUGINS

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/xdoctest/xdoctest-1.2.0.ebuild | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-python/xdoctest/xdoctest-1.2.0.ebuild 
b/dev-python/xdoctest/xdoctest-1.2.0.ebuild
index 70d8909b5a6b..c2238df30d70 100644
--- a/dev-python/xdoctest/xdoctest-1.2.0.ebuild
+++ b/dev-python/xdoctest/xdoctest-1.2.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
 
 inherit distutils-r1
 
@@ -32,18 +32,14 @@ BDEPEND="
        )
 "
 
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+EPYTEST_PLUGINS=( "${PN}" )
 distutils_enable_tests pytest
-#distutils_enable_sphinx docs/source \
-#      dev-python/autoapi \
-#      dev-python/sphinx-rtd-theme
 
 python_test() {
        local EPYTEST_DESELECT=(
                tests/test_pytest_cli.py::test_simple_pytest_import_error_cli
        )
 
-       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-       local -x PYTEST_PLUGINS=xdoctest.plugin
-
        epytest --pyargs tests xdoctest
 }

Reply via email to