Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195901 Details for
Bug 270953
[PATCH] !!atom blockers do not work for packages in the same slot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Make emerge repsect blockers for packages in the same slot, except the selected version itself.
portage-emerge-respect-blocks-in-the-same-slot.patch (text/plain), 969 bytes, created by
Sebastian Luther (few)
on 2009-06-27 17:48:51 UTC
(
hide
)
Description:
Make emerge repsect blockers for packages in the same slot, except the selected version itself.
Filename:
MIME Type:
Creator:
Sebastian Luther (few)
Created:
2009-06-27 17:48:51 UTC
Size:
969 bytes
patch
obsolete
>Index: pym/_emerge/depgraph.py >=================================================================== >--- pym/_emerge/depgraph.py (revision 13715) >+++ pym/_emerge/depgraph.py (working copy) >@@ -2446,11 +2446,12 @@ > unresolved_blocks = False > depends_on_order = set() > for pkg in blocked_initial: >- if pkg.slot_atom == parent.slot_atom: >- # TODO: Support blocks within slots in cases where it >- # might make sense. For example, a new version might >- # require that the old version be uninstalled at build >- # time. >+ if pkg.cpv == parent.cpv: >+ #Note that we filter all blocks from a cpv on itself. >+ #Accorfing to pms this is ok, but it might make more >+ #sense to block installed versions of this cpv. >+ #If you are going to fix it, you need to take care >+ #of packages that block virtuals they provide. > continue > if parent.installed: > # Two currently installed packages conflict with
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 270953
:
192205
| 195901