I have system with python-3.3 only, when i try to install mesa-10.1.1 emerge does not install python-2.7 because DEPEND does not have ${PYTHON_DEPS}. Python team, pleas check if python-any-r1.eclass is used correctly and there are no other mistakes.
checking for python2... /usr/bin/python2.7 checking python2.7 module: libxml2... no configure: error: failed to find required module libxml2
Simple diffing tells me that correct python-related code was misteriously removed: - $(python_gen_any_dep 'dev-libs/libxml2[python,${PYTHON_USEDEP}]') " -python_check_deps() { - has_version --host-root "dev-libs/libxml2[python,${PYTHON_USEDEP}]" -} - Seems like this should be reverted. @x11, please react :)
This seems to be the commit. I guess the ebuild was created on top of 'too new' git ebuild. commit d25cf62e7b0306afba5a9020f4c14c0c7bde2951 Author: Matt Turner <mattst88@gmail.com> Date: Thu Mar 27 11:49:48 2014 -0700 media-libs/mesa: Drop libxml2 dependency. Replaced upstream in 2de70fe23 with python's built-in ElementTree.
Reverted the change in 10.1.1: + 29 Apr 2014; Michał Górny <mgorny@gentoo.org> mesa-10.1.1.ebuild: + Restore libxml2 dep that was removed prematurely, bug #509066. and added missing ${PYTHON_DEPS} in 9999 (either of ${PYTHON_DEPS} or $(python_gen_any_dep ...) needs to be used).
Thanks Michał!