Just use a containment test for matching pprovided args since it works correctly...
authorZac Medico <zmedico@gentoo.org>
Thu, 28 Jun 2007 01:22:19 +0000 (01:22 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 28 Jun 2007 01:22:19 +0000 (01:22 -0000)
svn path=/main/trunk/; revision=7065

pym/emerge/__init__.py

index 06225c1c4796f91f0ab07a701dcac9f30aa08263..fd6643deac80edc294354074d55632e5464f9c35 100644 (file)
@@ -1560,10 +1560,8 @@ class depgraph(object):
                if not mymerge and arg:
                        # A provided package has been specified on the command line.  The
                        # package will not be merged and a warning will be displayed.
-                       
                        cp = portage.dep_getkey(depstring)
-                       if cp in self._args_atoms and \
-                               portage.match_to_list(depstring, self._args_atoms[cp]):
+                       if cp in self._args_atoms and depstring in self._args_atoms[cp]:
                                self._pprovided_args.append(arg)
 
                if myparent: