diff options
author | 2011-03-23 20:20:55 +0100 | |
---|---|---|
committer | 2011-03-23 20:20:55 +0100 | |
commit | 00b129cfbdea7536a2823563531799d62cd20bb9 (patch) | |
tree | 31c15f1bb80738df68e58138a7d5f6b68517966e /scripts | |
parent | media-libs/libdmapsharing -> net-libs/libdmapsharing (diff) | |
download | gnome-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.py | 6 |
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__": |