From b1c81de4fadbd00897700a7321f03b390d952b2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 26 Aug 2021 00:09:36 +0100 Subject: gentoo resync : 26.08.2021 --- eclass/kernel-2.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'eclass/kernel-2.eclass') 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 -- cgit v1.2.3