aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-05-05 03:34:02 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-05-05 03:34:02 +0000
commit3016ccac78729fb13c37c5feadfc48bfcf291c7d (patch)
tree12e5825bf3257ac1ee9449c23fa01515e2398e35 /bin
parentonly check digests when unpacking/fetching #29333 (diff)
downloadportage-cvs-3016ccac78729fb13c37c5feadfc48bfcf291c7d.tar.gz
portage-cvs-3016ccac78729fb13c37c5feadfc48bfcf291c7d.tar.bz2
portage-cvs-3016ccac78729fb13c37c5feadfc48bfcf291c7d.zip
Added full support for OR-based dependencies. Still need to sort out
virtuals and provide a public interface for TargetGraph.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_target_graph.py17
1 files changed, 14 insertions, 3 deletions
diff --git a/bin/test_target_graph.py b/bin/test_target_graph.py
index aafe533..5acc490 100755
--- a/bin/test_target_graph.py
+++ b/bin/test_target_graph.py
@@ -35,8 +35,19 @@ for x in tgraph.unmatched_atoms.keys():
pkg = GluePkg(cpv, "virtual", slot, use, DependSpec(), rdeps)
tgraph.add_package(pkg)
-for x in tgraph.pkgrec:
- if tgraph.pkgrec[x][1]:
- print x, tgraph.pkgrec[x]
+#for x in tgraph.pkgrec:
+# print x, tgraph.pkgrec[x]
+import sys
+sys.exit(0)
+
+print
+print tgraph.pkgrec
+print
print tgraph.unmatched_atoms
+print
+print tgraph.unmatched_preferentials
+print
+print tgraph.preferential_atoms
+print
+print tgraph.reverse_preferentials