From e80293dcc6386268b90dd5130409f0069c5de832 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 9 Dec 2015 19:46:48 +0100 Subject: sys-apps/portage: Force py2 for doc-build with USE=epydoc --- sys-apps/portage/portage-2.2.26.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-apps/portage/portage-2.2.26.ebuild') diff --git a/sys-apps/portage/portage-2.2.26.ebuild b/sys-apps/portage/portage-2.2.26.ebuild index 43cb079e8c28..9473c2c5b4e0 100644 --- a/sys-apps/portage/portage-2.2.26.ebuild +++ b/sys-apps/portage/portage-2.2.26.ebuild @@ -79,6 +79,10 @@ TARBALL_PV=${PV} SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2 $(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)" +pkg_setup() { + use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) +} + python_prepare_all() { distutils-r1_python_prepare_all -- cgit v1.2.3-65-gdbad