Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203669 - net-print/hplip-2.7.12 doesn't use python.eclass
Summary: net-print/hplip-2.7.12 doesn't use python.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-29 11:23 UTC by Mart Raudsepp
Modified: 2008-01-13 15:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2007-12-29 11:23:02 UTC
The hplip ebuilds don't make use of the python module compile and cleanup functions in python.eclass, causing *.pyc files to be left behind on uninstall with USE=X
Comment 1 Mart Raudsepp gentoo-dev 2007-12-29 11:50:04 UTC
Additionally it installs python files outside of site-packages, which might not be so nice on python 2.4->2.5 and future updates, as python-updater might not find them. Not sure about that though
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2008-01-11 19:14:56 UTC
I'm working on this. One thing I don't understand, though, is how you can get .pyc files which are normally the result of running the optimize function from the eclass which isn't being used at the moment. Ant idea about this ?

Denis.
Comment 3 Mart Raudsepp gentoo-dev 2008-01-12 11:50:17 UTC
(In reply to comment #2)
> how you can get
> .pyc files which are normally the result of running the optimize function from
> the eclass which isn't being used at the moment. Ant idea about this ?

I believe that if the python scripts are ran with python -O or something like that, then the python interpreter itself saves the compiled results next to the .py for later time gains on next executing of that same script
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2008-01-13 15:09:52 UTC
It's now fixed in 2.7.12-r1. As per our conversation, I didn't move the python stuff into site-packages as this looked like a scary idea.

Denis.