projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb89fd
)
add_pkg_deps: removal action discard DEPEND early
author
Zac Medico
<zmedico@gentoo.org>
Wed, 4 May 2011 21:40:11 +0000
(14:40 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 4 May 2011 21:40:11 +0000
(14:40 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index dd65a4501f2a2e3f10d759f7e85ad994bbfaf316..52b92e2aab18e327693ee80a9f21616f7e142878 100644
(file)
--- 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: