From e9740bcd93e01633695dee32425d1bab38e607c7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 5 Apr 2012 11:22:49 -0700 Subject: [PATCH] depgraph._validate_blockers: optimize --root-deps --- pym/_emerge/depgraph.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index b7fa29759..e9cb22b40 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -4470,6 +4470,11 @@ class depgraph(object): # are already built. dep_keys = ["RDEPEND", "PDEPEND"] for myroot in self._frozen_config.trees: + + if self._frozen_config.myopts.get("--root-deps") is not None and \ + myroot != self._frozen_config.target_root: + continue + vardb = self._frozen_config.trees[myroot]["vartree"].dbapi pkgsettings = self._frozen_config.pkgsettings[myroot] root_config = self._frozen_config.roots[myroot] -- 2.26.2