summaryrefslogtreecommitdiff
path: root/eclass/kernel-2.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-26 00:09:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-26 00:09:36 +0100
commitb1c81de4fadbd00897700a7321f03b390d952b2e (patch)
treee6cc812351d4f105c110cfc363ebb497e996f47a /eclass/kernel-2.eclass
parent7c59acba5699c9c58090a7a738669669a7307023 (diff)
gentoo resync : 26.08.2021
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index f94dd9c43982..58e0bae94eee 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -583,6 +583,7 @@ if [[ ${ETYPE} == sources ]]; then
[[ ${EAPI} == 6 ]] && DEPEND="!build? ( sys-apps/sed )" ||
BDEPEND="!build? ( sys-apps/sed )"
RDEPEND="!build? (
+ app-arch/cpio
dev-lang/perl
sys-devel/bc
sys-devel/bison
@@ -604,8 +605,12 @@ if [[ ${ETYPE} == sources ]]; then
[[ -z ${K_DEBLOB_AVAILABLE} ]] && \
kernel_is le 2 6 ${DEBLOB_MAX_VERSION} && \
K_DEBLOB_AVAILABLE=1
+ # deblob less than 5.10 require python 2.7
+ if kernel_is lt 5 10; then
+ K_DEBLOB_AVAILABLE=0
+ fi
if [[ ${K_DEBLOB_AVAILABLE} == 1 ]]; then
- PYTHON_COMPAT=( python2_7 )
+ PYTHON_COMPAT=( python3_{7..10} )
inherit python-any-r1