qBittorrent-9999 (and maybe 3.2.3 too) uses python 3 if present for search plugins, while ebuild depends on python 2 only. Please add python3_4 to PYTHON_COMPAT. Reproducible: Always Steps to Reproduce: run search and look for spawned python processes or check https://github.com/qbittorrent/qBittorrent/blob/master/src/core/utils/misc.cpp
as usual i am going to need some python@ help here for multiple python implementations
(In reply to Markos Chandras from comment #1) > as usual i am going to need some python@ help here for multiple python > implementations Delete lines 260-275 in https://github.com/qbittorrent/qBittorrent/blob/master/src/core/utils/misc.cpp Use plain python not python2/3. The rest will be handled by the Gentoo python system.
Is there no way to do it without patching the sources?
Is it linked to python? If it is only calling the python interpreter, but has no python modules installed, you can just leave it as is, use python-single-r1.eclass and depend on all python versions. If it installs modules, you need to delete those lines and patch line 279 to explicitly call the python used during installation e.g. /python/python3.4/.
It does not install python modules in the system.
A patch would be much appreciated
diff --git a/src/core/utils/misc.cpp b/src/core/utils/misc.cpp index ceef86d..93a3cec 100644 --- a/src/core/utils/misc.cpp +++ b/src/core/utils/misc.cpp @@ -258,7 +258,7 @@ QString Utils::Misc::pythonExecutable() static QString executable; if (executable.isEmpty()) { QProcess pythonProc; -#if defined(Q_OS_UNIX) +#if 0 /* * On Unix-Like Systems python2 and python3 should always exist * http://legacy.python.org/dev/peps/pep-0394/
For me a ebuild with the following changes works: PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) and inherit python-any-r1
All python stuff in the ebuild is gone with 3.3.4-r1. This is therefore obsolete.