Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature