Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 328744 Details for
Bug 367215
sys-apps/portage: package moves should not cause a package to block itself (installed app-crypt/gnupg blocks itself)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shorter patch
update.py.1.patch (text/plain), 672 bytes, created by
Christian Burger
on 2012-11-07 21:18:52 UTC
(
hide
)
Description:
shorter patch
Filename:
MIME Type:
Creator:
Christian Burger
Created:
2012-11-07 21:18:52 UTC
Size:
672 bytes
patch
obsolete
>By regex search and replace, this patch resets obvious self-blockers after the update, >back to the original package name. >--- /usr/lib/portage/pym/portage/update.py 2012-10-13 18:39:58.103791174 +0100 >+++ update.py 2012-11-07 21:39:18.548708950 +0100 >@@ -56,6 +56,9 @@ > else: > return "".join(matchobj.groups()) > mycontent = re.sub("(%s-)(\\S*)" % old_value, myreplace, mycontent) >+ # revert self-blocks (#367215) >+ mycontent = re.sub("!" + new_value + "(\\s|$)", "!" + old_value + "\\1", mycontent) >+ > elif update_cmd[0] == "slotmove" and update_cmd[1].operator is None: > pkg, origslot, newslot = update_cmd[1:] > old_value = "%s:%s" % (pkg, origslot)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 367215
:
273687
|
282777
|
328744
|
328746
|
329010