mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
portability.eclass: drop support for EAPI 6
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user