mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
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:1137a7ecceSee:bdcfb21ca5Bug: https://bugs.gentoo.org/704286 Bug: https://bugs.gentoo.org/781878 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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]) ;;
|
||||
|
||||
Reference in New Issue
Block a user