Created
July 6, 2014 15:53
-
-
Save ilovezfs/25e20f0f4e33a8fddbf6 to your computer and use it in GitHub Desktop.
python ebuild patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- python-2.7.6-r1.ebuild 2014-06-23 01:35:01.000000000 -0700 | |
+++ python-2.7.6-r1.ebuild 2014-07-06 08:48:38.000000000 -0700 | |
@@ -426,6 +426,9 @@ | |
# on upgrade (site-packages), however since we h4x0rzed python to | |
# actually look into the UNIX-style dir, we just switch them around. | |
mkdir -p "${ED}"/usr/$(get_libdir) | |
+ mv "${ED}"/usr/lib/python${SLOT}/* \ | |
+ "${D}${fwdir}"/Versions/${SLOT}/lib/python${SLOT}/ | |
+ rmdir "${ED}"/usr/lib/python${SLOT} | |
mv "${D}${fwdir}"/Versions/${SLOT}/lib/python${SLOT} \ | |
"${ED}"/usr/lib/ || die "can't move python${SLOT}" | |
pushd "${D}${fwdir}"/Versions/${SLOT}/lib > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment