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