On 20/03/2014 22:58, James wrote:
> Hello,
>
> I often go to /usr/portage/<target-dir>
> and browse the packages under a given
> category; for example /usr/portage/media-sound
>
> Rather that looking at the packages one at a time,
> It be nice to use (perhaps gentoolkit options therein) syntax/options
> to list all the packages in a (dir) group
> and the single line description, it batches?
>
> Thus allowing quickbrowsing by category to decide which packages to install
> and test, based on quickly looking at the descriptions.
> The output should look something like this?
>
> media-sound/SmarTagger
> Description: Perl script for renaming and tagging mp3s
> <snip>
> media-sound/zynaddsubf
> Description: ZynAddSubFX is an opensource software synthesizer.
>
>
> Suggestions and ideas, that already exist, are welcome;
> or do I need to hack something (ugly)?
To search the portage tree, use eix.
Those dirs are really portage categories, so use the -C <category> option:
$ eix udev
[I] sys-fs/udev
...
I] virtual/udev
...
$ eix -C sys-fs udev
[I] sys-fs/udev
...
alanm@khamul ~ $ eix -C virtual udev
[I] virtual/udev
...
{huge chunks of snippage in there for clarity, but you get the idea what
-C does}
--
Alan McKinnon
[email protected]