summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-12-27 17:29:56 +0100
committerDavid Seifert <soap@gentoo.org>2022-12-27 17:29:56 +0100
commit61a97e8b5d4f75565990692547f64fe0b10f4d5d (patch)
tree5c9d904c9eb645b8a942d80a3edc7c23b5c512df /eclass/mozcoreconf-v6.eclass
parentllvm.eclass: canonicalize eclass structure (diff)
downloadgentoo-61a97e8b5d4f75565990692547f64fe0b10f4d5d.tar.gz
gentoo-61a97e8b5d4f75565990692547f64fe0b10f4d5d.tar.bz2
gentoo-61a97e8b5d4f75565990692547f64fe0b10f4d5d.zip
mozcoreconf-v6.eclass: drop EAPI 6, 7 support
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r--eclass/mozcoreconf-v6.eclass25
1 files changed, 9 insertions, 16 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass
index 450697773409..ecf1c1f6720a 100644
--- a/eclass/mozcoreconf-v6.eclass
+++ b/eclass/mozcoreconf-v6.eclass
@@ -1,10 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-#
+
# @ECLASS: mozcoreconf-v6.eclass
# @MAINTAINER:
# Mozilla team <mozilla@gentoo.org>
-# @SUPPORTED_EAPIS: 6 7 8
+# @SUPPORTED_EAPIS: 8
# @BLURB: core options and configuration functions for mozilla
# @DESCRIPTION:
#
@@ -15,7 +15,13 @@
# This is an eclass-generated variable that defines the rpath that the mozilla
# product will be installed in. Read-only
-if [[ ! ${_MOZCORECONF} ]]; then
+case ${EAPI} in
+ 8) ;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
+esac
+
+if [[ ! ${_MOZCORECONF_V6_ECLASS} ]]; then
+_MOZCORECONF_V6_ECLASS=1
inherit toolchain-funcs flag-o-matic python-any-r1
@@ -23,18 +29,6 @@ BDEPEND="virtual/pkgconfig
dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
${PYTHON_DEPS}"
-case "${EAPI:-0}" in
- 6)
- inherit multilib versionator
- DEPEND+=" ${BDEPEND}"
- ;;
- 7|8)
- ;;
- *)
- die "EAPI ${EAPI} is not supported, contact eclass maintainers"
- ;;
-esac
-
IUSE="${IUSE} custom-cflags custom-optimization"
# @FUNCTION: mozconfig_annotate
@@ -275,5 +269,4 @@ mozconfig_final() {
echo
}
-_MOZCORECONF=1
fi