Summary: | kde-base/lokalize: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Wizzleby |
Priority: | High | Keywords: | InOverlay |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
![]() While this package seems substantially buggy for me regardless, I have been unable to notice any bugs exclusive to running with python 3 set as the system python interpreter. Can anyone else confirm this? merging also succeeds with python3 as system python. kde-base/lokalize-4.4.2 installs 6 .py files into /usr/share/apps/lokalize/scripts directory. 5 of them don't have shebangs. /usr/share/apps/lokalize/scripts/odf/xliffmerge.py has '#!/usr/bin/env python' shebang and doesn't support Python 3 (AttributeErrors for .has_key() and .itervalues()). At least dependencies should be fixed and python_convert_shebangs() should be called. > At least dependencies should be fixed and python_convert_shebangs() should be
> called.
So would there be call for patching the 5 .py files which lack shebangs to include proper shebangs as well?
Added missing kde4-meta_pkg_postinst, moved 'convert shebangs' to src_install and moved ebuild to tree. Thanks! |