Gentoo Archives: gentoo-portage-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-portage-dev] [PATCH 2/2] ebuild.sh: Update QA notice in inherit()
Date: Sun, 29 Aug 2021 20:07:02
Message-Id: 20210829200639.2373-2-ulm@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH 1/2] Revert "Revert "Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit"" by "Ulrich Müller"
1 Bug: https://bugs.gentoo.org/399039
2 Signed-off-by: Ulrich Müller <ulm@g.o>
3 ---
4 bin/ebuild.sh | 3 +--
5 1 file changed, 1 insertion(+), 2 deletions(-)
6
7 diff --git a/bin/ebuild.sh b/bin/ebuild.sh
8 index 1bca2c965..f5f3d9eec 100755
9 --- a/bin/ebuild.sh
10 +++ b/bin/ebuild.sh
11 @@ -248,8 +248,7 @@ inherit() {
12 # previous inherit call in the call stack.
13 if [[ -n ${ECLASS} && -n ${!__export_funcs_var} ]] ; then
14 eqawarn "QA Notice: EXPORT_FUNCTIONS is called before inherit in ${ECLASS}.eclass."
15 - eqawarn "For compatibility with <=portage-2.1.6.7, only call EXPORT_FUNCTIONS"
16 - eqawarn "after inherit(s)."
17 + eqawarn "For compatibility with PMS, only call EXPORT_FUNCTIONS after inherit(s)."
18 fi
19 fi
20
21 --
22 2.33.0

Replies