From c1292a7c0b7092750fb94aac9680feb38da0bd78 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 29 Jul 2013 22:48:37 -0700 Subject: [PATCH] dep_zapdeps: skip want_update_pkg if pkg in graph --- pym/portage/dep/dep_check.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.26.2