[PATCH] optfeature.eclass: Support EAPI 9
Ulrich Müller <[email protected]> Thu, 2 Jul 2026 09:20:11 +0200
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Ulrich Müller <[email protected]> --- eclass/optfeature.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass index b82ac893adddf..b415aee02c6d3 100644 --- a/eclass/optfeature.eclass +++ b/eclass/optfeature.eclass @@ -4,17 +4,17 @@ # @ECLASS: optfeature.eclass # @MAINTAINER: # [email protected] -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: Advertise optional functionality that might be useful to users +if [[ -z ${_OPTFEATURE_ECLASS} ]]; then +_OPTFEATURE_ECLASS=1 + case ${EAPI} in - 7|8) ;; + 7|8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_OPTFEATURE_ECLASS} ]]; then -_OPTFEATURE_ECLASS=1 - # @ECLASS_VARIABLE: _OPTFEATURE_DEFAULT_HEADER # @INTERNAL # @DESCRIPTION: -- 2.55.0