summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-11-22 11:52:00 -0800
committerZac Medico <zmedico@gentoo.org>2020-11-22 11:54:32 -0800
commitd04117118ee16f77ac19eb081f774277a0931729 (patch)
tree229db5439c57345b22ba23656929eb35c2473905 /sys-apps
parentdev-lua/luasec: migrate to lua eclass (diff)
downloadgentoo-d04117118ee16f77ac19eb081f774277a0931729.tar.gz
gentoo-d04117118ee16f77ac19eb081f774277a0931729.tar.bz2
gentoo-d04117118ee16f77ac19eb081f774277a0931729.zip
sys-apps/portage: 3.0.10-r1 revbump for bug 755950
#755950 compare_files: fix missing xattr handling Bug: https://bugs.gentoo.org/756028 Bug: https://bugs.gentoo.org/755950 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-apps')
-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 28cd3d04cca0..671587b66362 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