Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Sat, 17 Apr 2021 22:20:30
Message-Id: 1618694363.c161088700310ac5545db82e290de3676ee711b6.asturm@gentoo
1 commit: c161088700310ac5545db82e290de3676ee711b6
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 21:19:23 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 21:19:23 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=c1610887
7
8 kde.org.eclass: EAPI whitelist and EXPORT_FUNCTIONS ahead of inherit guard
9
10 Add EAPI whitelist in the first place.
11
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 eclass/kde.org.eclass | 9 +++++++--
15 1 file changed, 7 insertions(+), 2 deletions(-)
16
17 diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass
18 index 0dc7320d3e..fef8b31735 100644
19 --- a/eclass/kde.org.eclass
20 +++ b/eclass/kde.org.eclass
21 @@ -15,6 +15,13 @@
22 # It also contains default meta variables for settings not specific to any
23 # particular build system.
24
25 +case ${EAPI} in
26 + 7) ;;
27 + *) die "EAPI=${EAPI:-0} is not supported" ;;
28 +esac
29 +
30 +EXPORT_FUNCTIONS pkg_nofetch src_unpack
31 +
32 if [[ -z ${_KDE_ORG_ECLASS} ]]; then
33 _KDE_ORG_ECLASS=1
34
35 @@ -32,8 +39,6 @@ if [[ ${KDE_BUILD_TYPE} = live ]]; then
36 inherit git-r3
37 fi
38
39 -EXPORT_FUNCTIONS pkg_nofetch src_unpack
40 -
41 # @ECLASS-VARIABLE: KDE_ORG_CATEGORIES
42 # @INTERNAL
43 # @DESCRIPTION: