From e44b9cf3e5b67eaf723e4a335faf39c87167abd3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 27 Dec 2022 20:10:49 +0000 Subject: gentoo auto-resync : 27:12:2022 - 20:10:49 --- eclass/mozcoreconf-v6.eclass | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to 'eclass/mozcoreconf-v6.eclass') 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 -# @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 -- cgit v1.2.3