summaryrefslogtreecommitdiff
path: root/trunk/src/equery
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2005-10-18 19:10:58 +0000
committerfuzzyray <fuzzyray@gentoo.org>2005-10-18 19:10:58 +0000
commitf22ce8942302272476bdfc0d35b958438bf66573 (patch)
tree8d40d766bc450631022a09aa145fb1e32b0d31ed /trunk/src/equery
parent57542bb13cea7e957d947fa613bb5b82a1c31451 (diff)
downloadgentoolkit-f22ce8942302272476bdfc0d35b958438bf66573.tar.gz
Fix gentoolkit to properly parse '||' syntax. (Bug 101377)
svn path=/; revision=249
Diffstat (limited to 'trunk/src/equery')
-rwxr-xr-xtrunk/src/equery/equery7
1 files changed, 4 insertions, 3 deletions
diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery
index a59928f..1b2c3b0 100755
--- a/trunk/src/equery/equery
+++ b/trunk/src/equery/equery
@@ -668,7 +668,8 @@ class CmdDisplayDepGraph(Command):
pkgtbl.append(cpv)
- for x in pkg.get_runtime_deps():
+ pkgdeps = pkg.get_runtime_deps() + pkg.get_compiletime_deps()
+ for x in pkgdeps:
suffix = ""
cpv = x[2]
pkg = gentoolkit.find_best_match(x[0] + cpv)
@@ -1038,7 +1039,7 @@ class CmdListDepends(Command):
print_info(1, pp.section("* ") + "Dependencies for " + pp.cpv(pkg.get_cpv()) + ":")
try:
- deps = pkg.get_runtime_deps()
+ deps = pkg.get_runtime_deps() + pkg.get_compiletime_deps()
except KeyError, e:
# If the ebuild is not found...
continue
@@ -1054,7 +1055,7 @@ class CmdListDepends(Command):
for pkg in packages:
try:
- deps = pkg.get_runtime_deps()
+ deps = pkg.get_runtime_deps() + pkg.get_compiletime_deps()
except KeyError, e:
# If the ebuild is not found...
continue