For example: $ epkginfo faac Package: media-libs/faac Herd: sound Maintainer: sound Location: /usr/portage_cvs/gentoo-x86/media-libs/faac Keywords: faac-1.24-r2: ~mips Keywords: faac-1.24-r4: ~alpha ~arm ~ia64 ~ppc ~ppc64 ~sh ~x86 Keywords: faac-1.25: ~amd64 ~hppa ~sparc Keywords: faac-1.26-r1: alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd I would expect something like: $ epkginfo faac Package: media-libs/faac Herd: sound Maintainer: sound Location: /usr/portage_cvs/gentoo-x86/media-libs/faac Keywords: faac-1.24-r2: ~mips Keywords: faac-1.24-r4: Keywords: faac-1.25: Keywords: faac-1.26-r1: alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd since 1.26-r1 is also the best visible for ~arch that would greatly help for knowing which version can be safely removed ;) (though it doesn't seem to handle package.mask)
Fixing the output, meh...it works now package.mask support on the other hand...cool enhancement.
Created attachment 193665 [details, diff] Make epkginfo slot aware and only print keywords for the highest visible versions in each slot
Example: $ epkginfo glib Package: dev-libs/glib Herd: gnome Maintainer: none Location: /usr/portage/dev-libs/glib Keywords: glib-1.2.10-r5[1]: alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~mips ~x86-fbsd Keywords: glib-2.16.6-r1[2]: Keywords: glib-2.18.4-r1[2]: alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 Keywords: glib-2.18.4-r2[2]: Keywords: glib-2.20.1[2]: Keywords: glib-2.20.1-r1[2]: Keywords: glib-2.20.2[2]: ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd
Good work. Thanks (few)
$ svn commit -m "Add patch from Sebastian Mingramm to Make epkginfo slot aware and only print keywords for the highest visible versions in each slot. (Bug 232635)" Sending gentoolkit/ChangeLog Sending gentoolkit/bin/epkginfo Transmitting file data .. Committed revision 662.
Released in gentoolkit-0.3.0_rc7