diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-09-29 16:42:30 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-09-29 16:42:30 +0000 |
commit | 9137b52c75e1210c86f6b9f04835d566323ae19f (patch) | |
tree | 3fd04b196bda37db481d196d543555475192461f | |
parent | 98dd424c0a71e186e8ceb119afa433925d0c687f (diff) | |
download | portage-9137b52c75e1210c86f6b9f04835d566323ae19f.tar.gz portage-9137b52c75e1210c86f6b9f04835d566323ae19f.tar.bz2 portage-9137b52c75e1210c86f6b9f04835d566323ae19f.zip |
Ignore packages in system/world that are satisfied by packages in package.provided.
svn path=/main/branches/2.0/; revision=2060
-rwxr-xr-x | bin/emerge | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge index a99b3add2..7db55c06b 100755 --- a/bin/emerge +++ b/bin/emerge @@ -861,6 +861,16 @@ def getlist(mode): continue myline=myline[1:] mynewlines.append(myline.strip()) + + # Remove everything that is package.provided from our list + for atom in mynewlines[:]: + for expanded_atom in portage.flatten(portage.dep_virtual([atom], portage.settings)): + mykey = portage.dep_getkey(expanded_atom) + if portage.settings.pprovideddict.has_key(mykey) and \ + portage.match_from_list(expanded_atom, portage.settings.pprovideddict[mykey]): + mynewlines.remove(atom) + break + return mynewlines def genericdict(mylist): |