From d52761c2acc223b5b8f355fac0c8d5a8ebb925de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 6 Sep 2025 17:55:34 +0200 Subject: [PATCH] dev-python/xdoctest: Use EPYTEST_PLUGINS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- 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 70d8909b5a6b4..c2238df30d701 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 }