circular_dependency: handle HDEPEND
authorZac Medico <zmedico@gentoo.org>
Tue, 25 Sep 2012 02:00:14 +0000 (19:00 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 Sep 2012 02:00:14 +0000 (19:00 -0700)
pym/_emerge/resolver/circular_dependency.py

index 1433f418c7fe5913bc7f2728474e970aac93b77f..d60f1850d6c5829ebdc6048219cfa83cdf694eb7 100644 (file)
@@ -113,7 +113,8 @@ class circular_dependency_handler(object):
                        parent_atoms = self.all_parent_atoms.get(pkg)
 
                        if priorities[-1].buildtime:
-                               dep = parent.metadata["DEPEND"]
+                               dep = parent.metadata["DEPEND"] + \
+                                       " " + parent.metadata["HDEPEND"]
                        elif priorities[-1].runtime:
                                dep = parent.metadata["RDEPEND"]