From 32dbc30af34dc84a3f55ba8be900b39e89bffca5 Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 13 Apr 2017 12:46:17 -0700 Subject: [PATCH] sys-apps/portage: apply CoreOS changes to 2.3.3 --- .../coreos-overlay/sys-apps/portage/portage-2.3.3.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-apps/portage/portage-2.3.3.ebuild b/sdk_container/src/third_party/coreos-overlay/sys-apps/portage/portage-2.3.3.ebuild index b061595e4a..a9b8d224b0 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-apps/portage/portage-2.3.3.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/sys-apps/portage/portage-2.3.3.ebuild @@ -78,6 +78,12 @@ TARBALL_PV=${PV} SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2 $(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)" +PATCHES=( + "${FILESDIR}/${PN}-2.2.18-0001-portage-repository-config.py-add-disabled-attribute-.patch" + "${FILESDIR}/${PN}-2.2.18-0002-environment-Filter-EROOT-for-all-EAPIs.patch" + "${FILESDIR}/${PN}-2.2.18-0003-depgraph-ensure-slot-rebuilds-happen-in-the-correct-.patch" +) + pkg_setup() { use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) } @@ -85,6 +91,9 @@ pkg_setup() { python_prepare_all() { distutils-r1_python_prepare_all + # CoreOS does not use the gentoo repo, silence oodles of errors about it: + echo "# no defaults, configuration is in /etc" > cnf/repos.conf + if use native-extensions; then printf "[build_ext]\nportage-ext-modules=true\n" >> \ setup.cfg || die