Summary: | [ebuild] kde-base/pykde4 installs wrong *.pyc files, other KDE4 packages fails to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oldrich Jedlicka <oldium.pro> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 230205 | ||
Attachments: |
Updated ebuild containing partial workaround for python-2.6
Updated ebuild containing partial workaround for python-2.6 Updated ebuild with workaround - simplified to utilize fix from bug #253593 Patch for ebuild - simplified one |
Description
Oldrich Jedlicka
2009-01-03 18:18:02 UTC
Created attachment 177238 [details]
Updated ebuild containing partial workaround for python-2.6
The workaround in attached patch fixes pyc files in /usr/lib/python*/site-packages/PyKDE4/* only. There are more pyc files that probably need to be fixed too (located at /usr/kde/4.2/share/apps/pykde4, if you do use "kdeprefix" USE flag).
I forgot to note that this is python-2.6 problem, python-2.5 looks like it is happy. Created attachment 177248 [details]
Updated ebuild containing partial workaround for python-2.6
Added python clean-up part
Created attachment 177252 [details] Updated ebuild with workaround - simplified to utilize fix from bug #253593 With the fix from bug #253593 the python_version function can be used again. Post diff please please, it is hell to work throught pasted ebuild and our ones since we might update them and we dunno what changed and what not. Thanks Created attachment 177270 [details, diff]
Patch for ebuild - simplified one
The changes are only in new methods src_install, pkg_postinst and pkg_postrm. (In reply to comment #5) > Post diff please please, it is hell to work throught pasted ebuild and our ones > since we might update them and we dunno what changed and what not. > Thanks When using distributed version control, there should be no such problems like that. Just `git stash`, copy my version in your tree and you will see the changes via gitk (assumes you are using kde-testing via git). On overlay -> fixored. |