From 61f10f985e19dfe20a4d9552902625edd5b6eabb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Jun 2021 17:32:00 +0100 Subject: gentoo resync : 21.06.2021 --- eclass/l10n.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'eclass/l10n.eclass') diff --git a/eclass/l10n.eclass b/eclass/l10n.eclass index 7bd8f382fbe3..5cf3931b7bf5 100644 --- a/eclass/l10n.eclass +++ b/eclass/l10n.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: l10n.eclass @@ -6,6 +6,7 @@ # Ulrich Müller # @AUTHOR: # Ben de Groot +# @SUPPORTED_EAPIS: 5 6 7 # @BLURB: convenience functions to handle localizations # @DESCRIPTION: # The l10n (localization) eclass offers a number of functions to more @@ -14,6 +15,11 @@ # determining the cross-section between the user's set LINGUAS and what # is offered by the package. +case ${EAPI:-0} in + [567]) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_L10N_ECLASS} ]]; then _L10N_ECLASS=1 -- cgit v1.2.3