Remove more redundant package.provided handling that is now covered by dep_wordreduce.
authorZac Medico <zmedico@gentoo.org>
Mon, 20 Nov 2006 03:55:16 +0000 (03:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 20 Nov 2006 03:55:16 +0000 (03:55 -0000)
svn path=/main/trunk/; revision=5097

bin/emerge

index c2d4f6295445bb2df187ac63bd1fba8fce4d34a8..b5bbc456bb808f14b49a95473f2032d5f101b5b8 100755 (executable)
@@ -584,17 +584,6 @@ def getlist(settings, mode):
                        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], settings)):
-                       mykey = portage.dep_getkey(expanded_atom)
-                       if mykey in settings.pprovideddict and \
-                               portage.match_from_list(
-                                       expanded_atom, settings.pprovideddict[mykey]):
-                                       mynewlines.remove(atom)
-                                       break
-
        return mynewlines
 
 def clean_world(vardb, cpv):