.py{c,o} files are not shareable files, they should be installed into library directory (/usr/lib64, preferably to site-packages, /usr/lib64/python2.5/site-packages) in fact I think portage trunk has a QA check for this already.
Reassigning.
Doesn't seem to happen anymore...
Sorry, but 0.9.6 which was just added: pkg_postinst() { python_mod_optimize /usr/share/${PN}/lib } pkg_postrm() { python_mod_cleanup /usr/share/${PN}/lib }
hmm, I somehow understood something else. But well, finally fixed. Sorry...