diff --git a/dev-python/paste/paste-3.10.1.ebuild b/dev-python/paste/paste-3.10.1.ebuild index c00b21b6a6e58..465282754e0ce 100644 --- a/dev-python/paste/paste-3.10.1.ebuild +++ b/dev-python/paste/paste-3.10.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,20 +20,22 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +BDEPEND=" + test? ( + dev-python/pkg-resources[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() distutils_enable_tests pytest distutils_enable_sphinx docs +EPYTEST_DESELECT=( + # Internet + tests/test_proxy.py +) + python_compile() { distutils-r1_python_compile find "${BUILD_DIR}" -name '*.pth' -delete || die } - -python_test() { - local EPYTEST_DESELECT=( - # Internet - tests/test_proxy.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -}