projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9de7a2
)
depgraph._validate_blockers: optimize --root-deps
author
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Apr 2012 18:22:49 +0000
(11:22 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 5 Apr 2012 18:22:49 +0000
(11:22 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index b7fa297595cd8c23f27e356b319ff0e2cc65ae41..e9cb22b405b8184a7d83f8b29d41205fd9359e3c 100644
(file)
--- 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]