For optional deps pulled in by --with-bdeps=y, set DepPriority.buildtime to
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:38:21 +0000 (03:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:38:21 +0000 (03:38 -0000)
False. (trunk r12577)

svn path=/main/branches/2.1.6/; revision=12858

pym/_emerge/__init__.py

index 633f084c8963d816ded4f0b1386b80c8ab5dbc8f..bb7f11bb07bea0f59af24a3865b7624605959e6a 100644 (file)
@@ -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))
                )