summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-14 05:22:40 +0000
committerSam James <sam@gentoo.org>2023-12-14 05:22:40 +0000
commit94e8e20b0fcbb930494c218faca39e84c6035bd6 (patch)
tree3830c8262101818c750eb341135dec3b38950c42
parentdistutils-r1.eclass: mark DISTUTILS_EXT as @PRE_INHERIT (diff)
downloadgentoo-94e8e20b0fcbb930494c218faca39e84c6035bd6.tar.gz
gentoo-94e8e20b0fcbb930494c218faca39e84c6035bd6.tar.bz2
gentoo-94e8e20b0fcbb930494c218faca39e84c6035bd6.zip
python-utils-r1.eclass: fix EclassReservedName (drop obsolete ${EBUILD} old compat check)
We introduced this in ddd9cd63e860ce71ad5f92e80a3e6e4be901af8a but it's UB to use ${EBUILD} and pkgcheck nowadays has OldPythonCompat for this. Bug: https://github.com/pkgcore/pkgcheck/issues/591 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--eclass/python-utils-r1.eclass11
1 files changed, 0 insertions, 11 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 188278f09212..abb55bd2e942 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -153,17 +153,6 @@ _python_set_impls() {
done
fi
- if [[ -n ${obsolete[@]} && ${EBUILD_PHASE} == setup ]]; then
- # complain if people don't clean up old impls while touching
- # the ebuilds recently. use the copyright year to infer last
- # modification
- # NB: this check doesn't have to work reliably
- if [[ $(head -n 1 "${EBUILD}" 2>/dev/null) == *2022* ]]; then
- eqawarn "Please clean PYTHON_COMPAT of obsolete implementations:"
- eqawarn " ${obsolete[*]}"
- fi
- fi
-
local supp=() unsupp=()
for i in "${_PYTHON_ALL_IMPLS[@]}"; do