From: Zac Medico Date: Wed, 4 May 2011 21:40:11 +0000 (-0700) Subject: add_pkg_deps: removal action discard DEPEND early X-Git-Tag: v2.2.0_alpha31~4 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=021da7d19f9da25329880096fccf1cc556a011e2;p=portage.git add_pkg_deps: removal action discard DEPEND early --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index dd65a4501..52b92e2aa 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1334,6 +1334,9 @@ class depgraph(object): ignore_build_time_deps = True if removal_action and self._dynamic_config.myparams.get("bdeps", "y") == "n": + # Removal actions never traverse ignored buildtime + # dependencies, so it's safe to discard them early. + edepend["DEPEND"] = "" ignore_build_time_deps = True if removal_action: