commit: 4ba3bcfcfb90e683e504881d24b6bed496ad65b1 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sat May 26 20:42:25 2018 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sat May 26 20:45:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba3bcfc
sys-apps/portage: fix 'AttributeError: close' for python2 without epoll See: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4fb5ef2ce2cb27ae155a25bfa5a4666597afb6ac Reported-by: Brian Evans <grknight <AT> gentoo.org> Package-Manager: Portage-2.3.40, Repoman-2.3.9 sys-apps/portage/portage-2.3.40.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-apps/portage/portage-2.3.40.ebuild b/sys-apps/portage/portage-2.3.40.ebuild index 677674ee4de..440914f19f7 100644 --- a/sys-apps/portage/portage-2.3.40.ebuild +++ b/sys-apps/portage/portage-2.3.40.ebuild @@ -94,6 +94,10 @@ pkg_setup() { python_prepare_all() { distutils-r1_python_prepare_all + # apply 4fb5ef2ce2cb + sed -i "s:\\((self._poll_obj, 'close'\\)):\\1, None):" \ + pym/portage/util/_eventloop/EventLoop.py || die + if use gentoo-dev; then einfo "Disabling --dynamic-deps by default for gentoo-dev..." sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \
