I have python 2.5 and python 2.6 installed in slots. I need to use python 2.5 as current python because a lot of packets don't work with python 2.6 (deluge, bzr) Does it possible to enable commands "eselect python update --ignore 3.0 --ignore 3.1" from /usr/portage/dev-lang/python/python***.ebuild by some use flag ? Reproducible: Always Steps to Reproduce: 1.emerge -uDN python 2. 3.
I'm not sure if I understand what you want. You complain about eselect python update being run after emerge python? Why do you emerge it more than once?
Every time I run "emerge -uDN world" two versions of Python (2.5 and 2.6) compete which would be current. It happens because of automatic execution of "eselect python set python2.x" during the update process.
It is intended behavior.
I have described the situation in which "intended" behavior of the ebuild breaks the system. A simple command emerge -uDNpv world makes a half of ebuilds to build using python 2.5 and the second - using python 2.6, also ebuilds bzr and deluge stop to build. Please show me how to keep installed python 2.5 and python 2.6 without breaking my syste
I have described the situation in which "intended" behavior of the ebuild breaks the system. A simple command emerge -uDNpv world makes a half of ebuilds to build using python 2.5 and the second - using python 2.6, also ebuilds bzr and deluge stop to build. Please show me how to keep installed python 2.5 and python 2.6 without breaking my system?
It maybe will be fixed in EAPI=4 or later...
Even without solving the ABI awareness issue of the package manager, overwriting the "python" symlink should be reevaluated. The python_makesym() function in python.eclass currently simply overwrites the "/usr/bin/python" symlink with the latest version, which defeats the purpose of "eselect python" and will cause broken emerge runs due to a python change in the middle. Instead, the eclass should determine the python version selected by the administrator and update the symlink accordingly (or if it's broken / on unmerges)
(In reply to comment #7) I removed python_makesym() function.