Summary: | media-tv/xbmc: Verify and potentially improve Python-related code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Component: | Current packages | Assignee: | Gentoo Xbox project <xbox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | leho, praetor.zero |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 308257 |
Description
Arfrever Frehtes Taifersar Arahesis (RETIRED)
![]() *** Bug 350098 has been marked as a duplicate of this bug. *** Specifically this package needs patching to allow building against python 2.7 Patches are provided for this here: http://trac.xbmc.org/ticket/9584 Also, why is this bug assigned to xbox herd since XBMC doesn't support the xbox as a platform anymore? XBMC is just a normal PC application. this bug isnt about python-2.7 compatibility https://github.com/xbmc/xbmc/commit/598dfdce5b sheds internal Python, so the bigger issues will fortunately become moot soon enough. Current ebuild does install some minor stuffs into site-packages though which could be done in a cleaner way indeed. Very important is the call of /usr/share/xbmc/FEH.py in /usr/bin/xbmc:106 python /usr/share/xbmc/FEH.py $SAVED_ARGS This should be changed to python2. I use python3 as default python version and can't even start xbmc because FEH.py hast python2 syntax. we use python eclass now and PYTHON_DEPEND. don't really know what else there is to do, so this bug isn't really helping. COMMON_DEPEND contains >=dev-lang/python-2.4, which matches Python 3. I suggest to call python_mod_optimize() and python_mod_cleanup() on files/directories installed by this package in /usr/lib*/python*/site-packages. Example: pkg_postinst() { python_mod_optimize xbmcclient.py } pkg_postrm() { python_mod_cleanup xbmcclient.py } |