Summary: | media-libs/mesa fails because of missing PYTHON_USEDEP | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ben de Groot (RETIRED) <yngwin> |
Component: | [OLD] Library | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ben de Groot (RETIRED)
2015-02-22 04:14:14 UTC
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! |