Gentoo Archives: gentoo-pms

From: Brian Harring <ferringb@×××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI specification in ebuilds
Date: Fri, 06 Apr 2012 17:32:15
In Reply to: Re: [gentoo-pms] EAPI specification in ebuilds by "Robin H. Johnson"
On Fri, Apr 6, 2012 at 10:29 AM, Robin H. Johnson <robbat2@g.o>wrote:

> On Fri, Apr 06, 2012 at 09:40:16AM +0200, Ulrich Mueller wrote: > > +To enable parsing of ebuilds for the \t{EAPI} value, the \t{EAPI} > assignment statement must adhere > > +to the following syntax: It must consist of the string \t{EAPI}, > followed by an equals sign, > > +followed by the \t{EAPI} value, optionally enclosed in single or double > quotes. The statement must > > +be on its own line, optionally preceded or followed by whitespace > (spaces or tabs), optionally > > +followed by a comment. Thus, the line must match the following regular > expression: > > +\begin{verbatim} > > +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$ > EAPI= > is valid in this. Was that intended? > > Will there be any issue overriding EAPI as an env var to call a > function/command? > EAPI=... foo >
That's kind of a no no; specific usage? ~harring