On 04/11/2012 01:04 AM, Ulrich Mueller wrote:
>>>>>> On Wed, 11 Apr 2012, David Leverton wrote:
>> On 10 April 2012 22:41, Ciaran McCreesh <ciaran.mccreesh@...> wrote:
>>> If the EAPI is to be specified, it must be assigned to precisely once.
>>> The assignment must occur within the first 20 lines of the ebuild, must
>>> not be preceded by any lines other than blank lines or those that start
>>> with optional whitespace followed by a # character, and the assignment
>>> statement must match the following regular expression:
>> Do we still need the 20 line limit if we're doing it this way?
> I see no advantage in keeping the 20 line limit.
Yeah, it makes the 20 line limit redundant, and the only purpose of the
20 line limit was to support existing ebuilds in the wild.
Since the EAPI parsing behavior is optional for older EAPIs, package
managers can simply trigger a warning when they detect non-conformant
ebuilds in the wild, and eventually make it fatal after the community
has had sufficient warning.