From 93e7c03d9a09ec61931bb4e8f4fdf4e4083ac19c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 10 May 2011 16:54:55 -0700 Subject: [PATCH] depgraph: traverse ignored DEPEND if "complete" --- pym/_emerge/depgraph.py | 7 +++++-- 1 file 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 = ( -- 2.26.2