summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2011-03-23 20:20:55 +0100
committerGilles Dartiguelongue <eva@gentoo.org>2011-03-23 20:20:55 +0100
commit00b129cfbdea7536a2823563531799d62cd20bb9 (patch)
tree31c15f1bb80738df68e58138a7d5f6b68517966e /scripts
parentmedia-libs/libdmapsharing -> net-libs/libdmapsharing (diff)
downloadgnome-00b129cfbdea7536a2823563531799d62cd20bb9.tar.gz
gnome-00b129cfbdea7536a2823563531799d62cd20bb9.tar.bz2
gnome-00b129cfbdea7536a2823563531799d62cd20bb9.zip
scripts/slot_rindex2.py: show atom used in ebuild
Diffstat (limited to 'scripts')
-rw-r--r--scripts/slot_rindex2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/slot_rindex2.py b/scripts/slot_rindex2.py
index e3db2fcc..c9e45478 100644
--- a/scripts/slot_rindex2.py
+++ b/scripts/slot_rindex2.py
@@ -55,15 +55,15 @@ def main():
mypkg_slot = "unset"
if mypkg_slot not in res_slots:
- res_slots[mypkg_slot] = [cpvr]
+ res_slots[mypkg_slot] = [(cpvr, depend)]
else:
- res_slots[mypkg_slot].append(cpvr)
+ res_slots[mypkg_slot].append((cpvr, depend))
#print(portage.dep.dep_getkey(depend) + ' uses ' + sys.argv[1] + ' slot ' + portage.dep.dep_getslot(depend))
for slot in sorted(res_slots):
print('%s:%s' % (sys.argv[1], slot))
for rescpv in res_slots[slot]:
- print(' ' + rescpv)
+ print(' %s (as %s)' % rescpv)
if __name__ == "__main__":