Bug: https://bugs.gentoo.org/675868
Reported-by: Ivan Ivanich <ivanich@ivanich.org.ua>
See: https://gitweb.gentoo.org/proj/portage.git/commit/?id=
d66f4238e6b5dca2bbc0fb04f64c67f3e0bc3586
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
python_prepare_all() {
distutils-r1_python_prepare_all
+ # apply d66f4238e6b5 for bug 675868
+ sed -e 's:OSError:EnvironmentError:' -i bin/pid-ns-init || die
+
if use gentoo-dev; then
einfo "Disabling --dynamic-deps by default for gentoo-dev..."
sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \