summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-02-03 21:46:23 +0000
committerZac Medico <zmedico@gentoo.org>2009-02-03 21:46:23 +0000
commit24d05c023584a04c846f1def93132d95382f308c (patch)
treed44e80e4624c1a27a8a6f8750e45bc5c692a8b72
parent15476805a156acd11fdaaa19212691e8ee09b309 (diff)
downloadportage-24d05c023584a04c846f1def93132d95382f308c.tar.gz
portage-24d05c023584a04c846f1def93132d95382f308c.tar.bz2
portage-24d05c023584a04c846f1def93132d95382f308c.zip
For optional deps pulled in by --with-bdeps=y, set DepPriority.buildtime to
False. svn path=/main/trunk/; revision=12577
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 451827a9b..1cf02e6bc 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -5095,7 +5095,8 @@ class depgraph(object):
deps = (
("/", edepend["DEPEND"],
- self._priority(buildtime=True, optional=bdeps_optional)),
+ self._priority(buildtime=(not bdeps_optional),
+ optional=bdeps_optional)),
(myroot, edepend["RDEPEND"], self._priority(runtime=True)),
(myroot, edepend["PDEPEND"], self._priority(runtime_post=True))
)