mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
portability.eclass: support EAPI 8, drop EAPI 5
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
# base-system@gentoo.org
|
||||
# @AUTHOR:
|
||||
# Diego Pettenò <flameeyes@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 5 6 7
|
||||
# @SUPPORTED_EAPIS: 6 7 8
|
||||
# @BLURB: This eclass is created to avoid using non-portable GNUisms inside ebuilds
|
||||
|
||||
case ${EAPI:-0} in
|
||||
[567]) ;;
|
||||
case ${EAPI} in
|
||||
6|7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user