Suppress export error messages like this for eix-update:
/usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function
Bug: https://bugs.gentoo.org/680810#c10
Bug: https://bugs.gentoo.org/689128#c3
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Zac Medico <zmedico@gentoo.org>
python_prepare_all() {
distutils-r1_python_prepare_all
+ # apply f4aa49bc1ba2
+ sed -e 's|^export -n -f ___in_portage_iuse$|declare -F ___in_portage_iuse >/dev/null \&\& \0|' \
+ -i bin/ebuild.sh || die
+
if use gentoo-dev; then
einfo "Disabling --dynamic-deps by default for gentoo-dev..."
sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \