On 01/11/10 09:47, Arfrever Frehtes Taifersar Arahesis wrote: > 2010-01-11 04:55:02 Sebastian Pipping napisaĆ(a): >>>>> PYTHON_DEPEND="2:2.5:2.6" >>>>> Dependency on Python 2.6 or 2.5. >> >> The colon (':') has two different semantics here. > > The colon is only separator of components, so it has the same semantic. > Each component has strictly defined meaning.
The first ':' is a slot colon while the second one is a from-to colon. I fail to see how that is the same semantic. Also, in normal dependency notation the slot is suffix-like (e.g. package:2) whereas in this syntax it's prefix-like - the opposite. Wouldn't it be more intuitive to make suffix-like use of it? Looking from another angle there is range syntax being used for kernel-check already. It looks like this: [linux >=2.6.16 <2.6.31] (examples on <http://dev.gentoo.org/~asym/guide.xml>) Maybe you could adjust that to your needs. I'm not sure where that syntax is defined but afair rbu should be a good contact on that subject (Robert?). Sebastian