diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-17 23:19:23 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-24 15:40:36 +0200 |
commit | 134f2d6650e40b2f5afde503c95acc83f76bebe2 (patch) | |
tree | 787436b4ed887d387f1e3b947a0e61527b7e6b62 /eclass/kde.org.eclass | |
parent | kde.org.eclass: KDE_RELEASE_SERVICE -> KDE_GEAR (diff) | |
download | gentoo-134f2d6650e40b2f5afde503c95acc83f76bebe2.tar.gz gentoo-134f2d6650e40b2f5afde503c95acc83f76bebe2.tar.bz2 gentoo-134f2d6650e40b2f5afde503c95acc83f76bebe2.zip |
kde.org.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guard
Add EAPI whitelist in the first place.
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/kde.org.eclass')
-rw-r--r-- | eclass/kde.org.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 361e862e1f2a..aad7b7a62f06 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -15,6 +15,13 @@ # It also contains default meta variables for settings not specific to any # particular build system. +case ${EAPI} in + 7) ;; + *) die "EAPI=${EAPI:-0} is not supported" ;; +esac + +EXPORT_FUNCTIONS pkg_nofetch src_unpack + if [[ -z ${_KDE_ORG_ECLASS} ]]; then _KDE_ORG_ECLASS=1 @@ -32,8 +39,6 @@ if [[ ${KDE_BUILD_TYPE} = live ]]; then inherit git-r3 fi -EXPORT_FUNCTIONS pkg_nofetch src_unpack - # @ECLASS-VARIABLE: KDE_ORG_CATEGORIES # @INTERNAL # @DESCRIPTION |