app-portage/mirrorselect: 2.2.6-r1 revbump for bug 698470
authorZac Medico <zmedico@gentoo.org>
Thu, 24 Oct 2019 20:05:06 +0000 (13:05 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 24 Oct 2019 20:06:28 +0000 (13:06 -0700)
Closes: https://bugs.gentoo.org/698470
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico@gentoo.org>
app-portage/mirrorselect/mirrorselect-2.2.6-r1.ebuild [moved from app-portage/mirrorselect/mirrorselect-2.2.6.ebuild with 88% similarity]

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 a8348fc40d2b50f70bd6171240c1310c90283d81..22fdd516033ec994dca411e86a7e7e1976ecc32e 100644 (file)
@@ -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
 }