From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- eclass/kernel-2.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'eclass/kernel-2.eclass') diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 1b2b5d3e8b60..95011df82d87 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -191,9 +191,7 @@ # If you do change them, there is a chance that we will not fix resulting bugs; # that of course does not mean we're not willing to help. -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 +619,10 @@ if [[ ${ETYPE} == sources ]]; then kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \ K_DEBLOB_AVAILABLE=1 if [[ ${K_DEBLOB_AVAILABLE} == "1" ]] ; then + PYTHON_COMPAT=( python2_7 ) + + inherit python-any-r1 + IUSE="${IUSE} deblob" # Reflect that kernels contain firmware blobs unless otherwise -- cgit v1.2.3