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