commit: 3b2d830d52a9e6bee1a803566b360b28aa759c9d Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Fri Jul 23 06:24:24 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Aug 3 11:13:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b2d830d
optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/optfeature.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass index b853f61be32..f9870e04732 100644 --- a/eclass/optfeature.eclass +++ b/eclass/optfeature.eclass @@ -4,12 +4,12 @@ # @ECLASS: optfeature.eclass # @MAINTAINER: # [email protected] -# @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
