From: Andreas Sturmlechner Date: Tue, 17 Mar 2020 09:55:46 +0000 (+0100) Subject: kde5-functions.eclass: eerror and die if inherited directly X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4b675176cd290e447719ca815d9d68f56df2347;p=gentoo.git kde5-functions.eclass: eerror and die if inherited directly Signed-off-by: Andreas Sturmlechner --- 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" ;;