summaryrefslogtreecommitdiff
path: root/eclass/mozlinguas-v2.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /eclass/mozlinguas-v2.eclass
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'eclass/mozlinguas-v2.eclass')
-rw-r--r--eclass/mozlinguas-v2.eclass18
1 files changed, 9 insertions, 9 deletions
diff --git a/eclass/mozlinguas-v2.eclass b/eclass/mozlinguas-v2.eclass
index 7795a856728b..be01ef6aca50 100644
--- a/eclass/mozlinguas-v2.eclass
+++ b/eclass/mozlinguas-v2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: mozlinguas-v2.eclass
@@ -7,7 +7,7 @@
# @AUTHOR:
# Nirbheek Chauhan <nirbheek@gentoo.org>
# Ian Stakenvicius <axs@gentoo.org>
-# @SUPPORTED_EAPIS: 2 3 4 5 6
+# @SUPPORTED_EAPIS: 6 7
# @BLURB: Handle language packs for mozilla products
# @DESCRIPTION:
# Sets IUSE according to MOZ_LANGS (language packs available). Also exports
@@ -17,16 +17,16 @@
inherit mozextension
case "${EAPI:-0}" in
- 0|1)
- die "EAPI ${EAPI:-0} does not support the '->' SRC_URI operator";;
- 2|3|4|5|6)
- inherit eapi7-ver
- EXPORT_FUNCTIONS src_unpack src_compile src_install;;
-
+ 6)
+ inherit eapi7-ver ;;
+ 7)
+ ;;
*)
- die "EAPI ${EAPI} is not supported, contact eclass maintainers";;
+ die "EAPI ${EAPI} is not supported, contact eclass maintainers" ;;
esac
+EXPORT_FUNCTIONS src_unpack src_compile src_install
+
# @ECLASS-VARIABLE: MOZ_LANGS
# @DESCRIPTION:
# Array containing the list of language pack xpis available for