calculations. Note that, unlike the \fB\-\-deep\fR option, the
\fB\-\-complete\-graph\fR option does not cause any more packages to
be updated than would have otherwise been updated with the option disabled.
+Using \fB\-\-with\-bdeps=y\fR together with \fB\-\-complete\-graph\fR makes
+the graph as complete as possible.
.TP
.BR \-\-config\-root=DIR
Set the \fBPORTAGE_CONFIGROOT\fR environment variable.
ignore_build_time_deps = True
# If rebuild mode is not enabled, it's safe to discard ignored
- # build-time dependencies. However, keep them if "complete" mode
- # is enabled, since they make the graph more complete.
+ # build-time dependencies. If you want these deps to be traversed
+ # in "complete" mode then you need to specify --with-bdeps=y.
if ignore_build_time_deps and \
- not self._rebuild.rebuild and \
- "complete" not in self._dynamic_config.myparams:
+ not self._rebuild.rebuild:
edepend["DEPEND"] = ""
deps = (
self._select_package = self._select_pkg_from_installed
else:
self._select_package = self._select_pkg_from_graph
- # Make the graph as complete as possible by traversing build-time
- # dependencies if they happen to be installed already.
- self._dynamic_config.myparams["bdeps"] = "y"
self._dynamic_config._traverse_ignored_deps = True
already_deep = self._dynamic_config.myparams.get("deep") is True
if not already_deep:
" option will significantly increase the time taken for dependency" + \
" calculations. Note that, unlike the --deep option, the" + \
" --complete-graph option does not cause any more packages to" + \
- " be updated than would have otherwise been updated with the option disabled."
+ " be updated than would have otherwise " + \
+ "been updated with the option disabled. " + \
+ "Using --with-bdeps=y together with --complete-graph makes " + \
+ "the graph as complete as possible."
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()