portability.eclass: drop support for EAPI 6

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2024-10-08 17:31:25 +02:00
parent 6c4a701b31
commit 4dfda0e55f

View File

@@ -6,17 +6,13 @@
# base-system@gentoo.org
# @AUTHOR:
# Diego Pettenò <flameeyes@gentoo.org>
# @SUPPORTED_EAPIS: 6 7 8
# @SUPPORTED_EAPIS: 7 8
# @BLURB: This eclass is created to avoid using non-portable GNUisms inside ebuilds
if [[ -z ${_PORTABILITY_ECLASS} ]]; then
_PORTABILITY_ECLASS=1
case ${EAPI} in
6)
ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!"
ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI."
;;
7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac