dep_zapdeps: skip want_update_pkg if pkg in graph v2.2.0_alpha191
authorZac Medico <zmedico@gentoo.org>
Tue, 30 Jul 2013 05:48:37 +0000 (22:48 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 30 Jul 2013 05:48:37 +0000 (22:48 -0700)
pym/portage/dep/dep_check.py

index 0349853910889c61fa964ea2e84b8d9947af677c..86112a2366f9d54083a7eab0453182f3a1b74211 100644 (file)
@@ -471,6 +471,8 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
                                                                # installed yet for bug #478188.
                                                                want_update = True
                                                                for slot_atom, avail_pkg in slot_map.items():
+                                                                       if avail_pkg in graph:
+                                                                               continue
                                                                        # New-style virtuals have zero cost to install.
                                                                        if slot_atom.startswith("virtual/") or \
                                                                                vardb.match(slot_atom):