commit: 603e17596a2000b7a0967370ae8b82c4a06246df
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 10:03:41 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 10:21:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=603e1759
dev-python/pip: Fix respecting PYTHON_TESTED
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pip/pip-25.0.1-r1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev-python/pip/pip-25.0.1-r1.ebuild
b/dev-python/pip/pip-25.0.1-r1.ebuild
index 19ed8b7e77d3..24f37823be9e 100644
--- a/dev-python/pip/pip-25.0.1-r1.ebuild
+++ b/dev-python/pip/pip-25.0.1-r1.ebuild
@@ -106,6 +106,11 @@ python_compile_all() {
}
python_test() {
+ if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+ einfo "Skipping tests on ${EPYTHON}"
+ return 0
+ fi
+
local EPYTEST_DESELECT=(
tests/functional/test_inspect.py::test_inspect_basic
# Internet