On Sat, Oct 23, 2010 at 10:54:52PM +0200, Arfrever Frehtes Taifersar Arahesis wrote: > Subpatch #11 adds temporary support for EAPI="0" in python_get_implementational_package() to work > around a part of bug #340395. > This subpatch is very small, so I'm planning to commit it with the rest of subpatches. > > -- > Arfrever Frehtes Taifersar Arahesis > --- python.eclass > +++ python.eclass > @@ -1711,10 +1711,18 @@ > fi > fi > > - if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then > - echo "dev-lang/python:${PYTHON_ABI}" > - elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then > - echo "dev-java/jython:${PYTHON_ABI%-jython}" > + if [[ "${EAPI:-0}" == "0" ]]; then > + if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then > + echo "=dev-lang/python-${PYTHON_ABI}*" > + elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then > + echo "=dev-java/jython-${PYTHON_ABI%-jython}*" > + fi > + else > + if [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "CPython" ]]; then > + echo "dev-lang/python:${PYTHON_ABI}" > + elif [[ "$(_python_get_implementation "${PYTHON_ABI}")" == "Jython" ]]; then > + echo "dev-java/jython:${PYTHON_ABI%-jython}" > + fi > fi > } > Well, I found sometime today and looked at your patches. Even thought I find it quite hard to familiarize myself with the *rather complex* python.eclass, I think your patches are fine if I may say. -- Markos Chandras (hwoarang) Gentoo Linux Developer Web: http://hwoarang.silverarrow.org Key ID: 441AC410 Key FP: AAD0 8591 E3CD 445D 6411 3477 F7F7 1E8E 441A C410