Re: [PATCH 2/2] ebuild.sh: Update QA notice in inherit()

Michał Górny <[email protected]> Sun, 29 Aug 2021 23:27:14 +0200
Newsgroups gmane.linux.gentoo.portage.devel
Organization Gentoo
Message-ID <[email protected]>
On Sun, 2021-08-29 at 22:06 +0200, Ulrich Müller wrote:
> Bug: https://bugs.gentoo.org/399039
> Signed-off-by: Ulrich Müller <[email protected]>
> ---
>  bin/ebuild.sh | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/bin/ebuild.sh b/bin/ebuild.sh
> index 1bca2c965..f5f3d9eec 100755
> --- a/bin/ebuild.sh
> +++ b/bin/ebuild.sh
> @@ -248,8 +248,7 @@ inherit() {
>  		# 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)."
> +			eqawarn "For compatibility with PMS, only call EXPORT_FUNCTIONS after inherit(s)."
>  		fi
>  	fi
> 

Could you add a sentence that the current Portage behavior is going to
change in the future?


-- 
Best regards,
Michał Górny