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 16:52:28
Message-Id: 4F58E366.1080904@gentoo.org
In Reply to: Re: [gentoo-dev] RFD: EAPI specification in ebuilds by Ciaran McCreesh
On 03/08/2012 08:29 AM, Ciaran McCreesh wrote:
> On Thu, 08 Mar 2012 08:21:53 -0800 > Zac Medico<zmedico@g.o> wrote: >> Maybe that sort of distinction truly makes a difference to some >> people, but to me it just seems like hair-splitting [1]. > > So just to get this straight, you think that the following two > restrictions are effectively equivalent? > > * The variable DEPEND's value must be set according to the following > rules: > > * The EAPI variable assignment must not use full bash syntax. Instead, > it must be assigned according to the following rules:
Yeah, I think they're reasonably/roughly equivalent for how we use them in the current context.
> And you believe that having exactly one place inside ebuild text where > there are different whitespace, quoting and indenting rules for > something that otherwise looks exactly like any other metadata variable > isn't going to cause problems?
Yes, with the stipulation that we implement a sanity check / feedback mechanism which guarantees that the probed EAPI is identical with the result obtained from bash [1]. [1] https://bugs.gentoo.org/show_bug.cgi?id=402167#c18 -- Thanks, Zac