diff options
author | David Seifert <soap@gentoo.org> | 2022-12-27 17:30:17 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-12-27 17:30:17 +0100 |
commit | aba2bb5d2dd63c88960e70b10f1e9a213a8eaffb (patch) | |
tree | b5afd1702320d3834af42ad3f226c8018683b883 /eclass/waf-utils.eclass | |
parent | usr-ldscript.eclass: drop EAPI 6 support (diff) | |
download | gentoo-aba2bb5d2dd63c88960e70b10f1e9a213a8eaffb.tar.gz gentoo-aba2bb5d2dd63c88960e70b10f1e9a213a8eaffb.tar.bz2 gentoo-aba2bb5d2dd63c88960e70b10f1e9a213a8eaffb.zip |
waf-utils.eclass: drop EAPI 6 support
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/waf-utils.eclass')
-rw-r--r-- | eclass/waf-utils.eclass | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass index 2f4a20cd4571..1be02bbea3cb 100644 --- a/eclass/waf-utils.eclass +++ b/eclass/waf-utils.eclass @@ -8,20 +8,23 @@ # Original Author: Gilles Dartiguelongue <eva@gentoo.org> # Various improvements based on cmake-utils.eclass: Tomáš Chvátal <scarabeus@gentoo.org> # Proper prefix support: Jonathan Callen <jcallen@gentoo.org> -# @SUPPORTED_EAPIS: 6 7 8 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: common ebuild functions for waf-based packages # @DESCRIPTION: # The waf-utils eclass contains functions that make creating ebuild for # waf-based packages much easier. # Its main features are support of common portage default settings. -inherit multilib toolchain-funcs multiprocessing - -case ${EAPI:-0} in - 6|7|8) EXPORT_FUNCTIONS src_configure src_compile src_install ;; - *) die "EAPI=${EAPI} is not supported" ;; +case ${EAPI} in + 7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ ! ${_WAF_UTILS_ECLASS} ]]; then +_WAF_UTILS_ECLASS=1 + +inherit multilib toolchain-funcs multiprocessing + # @ECLASS_VARIABLE: WAF_VERBOSE # @USER_VARIABLE # @DESCRIPTION: @@ -141,3 +144,7 @@ waf-utils_src_install() { # Manual document installation einstalldocs } + +fi + +EXPORT_FUNCTIONS src_configure src_compile src_install |