commit:     e4b675176cd290e447719ca815d9d68f56df2347
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 17 09:55:46 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 17 09:58:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b67517

kde5-functions.eclass: eerror and die if inherited directly

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/kde5-functions.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index ce438765f38..df63e517bef 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" ;;

Reply via email to