This applies a small fixup to the changes for bug 714480.
Bug: https://bugs.gentoo.org/711148
Bug: https://bugs.gentoo.org/714480
See: https://gitweb.gentoo.org/proj/portage.git/commit/?id=
2b3fc2be07ad897b7df6b77f79616c143a353275
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Zac Medico <zmedico@gentoo.org>
python_prepare_all() {
distutils-r1_python_prepare_all
+ # Apply 2b3fc2be07ad
+ sed -e '422s/return True/return (True, None)/' -i lib/portage/locks.py || die
+
sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
if use gentoo-dev; then