On Sat, 03 Feb 2018 07:25:08 +0100
tu...@posteo.de wrote:
Hi,

I want to compile/install FreeCAD. I checked my python/cpython
installation, because FreeCAD wants python 2.7

I got this output

/root>eselect python list --cpython
Available Python  interpreters, in order of preference:
 [1]   python3.5
 [2]   python3.4 (uninstalled)
 [3]   python2.7
 [4]   python3.4 (uninstalled)
 [5]   python3.6
 [6]   python3.4 (uninstalled)


Not “corrupted somehow”, it’s a work-in-progress (WIP), see [1].

Why it is listing python versions, when '--cpython' is set?

Because the filter ‘--py’ for option ‘--cpython’ (action list) probably doesn’t match the condition:

   [[ ${1} == --py* && ${i} != python${1:4}* ]] && continue

in file [a] to skip not requested output.

Why do I have doubled entries?

Because your version of app-eselect/eselect-python probably doesn’t provide the function do_cleanup() in [a] to sanitise [b].


References:
 - [a] /usr/share/eselect/modules/python.eselect
 - [b] /etc/python-exec/python-exec.conf
 - [1] <https://bugs.gentoo.org/show_bug.cgi?id=635678>


--
Regards,
floyd


Reply via email to