diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-17 23:19:23 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-17 23:19:23 +0200 |
commit | c161088700310ac5545db82e290de3676ee711b6 (patch) | |
tree | 594ce21a09125f25992d76fcb9e7970055611803 | |
parent | ecm.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guard (diff) | |
download | kde-c1610887.tar.gz kde-c1610887.tar.bz2 kde-c1610887.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>
-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 0dc7320d3e..fef8b31735 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: |