From 021da7d19f9da25329880096fccf1cc556a011e2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 4 May 2011 14:40:11 -0700 Subject: [PATCH] add_pkg_deps: removal action discard DEPEND early --- pym/_emerge/depgraph.py | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.26.2