Revert where we look for dependency information to previous behavior (Bug 126845)
authorfuzzyray <fuzzyray@gentoo.org>
Sat, 1 Apr 2006 20:24:22 +0000 (20:24 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Sat, 1 Apr 2006 20:24:22 +0000 (20:24 -0000)
svn path=/; revision=295

trunk/src/gentoolkit/package.py

index 50788fb2639637a464354a437ee124bce0cc6462..f68de3e719132c3e627bb2c7f3da8e0d03ba2efc 100644 (file)
@@ -66,7 +66,7 @@ class Package:
                """Returns a linearised list of first-level run time dependencies for this package, on
                the form [(comparator, [use flags], cpv), ...]"""
                # Always use the portage tree, since emerge only uses the tree when calculating dependencies
-               cd = self.get_env_var("RDEPEND", porttree).split()
+               cd = self.get_env_var("RDEPEND").split()
                r,i = self._parse_deps(cd)
                return r
 
@@ -74,7 +74,7 @@ class Package:
                """Returns a linearised list of first-level compile time dependencies for this package, on
                the form [(comparator, [use flags], cpv), ...]"""
                # Always use the portage tree, since emerge only uses the tree when calculating dependencies
-               rd = self.get_env_var("DEPEND", porttree).split()
+               rd = self.get_env_var("DEPEND").split()
                r,i = self._parse_deps(rd)
                return r
 
@@ -82,7 +82,7 @@ class Package:
                """Returns a linearised list of first-level post merge dependencies for this package, on
                the form [(comparator, [use flags], cpv), ...]"""
                # Always use the portage tree, since emerge only uses the tree when calculating dependencies
-               pd = self.get_env_var("PDEPEND", porttree).split()
+               pd = self.get_env_var("PDEPEND").split()
                r,i = self._parse_deps(pd)
                return r