From: fuzzyray Date: Sat, 1 Apr 2006 20:24:22 +0000 (-0000) Subject: Revert where we look for dependency information to previous behavior (Bug 126845) X-Git-Tag: gentoolkit-0.2.4.3~218 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53b860b1ea703af791f9e729f6086601f7c9bfdf;p=gentoolkit.git Revert where we look for dependency information to previous behavior (Bug 126845) svn path=/; revision=295 --- diff --git a/trunk/src/gentoolkit/package.py b/trunk/src/gentoolkit/package.py index 50788fb..f68de3e 100644 --- a/trunk/src/gentoolkit/package.py +++ b/trunk/src/gentoolkit/package.py @@ -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