Patch provides a new EOutput class for the Portage output.py module. EOutput is a convenient Python port of the familiar ebegin(), eend(), eerror(), einfo(), einfon(), ewarn(), and ewend() functions from /sbin/functions.sh. The inline documentation is written according to Chris White's new Portage API documentation proposal currently being discussed on gentoo-portage-dev [1]. As an aside, you can generate nice HTML formatted API docs for EOutput from the source with the following command if you have epydoc installed: epydoc --name Portage -o ~/epydoc output.py [1] http://tinyurl.com/f3wb8
Created attachment 91961 [details, diff] output.py-eoutput.patch
Created attachment 92023 [details, diff] use ebegin and eend for checksums This patch uses ebegin and eend to enhance the visual output when portage performs checksums. The ;-) is sort of redundant, but I kept it because I know that some people are extremely attached to it. :)
Created attachment 92066 [details, diff] output.py-eoutput.patch Updated to correct a couple of minor errors in the docstrings.
Thanks, your patch is in svn r3924.
This has been released in 2.1.1_pre3-r2.