Adds description searching as an option to -s Patch against 2.0.15 Equivalent: emerge -s --searchdesc html emerge -sS html emerge -S html Fairly straightforward. The try/except blocks are commented for the exceptions they handle. Apparently Python optimizes repetitive blocks well, as I tried to do a speedup by using an integer comparison versus an 'in myarray' type, and saw no difference in speed.
For ease of clicking: http://gentoo.twobit.net/portage/emerge-2.0.15-desc.diff
This is in 2.0.18+ or thereabouts