eclass/plocale: Sync with Gentoo

It's from Gentoo commit 0e7ca3befcef611d37c31f834316e2b5f0d03901.
This commit is contained in:
Flatcar Buildbot 2023-01-02 07:56:40 +00:00 committed by Krzesimir Nowak
parent 1f287b5e91
commit a4f1ac3612

View File

@ -1,4 +1,4 @@
# Copyright 2012-2021 Gentoo Authors # Copyright 2012-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# @ECLASS: plocale.eclass # @ECLASS: plocale.eclass
@ -6,7 +6,7 @@
# Ulrich Müller <ulm@gentoo.org> # Ulrich Müller <ulm@gentoo.org>
# @AUTHOR: # @AUTHOR:
# Ben de Groot <yngwin@gentoo.org> # Ben de Groot <yngwin@gentoo.org>
# @SUPPORTED_EAPIS: 6 7 8 # @SUPPORTED_EAPIS: 7 8
# @BLURB: convenience functions to handle localizations # @BLURB: convenience functions to handle localizations
# @DESCRIPTION: # @DESCRIPTION:
# The plocale (localization) eclass offers a number of functions to more # The plocale (localization) eclass offers a number of functions to more
@ -52,7 +52,7 @@
# translations and check if the ebuild's PLOCALES are still up to date. # translations and check if the ebuild's PLOCALES are still up to date.
case ${EAPI} in case ${EAPI} in
6|7|8) ;; 7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac esac