Summary: | Add a repoman check for packages missing PYTHON_REQUIRED_USE | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Pacho Ramos <pacho> |
Component: | Repoman | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | kensington, python |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pacho Ramos
2013-06-04 15:06:14 UTC
I'm not quite sure what that check would look like. Also, it is possible for the ebuild developer to come up with his own REQUIRED_USE constraint which would serve the same purpose. Does repoman have access to the resulting value in REQUIRED_USE? It may be better to check for python_targets_* than PYTHON_REQUIRED_USE specifically. (In reply to Mike Gilbert from comment #1) > I'm not quite sure what that check would look like. Me neither. Patches welcome. :) > Also, it is possible for the ebuild developer to come up with his own > REQUIRED_USE constraint which would serve the same purpose. > > Does repoman have access to the resulting value in REQUIRED_USE? Yes, REQUIRED_USE is part of one of the cached metadata variables (like IUSE, *DEPEND, and stuff). And, what about checking for that variable in eclass? That way, if PYTHON_REQUIRED_USE is not being exported, eclass could show a warning :/ You can't reference REQUIRED_USE in eclass safely. However, we could do a simple repoman check that would scan REQUIRED_USE for anything python_targets*. That should be good enough IMO. Moving to the new bug where more discussion happened. *** This bug has been marked as a duplicate of bug 530092 *** |