Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67610

Summary: porthole *.py files not in site-packages
Product: Gentoo Linux Reporter: Rob Cakebread (RETIRED) <pythonhead>
Component: New packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: porthole-0.4.0 unmerge log

Description Rob Cakebread (RETIRED) gentoo-dev 2004-10-14 20:27:08 UTC
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.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2004-10-15 13:23:40 UTC
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.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2004-10-16 10:09:03 UTC
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.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2004-10-23 18:53:24 UTC
These changes are in the new -0.4.1_rc1 release.  Bug # 68670.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-12-08 04:07:45 UTC
0.4.1 is in the tree and 0.3.1 removed so I consider this fixed.