python-utils-r1.eclass: add note when dropping EAPI support

We need to remember to update metadata/install-qa-check.d/60python-pyc
in future to disable now non-applicable QA checks.

If we don't, we end up breaking older EAPI installs in general.

See: 1137a7ecce
See: bdcfb21ca5
Bug: https://bugs.gentoo.org/704286
Bug: https://bugs.gentoo.org/781878
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-10 00:19:59 +01:00
parent 1137a7ecce
commit 9ffe4afadb
+3
View File
@@ -19,6 +19,9 @@
# For more information, please see the Python Guide:
# https://dev.gentoo.org/~mgorny/python-guide/
# NOTE: When dropping support for EAPIs here, we need to update
# metadata/install-qa-check.d/60python-pyc
# See bug #704286, bug #781878
case "${EAPI:-0}" in
[0-5]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;;
[6-7]) ;;