preserve-libs.eclass: drop support for EAPI 5 and 6

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert 2024-10-08 17:31:27 +02:00
parent 7b35defea1
commit 7663fbfcd9
No known key found for this signature in database
GPG Key ID: CE36E117202E3842

View File

@ -4,17 +4,13 @@
# @ECLASS: preserve-libs.eclass
# @MAINTAINER:
# base-system@gentoo.org
# @SUPPORTED_EAPIS: 5 6 7 8
# @SUPPORTED_EAPIS: 7 8
# @BLURB: preserve libraries after SONAME changes
if [[ -z ${_PRESERVE_LIBS_ECLASS} ]]; then
_PRESERVE_LIBS_ECLASS=1
case ${EAPI} in
5|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