Revert r4403 since dep_check needs a config instance for the $ROOT where the dependen...
authorZac Medico <zmedico@gentoo.org>
Mon, 4 Sep 2006 22:35:17 +0000 (22:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 4 Sep 2006 22:35:17 +0000 (22:35 -0000)
svn path=/main/trunk/; revision=4406

bin/emerge

index e18aa779427a19d8cb7cd6b7a145cb7331f453fe..5bcb6eaa48606e2ad820dfb25adb774e7eb89050 100755 (executable)
@@ -1017,15 +1017,8 @@ class depgraph:
                        #processing dependencies
                        """ Call portage.dep_check to evaluate the use? conditionals and make sure all
                        dependencies are satisfiable. """
-                       if myparent:
-                               p_type, p_root, p_key, p_status = myparent.split()
-                               dep_settings = self.pkgsettings[p_root]
-                               dep_settings.setcpv(p_key)
-                       else:
-                               dep_settings = self.pkgsettings[self.target_root]
-                               dep_settings.reset()
                        mycheck = portage.dep_check(depstring, self.mydbapi[myroot],
-                               dep_settings, myuse=myuse,
+                               pkgsettings, myuse=myuse,
                                use_binaries=("--usepkgonly" in self.myopts),
                                myroot=myroot, trees=self.trees)