summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-17 10:55:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-17 10:58:34 +0100
commite4b675176cd290e447719ca815d9d68f56df2347 (patch)
treeed66d8b10783cd8e1b724a56ddfbdd1c0d16434e /eclass
parentsys-auth/nss-pam-ldapd: Drop py2 (diff)
downloadgentoo-e4b675176cd290e447719ca815d9d68f56df2347.tar.gz
gentoo-e4b675176cd290e447719ca815d9d68f56df2347.tar.bz2
gentoo-e4b675176cd290e447719ca815d9d68f56df2347.zip
kde5-functions.eclass: eerror and die if inherited directly
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde5-functions.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index ce438765f381..df63e517bef8 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -16,6 +16,11 @@
if [[ -z ${_KDE5_FUNCTIONS_ECLASS} ]]; then
_KDE5_FUNCTIONS_ECLASS=1
+if [[ -z ${_KDE5_ECLASS} ]]; then
+ eerror "This DEAD eclass must not be inherited directly by an ebuild."
+ die "Removal due on 2020-04-16."
+fi
+
case ${EAPI} in
7) ;;
*) die "EAPI=${EAPI:-0} is not supported" ;;