commit: a00eb48ca07ce05723121e5e24318367adc6704a Author: David Michael <fedora.dm0 <AT> gmail <DOT> com> AuthorDate: Sat Jun 26 20:44:19 2021 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Fri Jul 2 15:32:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00eb48c
meson-multilib.eclass: EAPI 8 support Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21440 eclass/meson-multilib.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/meson-multilib.eclass b/eclass/meson-multilib.eclass index 01e14988463..fc1ef5802f9 100644 --- a/eclass/meson-multilib.eclass +++ b/eclass/meson-multilib.eclass @@ -7,7 +7,7 @@ # @AUTHOR: # Author: Michał Górny <[email protected]> # Author: Matt Turner <[email protected]> -# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: meson wrapper for multilib builds # @DESCRIPTION: # The meson-multilib.eclass provides a glue between meson.eclass(5) @@ -20,14 +20,14 @@ # in multilib-minimal, yet they ought to call appropriate meson # phase rather than 'default'. +case ${EAPI} in + 7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_MESON_MULTILIB_ECLASS} ]] ; then _MESON_MULTILIB_ECLASS=1 -case ${EAPI:-0} in - 7) ;; - *) die "EAPI=${EAPI} is not supported" ;; -esac - inherit meson multilib-minimal EXPORT_FUNCTIONS src_configure src_compile src_test src_install
