Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH] eutils.eclass: Kill multilib inherit for EAPI 7
Date: Sat, 11 Mar 2017 15:08:09
Message-Id: 20170311150755.7225-1-mgorny@gentoo.org
1 The multilib.eclass seems not to be used by any eutils function.
2 Therefore, disable the inherit for EAPI 7. It is being preserved for
3 older EAPIs not to break ebuilds inheriting this eclass and using
4 multilib.eclass functions implicitly.
5 ---
6 eclass/eutils.eclass | 4 ++--
7 1 file changed, 2 insertions(+), 2 deletions(-)
8
9 diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
10 index 724a310b3000..e036001dc5e1 100644
11 --- a/eclass/eutils.eclass
12 +++ b/eclass/eutils.eclass
13 @@ -17,12 +17,12 @@
14 if [[ -z ${_EUTILS_ECLASS} ]]; then
15 _EUTILS_ECLASS=1
16
17 -inherit multilib toolchain-funcs
18 +inherit toolchain-funcs
19
20 # implicitly inherited (now split) eclasses
21 case ${EAPI:-0} in
22 0|1|2|3|4|5|6)
23 - inherit epatch estack
24 + inherit epatch estack multilib
25 ;;
26 esac
27
28 --
29 2.12.0

Replies