commit: 09d9af3a3a5f21bbb4da24b5da35e41c87aaa402 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Thu Sep 8 15:44:05 2022 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Sep 10 01:17:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d9af3a
portability.eclass: support EAPI 8, drop EAPI 5 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> eclass/portability.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/portability.eclass b/eclass/portability.eclass index 8df8fcebc47b..f4137bc2c2ed 100644 --- a/eclass/portability.eclass +++ b/eclass/portability.eclass @@ -6,11 +6,11 @@ # base-sys...@gentoo.org # @AUTHOR: # Diego Pettenò <flamee...@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