diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-09-18 15:25:37 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-09-18 16:04:55 -0400 |
commit | 37c95d50e6107119bdf212bd591b0e7a67605181 (patch) | |
tree | 30255d1d8a81021455dfed66ea289a129c086bb7 /eclass | |
parent | sys-kernel/ck-sources: drop EAPI 6 ebuild (diff) | |
download | gentoo-37c95d50e6107119bdf212bd591b0e7a67605181.tar.gz gentoo-37c95d50e6107119bdf212bd591b0e7a67605181.tar.bz2 gentoo-37c95d50e6107119bdf212bd591b0e7a67605181.zip |
kernel-2.eclass: add global EAPI check
This eclass has not been ported for EAPI 6 yet.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 6b4e8441ef63..1398c0cad3fd 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -90,6 +90,8 @@ # 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. +has "${EAPI:-0}" 0 1 2 3 4 5 || die "kernel-2.eclass is unsupported for EAPI ${EAPI}" + PYTHON_COMPAT=( python{2_6,2_7} ) inherit eutils toolchain-funcs versionator multilib python-any-r1 |