1 |
On 08/06/2018 04:23 PM, Toralf Förster wrote: |
2 |
> On 08/06/2018 10:09 PM, Alec Warner wrote: |
3 |
>> |
4 |
>> They do not even do so by convention; there are numerous EAPIs in the |
5 |
>> wild that are non-numeric. |
6 |
> |
7 |
> Then this line |
8 |
> |
9 |
> if [[ ${EAPI} == [0123456] ]]; then |
10 |
> |
11 |
> is a short-term solution, right? |
12 |
|
13 |
Presumably any new EAPIs will want BDEPEND rather than DEPEND, and |
14 |
there's a complete whitelist, |
15 |
|
16 |
case ${EAPI:-0} in |
17 |
0|1|2|3|4|5|6|7) ;; |
18 |
|
19 |
of supported EAPIs at the top of the eclass. So it will probably do the |
20 |
right thing for a new EAPI, but somebody's going to have to read the |
21 |
code and think about it when the time comes anyway. |