diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-09-08 11:44:05 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-09-09 21:17:35 -0400 |
commit | 09d9af3a3a5f21bbb4da24b5da35e41c87aaa402 (patch) | |
tree | bd060dfb399ec2206b2ccb2cf2b3a2a1ffd8ce9f /eclass | |
parent | kernel-install.eclass: support EAPI 8 (diff) | |
download | gentoo-09d9af3a3a5f21bbb4da24b5da35e41c87aaa402.tar.gz gentoo-09d9af3a3a5f21bbb4da24b5da35e41c87aaa402.tar.bz2 gentoo-09d9af3a3a5f21bbb4da24b5da35e41c87aaa402.zip |
portability.eclass: support EAPI 8, drop EAPI 5
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/portability.eclass | 6 |
1 files 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-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 |