diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-05-10 16:54:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-10 16:54:55 -0700 |
commit | 93e7c03d9a09ec61931bb4e8f4fdf4e4083ac19c (patch) | |
tree | 48c168b7315cc41db62bb5ef3cd2de74b208b2f8 | |
parent | 44675153854fe54fbd3c148fab2661df80fbf7ab (diff) | |
download | portage-93e7c03d9a09ec61931bb4e8f4fdf4e4083ac19c.tar.gz portage-93e7c03d9a09ec61931bb4e8f4fdf4e4083ac19c.tar.bz2 portage-93e7c03d9a09ec61931bb4e8f4fdf4e4083ac19c.zip |
depgraph: traverse ignored DEPEND if "complete"
-rw-r--r-- | pym/_emerge/depgraph.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index f7ea6863d..6c79819d2 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1343,8 +1343,11 @@ class depgraph(object): ignore_build_time_deps = True # If rebuild mode is not enabled, it's safe to discard ignored - # build-time dependencies. - if ignore_build_time_deps and not self._rebuild.rebuild: + # build-time dependencies. However, keep them if "complete" mode + # is enabled, since they make the graph more complete. + if ignore_build_time_deps and \ + not self._rebuild.rebuild and \ + "complete" not in self._dynamic_config.myparams: edepend["DEPEND"] = "" deps = ( |