Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI specification in ebuilds
Date: Fri, 06 Apr 2012 18:13:12
In Reply to: Re: [gentoo-pms] EAPI specification in ebuilds by "Robin H. Johnson"
>>>>> On Fri, 6 Apr 2012, Robin H Johnson wrote:
>> +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$ > EAPI= > is valid in this. Was that intended?
An empty EAPI is equivalent to EAPI 0 (says PMS), therefore "EAPI=" is valid in ebuilds. But this is sort of academic, because no ebuild in the tree contains an empty EAPI assignment.
> Will there be any issue overriding EAPI as an env var to call a > function/command? > EAPI=... foo
This won't match the regexp, and I believe that such usage is illegal anyhow. Ulrich