commit:     f44d32550861cb25c209ef61dcd7ae1aa230da1f
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 01:06:01 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 01:06:59 2019 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=f44d3255

Revert "Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit"

This reverts commit 7cb39877b7f6231ce11f1161cf2d3fe42e287b59.

Bug: https://bugs.gentoo.org/692262
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/ebuild.sh | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 56555a5b7..5bd727aed 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -241,14 +241,6 @@ inherit() {
        ECLASS_DEPTH=$(($ECLASS_DEPTH + 1))
        if [[ ${ECLASS_DEPTH} -gt 1 ]]; then
                debug-print "*** Multiple Inheritence (Level: ${ECLASS_DEPTH})"
-
-               # Since ECLASS_DEPTH > 1, the following variables are locals 
from the
-               # previous inherit call in the call stack.
-               if [[ -n ${ECLASS} && -n ${!__export_funcs_var} ]] ; then
-                       eqawarn "QA Notice: EXPORT_FUNCTIONS is called before 
inherit in ${ECLASS}.eclass."
-                       eqawarn "For compatibility with <=portage-2.1.6.7, only 
call EXPORT_FUNCTIONS"
-                       eqawarn "after inherit(s)."
-               fi
        fi
 
        local -x ECLASS

Reply via email to