Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds
Date: Thu, 08 Mar 2012 15:28:43
In Reply to: Re: [gentoo-dev] RFD: EAPI specification in ebuilds by Alec Warner
On 03/08/2012 12:13 AM, Alec Warner wrote:
> On Wed, Mar 7, 2012 at 11:27 PM, Ulrich Mueller <ulm@g.o> wrote: >> Such constructs also cannot be used with any of the other proposed >> solutions. And in fact, nobody is using such things in practice. >> _All_ ebuilds in the Portage tree can be successfully parsed with the >> regexp proposed. > > I'm not saying they are valid EAPI syntax; but they are all valid > bash. I tend to assume all authors are as...ignorant as myself. Lets > not give them the rope to hang themselves.
Something like DEPEND="foo bar" is also valid bash, and yet we don't allow that either because "foo bar" does not contain valid dependency atoms. Also, keep in mind that we're not allowing people to "hang themselves" with invalid EAPI assignments. We'll simply give them a reasonable error message so that they can quickly and easily correct their mistake. -- Thanks, Zac


Subject Author
Re: [gentoo-dev] RFD: EAPI specification in ebuilds David Leverton <levertond@××××××××××.com>