Created attachment 272397 [details, diff] Patch to the ebuild to rectify the issue. dev-python/restkit requires Python 2.5 or later, however python:2.4 is still in the portage tree and compilation will be enabled if USE_PYTHON contains 2.4. Error message: >>> Compiling source in /home/portage/portage/dev-python/restkit-3.0.2/work/restkit-3.0.2 ... * Building of dev-python/restkit-3.0.2 with CPython 2.4... python2.4 setup.py build -b build-2.4 Restkit requires Python 2.5 or later. Solution would be to restrict that Python ABI.
PYTHON_DEPEND="2:2.5" RESTRICT_PYTHON_ABIS="2.4 3*" done
+ 29 Nov 2011; Mike Gilbert <floppym@gentoo.org> restkit-3.0.2.ebuild: + Restrict python 2.4, fixes bug 366357.