checking if module mako in python is installed... No module named mako configure: error: mako 0.3.4 or later is required. Since mesa still requires mako for python-2.7 (WTF?) but doesn't specify so. Please add [${PYTHON_USEDEP}] to the dependency.
Thanks for the report. I must be doing something obviously wrong... but I'm not sure what: > >=dev-python/mako-0.7.3[${PYTHON_USEDEP}] yields: > Error(s) in metadata for 'media-libs/mesa-10.5.0_rc1': > DEPEND: Invalid atom (Invalid use dep: ''), token 163 Looks like PYTHON_USEDEP is undefined, but we're inheriting python-any-r1 which seems to define it. I see other packages like libxcb use python_gen_any_dep, but I don't understand why. In any case, > $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") seems to fix it. Is that what I should do?
Global-scope won't work for python-any-r1 since it does not define any flags in IUSE. And yes, python_gen_any_dep is the correct solution.
Thanks mgorny! And... fixed!