projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4354256
)
print Keywords in sorted order
author
fuzzyray
<fuzzyray@gentoo.org>
Wed, 19 Sep 2007 21:57:36 +0000
(21:57 -0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Wed, 19 Sep 2007 21:57:36 +0000
(21:57 -0000)
svn path=/; revision=449
trunk/src/epkginfo/epkginfo
patch
|
blob
|
history
diff --git
a/trunk/src/epkginfo/epkginfo
b/trunk/src/epkginfo/epkginfo
index 0f855e95bddf17778568f4e18a33674d7e3eda91..637deff70fac37056cf76d86bf30241b882ceecf 100755
(executable)
--- a/
trunk/src/epkginfo/epkginfo
+++ b/
trunk/src/epkginfo/epkginfo
@@
-58,10
+58,13
@@
def earch(workdir):
arch = None
archdict[arch] = pkg
+ archlist = archdict.keys();
+ archlist.sort()
+
for pkg in ebuildlist:
- print darkgreen("Keywords: ") + pkg + ":
",
- for value
,key in archdict.iteritems()
:
- if (
key == pkg and value
):
+ print darkgreen("Keywords: ") + pkg + ":",
+ for value
in archlist
:
+ if (
value and archdict[value] == pkg
):
if value[0] == "-":
print red(value),
elif "~" == value[0]: