Gentoo Archives: gentoo-dev

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds
Date: Fri, 09 Mar 2012 03:07:16
In Reply to: Re: [gentoo-dev] RFD: EAPI specification in ebuilds by Alec Warner
On 03/08/2012 06:31 PM, Alec Warner wrote:
>> >> Did someone already propose replacing EAPI=foo with a function call akin to >> inherit? > > the eapi function doesn't exist in earlier eapis, so you end up doing > the rename thing. Otherwise old package managers barf on the new > syntax. I still think going with a comment is better than this. >
There is an apparent workaround: EAPI=5 eapi 5 We could do that for however long it takes PMs to adopt the 'eapi' function. It requires one redundant line in the ebuild for a while, like the comment solution, but then ultimately we're left with standard bash instead of a magic comment.