Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 16 Jan 2022 17:40:59
Message-Id: 1642354844.fc315af9b669cc506f49fc659a3f7c1f24b19cac.mgorny@gentoo
1 commit: fc315af9b669cc506f49fc659a3f7c1f24b19cac
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 12 10:06:10 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 16 17:40:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc315af9
7
8 multilib-minimal.eclass: remove EAPI 5
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 eclass/multilib-minimal.eclass | 17 +++++++++--------
14 1 file changed, 9 insertions(+), 8 deletions(-)
15
16 diff --git a/eclass/multilib-minimal.eclass b/eclass/multilib-minimal.eclass
17 index 9a1efe2cc466..92968b6cf213 100644
18 --- a/eclass/multilib-minimal.eclass
19 +++ b/eclass/multilib-minimal.eclass
20 @@ -1,10 +1,10 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 +# Copyright 1999-2022 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 # @ECLASS: multilib-minimal.eclass
26 # @MAINTAINER:
27 # Michał Górny <mgorny@g.o>
28 -# @SUPPORTED_EAPIS: 5 6 7 8
29 +# @SUPPORTED_EAPIS: 6 7 8
30 # @PROVIDES: multilib-build
31 # @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
32 # @DESCRIPTION:
33 @@ -23,18 +23,15 @@
34 #
35 # If you need generic install rules, use multilib_src_install_all function.
36
37 -
38 case ${EAPI} in
39 - 5|6|7|8) ;;
40 + 6|7|8) ;;
41 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
42 esac
43
44 -
45 -[[ ${EAPI} == 5 ]] && inherit eutils
46 inherit multilib-build
47
48 -EXPORT_FUNCTIONS src_configure src_compile src_test src_install
49 -
50 +if [[ ! ${_MULTILIB_MINIMAL_ECLASS} ]]; then
51 +_MULTILIB_MINIMAL_ECLASS=1
52
53 multilib-minimal_src_configure() {
54 debug-print-function ${FUNCNAME} "$@"
55 @@ -123,3 +120,7 @@ multilib-minimal_src_install() {
56 einstalldocs
57 fi
58 }
59 +
60 +fi
61 +
62 +EXPORT_FUNCTIONS src_configure src_compile src_test src_install