diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-27 20:10:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-27 20:10:49 +0000 |
commit | e44b9cf3e5b67eaf723e4a335faf39c87167abd3 (patch) | |
tree | 3e6660b30910e7eb33586a99c4e892b52380bad6 /eclass/mozcoreconf-v6.eclass | |
parent | 4429be000a778f363162554d59d903a725283d7d (diff) |
gentoo auto-resync : 27:12:2022 - 20:10:49
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r-- | eclass/mozcoreconf-v6.eclass | 25 |
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 |