diff options
author | David Seifert <soap@gentoo.org> | 2022-12-27 17:29:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-27 17:29:58 +0100 |
commit | 9b763a88817086598f5aeeb47c91d82eb051baa0 (patch) | |
tree | a7190b03f9365cc9839df514757df9a8eaeece5a /eclass | |
parent | mozextension.eclass: drop EAPI 0-7 support (diff) | |
download | gentoo-9b763a88817086598f5aeeb47c91d82eb051baa0.tar.gz gentoo-9b763a88817086598f5aeeb47c91d82eb051baa0.tar.bz2 gentoo-9b763a88817086598f5aeeb47c91d82eb051baa0.zip |
mozlinguas-v2.eclass: drop EAPI 6, 7 support
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mozlinguas-v2.eclass | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass index 155b894edc53..063430e1cb74 100644 --- a/eclass/mozlinguas-v2.eclass +++ b/eclass/mozlinguas-v2.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: mozlinguas-v2.eclass @@ -7,25 +7,22 @@ # @AUTHOR: # Nirbheek Chauhan <nirbheek@gentoo.org> # Ian Stakenvicius <axs@gentoo.org> -# @SUPPORTED_EAPIS: 6 7 8 +# @SUPPORTED_EAPIS: 8 # @BLURB: Handle language packs for mozilla products # @DESCRIPTION: # Sets IUSE according to MOZ_LANGS (language packs available). Also exports # src_unpack, src_compile and src_install for use in ebuilds, and provides # supporting functions for langpack generation and installation. -inherit mozextension - -case "${EAPI:-0}" in - 6) - inherit eapi7-ver ;; - 7|8) - ;; - *) - die "EAPI ${EAPI} is not supported, contact eclass maintainers" ;; +case ${EAPI} in + 8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -EXPORT_FUNCTIONS src_unpack src_compile src_install +if [[ ! ${_MOZLINGUAS_V2_ECLASS} ]]; then +_MOZLINGUAS_V2_ECLASS=1 + +inherit mozextension # @ECLASS_VARIABLE: MOZ_LANGS # @DEFAULT_UNSET @@ -402,3 +399,7 @@ mozlinguas_src_install() { mozlinguas-v2_src_install() { mozlinguas_src_install } + +fi + +EXPORT_FUNCTIONS src_unpack src_compile src_install |