kde5-functions.eclass: eerror and die if inherited directly
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 17 Mar 2020 09:55:46 +0000 (10:55 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 17 Mar 2020 09:58:34 +0000 (10:58 +0100)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/kde5-functions.eclass

index ce438765f38173a58e83e593cfb24836d625c89a..df63e517bef8ed0ca6f692e7ac372dac98972fc4 100644 (file)
 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" ;;