Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 203669
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Denis Dupeyron <calchan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mart Raudsepp <leio@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 203669 depends on: Show dependency tree
Bug 203669 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-29 11:23 0000
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 From Mart Raudsepp 2007-12-29 11:50:04 0000 -------
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 From Denis Dupeyron 2008-01-11 19:14:56 0000 -------
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 From Mart Raudsepp 2008-01-12 11:50:17 0000 -------
(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 From Denis Dupeyron 2008-01-13 15:09:52 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug