Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91963 Details for
Bug 140591
media-libs/gst-plugins-0.8.11 emerge or unmerge ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove slots that aren't explicitly pulled into the depgraph
depclean.patch (text/plain), 1.41 KB, created by
Zac Medico
on 2006-07-17 00:51:29 UTC
(
hide
)
Description:
remove slots that aren't explicitly pulled into the depgraph
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-07-17 00:51:29 UTC
Size:
1.41 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 3908) >+++ bin/emerge (working copy) >@@ -3193,7 +3193,7 @@ > vartree = trees[settings["ROOT"]]["vartree"] > syslist = getlist(settings, "system") > worldlist = getlist(settings, "world") >- myvarlist = vartree.dbapi.cp_all() >+ myvarlist = vartree.dbapi.cpv_all() > > if not syslist: > print "\n!!! You have no system list.", >@@ -3235,6 +3235,7 @@ > sys.exit(1) > > reallist=[] >+ explicitly_required = set() > for x in alldeps: > myparts=portage.catpkgsplit(string.split(x)[2]) > if not myparts: >@@ -3251,12 +3252,16 @@ > catpack=myparts[0]+"/"+myparts[1] > if catpack not in reallist: > reallist.append(catpack) >+ explicitly_required.add(x.split()[2]) > > cleanlist=[] >+ clean_unversioned = [] > for x in myvarlist: >- if x not in reallist: >+ if x not in explicitly_required: > if x not in cleanlist: > cleanlist.append(x) >+ myparts = portage.catpkgsplit(x) >+ clean_unversioned.append(myparts[0] + "/" + myparts[1]) > > for x in syslist+worldlist: > myparts = portage.catpkgsplit(x) >@@ -3268,8 +3273,10 @@ > catpack=myparts[0]+"/"+myparts[1] > else: > catpack=x >- if catpack in cleanlist: >- cleanlist.remove(catpack) >+ while catpack in clean_unversioned: >+ idx = clean_unversioned.index(catpack) >+ del cleanlist[idx] >+ del clean_unversioned[idx] > > #print "\n\n\nCleaning: " > #for x in cleanlist:
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 140591
:
91918
|
91960
|
91962
| 91963