Summary: | dev-python/pyside-tools-0.2.9 does not byte-compile the python modules it installs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Mayo <aklhfex> |
Component: | New packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild patch
ebuild patch ebuild patch |
The bug summary makes no sense, could you explain what the issue is please? You're right. Title corrected to say compile. None of the files installed in /usr/lib64/python2.7/site-packages/pysideuic/ are compiled. No they don't, the ebuild doesn't implement the byte compiling function. Should it? Created attachment 296569 [details, diff]
ebuild patch
Created attachment 296577 [details, diff]
ebuild patch
This take it a little further.
EAPI4, uses distutils making calling of mod_optimize and mod_cleanup not required to byte compile the module
Chris had it right the first time. :) + 21 Dec 2011; Mike Gilbert <floppym@gentoo.org> pyside-tools-0.2.13.ebuild: + Call python_mod_optimize to byte-compile python modules. Patch by Chris Mayo + in bug 381471. |
Created attachment 285277 [details] ebuild patch Fixed for me with the attached patch to the ebuild, which includes an EAPI bump to support the use of python_mod_optimize.