app-portage/porthole-0.3.1 installs .py files in /usr/lib/porthole When you upgrade or downgrade Python you get a Bad Magic Number error when you run porthole. They should go in /usr/lib/python${VERSION}/site-packages so the python-updater script can find and re-emerge it.
Created attachment 41914 [details] porthole-0.4.0 unmerge log I am working on changing the install to site-packages instead of /usr/lib/porthole. As for the *.pyc file not being unmerged, they were.
I have made the changes and there is a link to the tarball on bug [url=http://bugs.gentoo.org/show_bug.cgi?id=67198]#67198[/url]. I should have attached the unmerge log to bug 67198. I don't know if it matters enough to warrant changing it.
These changes are in the new -0.4.1_rc1 release. Bug # 68670.
0.4.1 is in the tree and 0.3.1 removed so I consider this fixed.