diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-11 03:38:21 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-11 03:38:21 +0000 |
commit | 99f134117886668d17cf47b15026773f3ff6a87e (patch) | |
tree | 3470afd809dd8c8062f3b21bebc58ec9cb3bb71f /pym | |
parent | 27bd95129ab0f4aa5ee60be46e4fffd6ea0601b7 (diff) | |
download | portage-99f134117886668d17cf47b15026773f3ff6a87e.tar.gz portage-99f134117886668d17cf47b15026773f3ff6a87e.tar.bz2 portage-99f134117886668d17cf47b15026773f3ff6a87e.zip |
For optional deps pulled in by --with-bdeps=y, set DepPriority.buildtime to
False. (trunk r12577)
svn path=/main/branches/2.1.6/; revision=12858
Diffstat (limited to 'pym')
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 633f084c8..bb7f11bb0 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5079,7 +5079,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)) ) |