diff options
author | David Seifert <soap@gentoo.org> | 2022-01-12 11:06:10 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-16 18:40:44 +0100 |
commit | fc315af9b669cc506f49fc659a3f7c1f24b19cac (patch) | |
tree | 7f66d7c5832cabac3236dbfc0039c8cf41d223c4 /eclass/multilib-minimal.eclass | |
parent | net-misc/wget: drop 1.21.1 (diff) | |
download | gentoo-fc315af9b669cc506f49fc659a3f7c1f24b19cac.tar.gz gentoo-fc315af9b669cc506f49fc659a3f7c1f24b19cac.tar.bz2 gentoo-fc315af9b669cc506f49fc659a3f7c1f24b19cac.zip |
multilib-minimal.eclass: remove EAPI 5
Signed-off-by: David Seifert <soap@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/multilib-minimal.eclass')
-rw-r--r-- | eclass/multilib-minimal.eclass | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/eclass/multilib-minimal.eclass b/eclass/multilib-minimal.eclass index 9a1efe2cc466..92968b6cf213 100644 --- a/eclass/multilib-minimal.eclass +++ b/eclass/multilib-minimal.eclass @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: multilib-minimal.eclass # @MAINTAINER: # Michał Górny <mgorny@gentoo.org> -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @PROVIDES: multilib-build # @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions # @DESCRIPTION: @@ -23,18 +23,15 @@ # # If you need generic install rules, use multilib_src_install_all function. - case ${EAPI} in - 5|6|7|8) ;; + 6|7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac - -[[ ${EAPI} == 5 ]] && inherit eutils inherit multilib-build -EXPORT_FUNCTIONS src_configure src_compile src_test src_install - +if [[ ! ${_MULTILIB_MINIMAL_ECLASS} ]]; then +_MULTILIB_MINIMAL_ECLASS=1 multilib-minimal_src_configure() { debug-print-function ${FUNCNAME} "$@" @@ -123,3 +120,7 @@ multilib-minimal_src_install() { einstalldocs fi } + +fi + +EXPORT_FUNCTIONS src_configure src_compile src_test src_install |