Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] kernel-2.eclass: Inherit python-any-r1 only in deblob branch
Date: Thu, 15 Aug 2019 09:09:01
Message-Id: d9e24a9cb00fe045bbdeb83da3ca08fda68d7ae3.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH] kernel-2.eclass: Inherit python-any-r1 only in deblob branch by "Michał Górny"
1 On Tue, 2019-08-13 at 09:48 +0200, Michał Górny wrote:
2 > Signed-off-by: Michał Górny <mgorny@g.o>
3 > ---
4 > eclass/kernel-2.eclass | 4 +++-
5 > 1 file changed, 3 insertions(+), 1 deletion(-)
6 >
7 > diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
8 > index 1b2b5d3e8b60..d672b295c37c 100644
9 > --- a/eclass/kernel-2.eclass
10 > +++ b/eclass/kernel-2.eclass
11 > @@ -193,7 +193,7 @@
12 >
13 > PYTHON_COMPAT=( python{2_6,2_7} )
14 >
15 > -inherit toolchain-funcs python-any-r1
16 > +inherit toolchain-funcs
17 > [[ ${EAPI:-0} == [012345] ]] && inherit epatch
18 > [[ ${EAPI:-0} == [0123456] ]] && inherit estack eapi7-ver
19 > case ${EAPI:-0} in
20 > @@ -621,6 +621,8 @@ if [[ ${ETYPE} == sources ]]; then
21 > kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \
22 > K_DEBLOB_AVAILABLE=1
23 > if [[ ${K_DEBLOB_AVAILABLE} == "1" ]] ; then
24 > + inherit python-any-r1
25 > +
26 > IUSE="${IUSE} deblob"
27 >
28 > # Reflect that kernels contain firmware blobs unless otherwise
29
30 This was approved by alicef on GitHub, so I'm merging it now.
31
32 --
33 Best regards,
34 Michał Górny

Attachments

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