From: Zac Medico Date: Thu, 24 Oct 2019 20:05:06 +0000 (-0700) Subject: app-portage/mirrorselect: 2.2.6-r1 revbump for bug 698470 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c75495f03df28b28600c4c27e6c34067bb4fbd6;p=gentoo.git app-portage/mirrorselect: 2.2.6-r1 revbump for bug 698470 Closes: https://bugs.gentoo.org/698470 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Zac Medico --- diff --git a/app-portage/mirrorselect/mirrorselect-2.2.6.ebuild b/app-portage/mirrorselect/mirrorselect-2.2.6-r1.ebuild similarity index 88% rename from app-portage/mirrorselect/mirrorselect-2.2.6.ebuild rename to app-portage/mirrorselect/mirrorselect-2.2.6-r1.ebuild index a8348fc40d2b..22fdd516033e 100644 --- a/app-portage/mirrorselect/mirrorselect-2.2.6.ebuild +++ b/app-portage/mirrorselect/mirrorselect-2.2.6-r1.ebuild @@ -37,6 +37,10 @@ python_prepare_all() { sed -e '/^NETSELECT_SUPPORTS_IPV4_IPV6 =/s|False|True|' \ -i mirrorselect/selectors.py || die fi + + # Apply e69ec2d046626fa2079d460aab469d04256182cd for bug 698470. + sed -e 's|key = lex.get_token()|\0\n\t\t\tif key is None:\n\t\t\t\tbreak|' -i mirrorselect/configs.py || die + distutils-r1_python_prepare_all }