* [gentoo-dev] [PATCH] kernel-2.eclass: Inherit python-any-r1 only in deblob branch
@ 2019-08-13 7:48 Michał Górny
2019-08-15 9:08 ` Michał Górny
0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2019-08-13 7:48 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
eclass/kernel-2.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 1b2b5d3e8b60..d672b295c37c 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -193,7 +193,7 @@
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit toolchain-funcs python-any-r1
+inherit toolchain-funcs
[[ ${EAPI:-0} == [012345] ]] && inherit epatch
[[ ${EAPI:-0} == [0123456] ]] && inherit estack eapi7-ver
case ${EAPI:-0} in
@@ -621,6 +621,8 @@ if [[ ${ETYPE} == sources ]]; then
kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \
K_DEBLOB_AVAILABLE=1
if [[ ${K_DEBLOB_AVAILABLE} == "1" ]] ; then
+ inherit python-any-r1
+
IUSE="${IUSE} deblob"
# Reflect that kernels contain firmware blobs unless otherwise
--
2.23.0.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] [PATCH] kernel-2.eclass: Inherit python-any-r1 only in deblob branch
2019-08-13 7:48 [gentoo-dev] [PATCH] kernel-2.eclass: Inherit python-any-r1 only in deblob branch Michał Górny
@ 2019-08-15 9:08 ` Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2019-08-15 9:08 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
On Tue, 2019-08-13 at 09:48 +0200, Michał Górny wrote:
> Signed-off-by: Michał Górny <mgorny@gentoo.org>
> ---
> eclass/kernel-2.eclass | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
> index 1b2b5d3e8b60..d672b295c37c 100644
> --- a/eclass/kernel-2.eclass
> +++ b/eclass/kernel-2.eclass
> @@ -193,7 +193,7 @@
>
> PYTHON_COMPAT=( python{2_6,2_7} )
>
> -inherit toolchain-funcs python-any-r1
> +inherit toolchain-funcs
> [[ ${EAPI:-0} == [012345] ]] && inherit epatch
> [[ ${EAPI:-0} == [0123456] ]] && inherit estack eapi7-ver
> case ${EAPI:-0} in
> @@ -621,6 +621,8 @@ if [[ ${ETYPE} == sources ]]; then
> kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \
> K_DEBLOB_AVAILABLE=1
> if [[ ${K_DEBLOB_AVAILABLE} == "1" ]] ; then
> + inherit python-any-r1
> +
> IUSE="${IUSE} deblob"
>
> # Reflect that kernels contain firmware blobs unless otherwise
This was approved by alicef on GitHub, so I'm merging it now.
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-15 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-13 7:48 [gentoo-dev] [PATCH] kernel-2.eclass: Inherit python-any-r1 only in deblob branch Michał Górny
2019-08-15 9:08 ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox