summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-18 10:23:05 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-18 10:23:05 +0100
commitbef63a5a36ade53acee6a55be2b5013c1ef08c84 (patch)
treef10020a02e15804776058dc709a67e78bd98bdbf /eclass
parentdev-python/eventlet: Remove old (diff)
downloadgentoo-bef63a5a36ade53acee6a55be2b5013c1ef08c84.tar.gz
gentoo-bef63a5a36ade53acee6a55be2b5013c1ef08c84.tar.bz2
gentoo-bef63a5a36ade53acee6a55be2b5013c1ef08c84.zip
kernel-build.eclass: Use python
Closes: https://bugs.gentoo.org/771207 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-build.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 249f038fa107..46f5b939f992 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -32,7 +32,9 @@ case "${EAPI:-0}" in
;;
esac
-inherit savedconfig toolchain-funcs kernel-install
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-any-r1 savedconfig toolchain-funcs kernel-install
BDEPEND="
sys-devel/bc