summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/portage/portage-3.0.10-r1.ebuild (renamed from sys-apps/portage/portage-3.0.10.ebuild)5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/portage/portage-3.0.10.ebuild b/sys-apps/portage/portage-3.0.10-r1.ebuild
index 28cd3d04cca..671587b6636 100644
--- a/sys-apps/portage/portage-3.0.10.ebuild
+++ b/sys-apps/portage/portage-3.0.10-r1.ebuild
@@ -93,6 +93,11 @@ pkg_pretend() {
python_prepare_all() {
distutils-r1_python_prepare_all
+ # Apply ae8b18f868c9bd039643f89f28f9d92ce8966c3c for bug 755950
+ sed -e 's:^\(from portage.util._xattr import\) \(xattr\)$:\1 XATTRS_WORKS, \2:' \
+ -e 's:xattr\.XATTRS_WORKS:XATTRS_WORKS:' \
+ -i lib/portage/util/_compare_files.py || die
+
sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
if use gentoo-dev; then