diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-07-23 08:24:24 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-08-03 13:13:51 +0200 |
commit | 3b2d830d52a9e6bee1a803566b360b28aa759c9d (patch) | |
tree | 9a1277d87775e8d3f2c2c297d1548ed399fb751a /eclass/optfeature.eclass | |
parent | optfeature.eclass: EAPI 8 support (diff) | |
download | gentoo-3b2d830d52a9e6bee1a803566b360b28aa759c9d.tar.gz gentoo-3b2d830d52a9e6bee1a803566b360b28aa759c9d.tar.bz2 gentoo-3b2d830d52a9e6bee1a803566b360b28aa759c9d.zip |
optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/optfeature.eclass')
-rw-r--r-- | eclass/optfeature.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass index b853f61be32a..f9870e047326 100644 --- a/eclass/optfeature.eclass +++ b/eclass/optfeature.eclass @@ -4,12 +4,12 @@ # @ECLASS: optfeature.eclass # @MAINTAINER: # base-system@gentoo.org -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: Advertise optional functionality that might be useful to users -case ${EAPI:-0} in - [0-8]) ;; - *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;; +case ${EAPI} in + 6|7|8) ;; + *) die "${ECLASS}: EAPI=${EAPI:-0} is not supported" ;; esac if [[ -z ${_OPTFEATURE_ECLASS} ]]; then |