distutils-r1.eclass: Remove distutils_enable_tests setup.py

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/41560
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-04 04:06:25 +02:00
parent 309a9926db
commit eaee61e24e
-9
View File
@@ -617,8 +617,6 @@ distutils_enable_sphinx() {
#
# - pytest: dev-python/pytest
#
# - setup.py: setup.py test (no deps included; deprecated)
#
# - unittest: for built-in Python unittest module
#
# This function is meant as a helper for common use cases, and it only
@@ -662,10 +660,6 @@ distutils_enable_tests() {
")"
fi
;;
setup.py)
eqawarn "QA Notice: 'distutils_enable_tests setup.py' is deprecated and will be removed."
eqawarn "Please use unittest or pytest instead."
;;
unittest)
;;
*)
@@ -1641,9 +1635,6 @@ distutils-r1_python_test() {
pytest)
epytest
;;
setup.py)
nonfatal esetup.py test --verbose
;;
unittest)
eunittest
;;