From: Jason Stubbs Date: Thu, 29 Sep 2005 16:42:30 +0000 (-0000) Subject: Ignore packages in system/world that are satisfied by packages in package.provided. X-Git-Tag: v2.0.53_rc4_2111~35 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9137b52c75e1210c86f6b9f04835d566323ae19f;p=portage.git Ignore packages in system/world that are satisfied by packages in package.provided. svn path=/main/branches/2.0/; revision=2060 --- 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):