From: Zac Medico Date: Tue, 30 Jul 2013 05:48:37 +0000 (-0700) Subject: dep_zapdeps: skip want_update_pkg if pkg in graph X-Git-Tag: v2.2.0_alpha191 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c1292a7c0b7092750fb94aac9680feb38da0bd78;p=portage.git dep_zapdeps: skip want_update_pkg if pkg in graph --- diff --git a/pym/portage/dep/dep_check.py b/pym/portage/dep/dep_check.py index 034985391..86112a236 100644 --- a/pym/portage/dep/dep_check.py +++ b/pym/portage/dep/dep_check.py @@ -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):