1 |
>>>>> On Fri, 6 Apr 2012, David Leverton wrote: |
2 |
|
3 |
>> Right, assigning the same EAPI twice would be an example for an |
4 |
>> ebuild that is invalid but accepted by the package manager. But |
5 |
>> would this cause any problems? |
6 |
|
7 |
> It's not that it's a problem in itself, it just struck me as an edge |
8 |
> case with the potential for implementations to differ. As long as |
9 |
> everyone's clear what the rules are it's fine. |
10 |
|
11 |
Maybe the spec should say that the first match must be used: |
12 |
|
13 |
"The package manager may optionally determine the EAPI of an ebuild by |
14 |
parsing it, using the first match for the above regular expression |
15 |
within the above line number limit." |
16 |
|
17 |
Ulrich |