diff --git a/sdk_container/src/third_party/portage-stable/eclass/plocale.eclass b/sdk_container/src/third_party/portage-stable/eclass/plocale.eclass index 954b065857..cb706efc89 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/plocale.eclass +++ b/sdk_container/src/third_party/portage-stable/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 # @AUTHOR: # Ben de Groot -# @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. -case ${EAPI} in - 7|8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - if [[ -z ${_PLOCALE_ECLASS} ]]; then _PLOCALE_ECLASS=1 +case ${EAPI} in + 7|8|9) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + # @ECLASS_VARIABLE: PLOCALES # @DEFAULT_UNSET # @DESCRIPTION: