Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds
Date: Thu, 08 Mar 2012 19:39:21
In Reply to: Re: [gentoo-dev] RFD: EAPI specification in ebuilds by Ulrich Mueller
On Thu, 8 Mar 2012 20:04:55 +0100
Ulrich Mueller <ulm@g.o> wrote:
> > Err... so what happens if 'new parsing' detects EAPI 4 and 'old > > parsing' detects EAPI 5? > > This cannot happen for a legal ebuild: > - If the ebuild is EAPI 4, then sourcing it ("old parsing") must > detect EAPI 4.
the problem here may be when "old parsing" will wrongly parse a malformed EAPI 42 assignment (so that new parsing doesnt detect an EAPI and assumes its 0) as EAPI 4. this is a purely hypothetical scenario that will be easily detected if it ever happens, though :) anyway, "new parsing" != "old parsing" should trigger a repoman warning for old EAPIs. A.