On 03/08/2012 09:52 AM, Michał Górny wrote:
On Wed, 7 Mar 2012 21:41:02 +0100 Ulrich Mueller<[email protected]> wrote:1b) It is only applied for EAPI 5 and later (which means that the result of the EAPI parsing would be discarded for earlier EAPIs).Err... so what happens if 'new parsing' detects EAPI 4 and 'old parsing' detects EAPI 5? Or more exactly, how does it know when an older EAPI is used if it is supposed to not use the value it uses to detect EAPI?
We can simply detect this case and treat it as an error. The purpose of the "discarded for earlier EAPIs" part is to allow more variance for older EAPIs, and treating this case as an error will probably affect zero or a negligible number of older ebuilds in practice.
-- Thanks, Zac
