- If this package could support installation for multiple versions of Python, then please try to adjust the ebuilds to support it. - Ensure that the ebuilds do not use deprecated functions or variables. - Please check if Python 3 is supported by this package. - If this package does not support Python 3: - Specify dependency on Python 2. You can use PYTHON_DEPEND helper variable, which should be set before inheriting of python eclass. - If this package cannot support installation for multiple versions of Python, then set active version of Python using python_set_active_version(). - Ensure that shebangs in installed scripts specify correct version of Python. If shebangs are too generic (e.g. '#!/usr/bin/python'), then you can use python_convert_shebangs() to convert shebangs. (Wrapper scripts generated by python_generate_wrapper_scripts() do not require any changes.) Please see documentation [1] for more details. [1] http://www.gentoo.org/proj/en/Python/developersguide.xml
Created attachment 292271 [details] ebuild patch can't emerge in python 2.5 Otherwise tested, all AOK. Usual bump to EAFI 3.
Portage itself requires Python >=2.6 and it has no relation to Python version required by other packages. If you install sys-apps/portage with USE="python3", then you will be able to set active version of Python 2 to 2.4 or 2.5 and still use Portage (Portage will use active version of Python 3 regardless of active version of Python 2). Use PYTHON_DEPEND="2". Such pkg_setup() is not needed.
Created attachment 292489 [details, diff] ebuild patch revised done
(In reply to comment #3) Shebang in /usr/bin/cfv should be fixed.
Created attachment 292593 [details, diff] revised ebuild patch done
(In reply to comment #5) This patch is identical to previous patch.
Created attachment 292823 [details, diff] revised ebuild patch
(In reply to comment #7) In cfv-1.18.3.ebuild, dependency on Python will be specified using PYTHON_DEPEND, so dev-lang/python in explicit RDEPEND is not needed.
Created attachment 292973 [details, diff] revised ebuild patch sheeesh; missed one. practice practice practice
Thanks, commited.