Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174325 - Description of "Dependency specification format" is hard to extend
Summary: Description of "Dependency specification format" is hard to extend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 18:41 UTC by Marien Zwart (RETIRED)
Modified: 2008-03-17 17:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2007-04-12 18:41:43 UTC
It is likely more use cases for this syntax will come up in the future
(like the incomplete proposal to describe valid USE flag states with
it), so explicitly referring to the valid contents in sentences like
"any-of dependencies only make sense for dependencies and licenses" is
unfortunate. It would be better to keep the description of any-of
groups and the like more general and move extra restrictions to the
place where they actually apply. If this is considered a good idea I
will try to come up with a reasonably complete patch.

(There are two reasons for this change: to allow extending the
"depset" syntax in a future EAPI and to allow using this syntax in
different places in a future EAPI).
Comment 1 Ciaran McCreesh 2007-04-12 19:05:01 UTC
AFAICS, the way it is currently makes it easiest to extend things without accidental consequences. any-of and all-of groups have entirely different meanings depending upon where they appear.
Comment 2 Ciaran McCreesh 2008-03-17 17:59:17 UTC
This whole thing's been reworded now.