commit: 569a75354e41d577183a600c48895a3ebb7d2416 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Dec 17 15:30:01 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Mon Jan 26 14:31:32 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569a7535
plocale.eclass: Support EAPI 9 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> eclass/plocale.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/plocale.eclass b/eclass/plocale.eclass index 954b06585746..cb706efc8959 100644 --- a/eclass/plocale.eclass +++ b/eclass/plocale.eclass @@ -1,4 +1,4 @@ -# Copyright 2012-2022 Gentoo Authors +# Copyright 2012-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: plocale.eclass @@ -6,7 +6,7 @@ # Ulrich Müller <[email protected]> # @AUTHOR: # Ben de Groot <[email protected]> -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: convenience functions to handle localizations # @DESCRIPTION: # The plocale (localization) eclass offers a number of functions to more @@ -51,14 +51,14 @@ # maintenance. It can be used to scan a directory for available # translations and check if the ebuild's PLOCALES are still up to date. +if [[ -z ${_PLOCALE_ECLASS} ]]; then +_PLOCALE_ECLASS=1 + case ${EAPI} in - 7|8) ;; + 7|8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_PLOCALE_ECLASS} ]]; then -_PLOCALE_ECLASS=1 - # @ECLASS_VARIABLE: PLOCALES # @DEFAULT_UNSET # @DESCRIPTION:
