Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI specification in ebuilds
Date: Sat, 07 Apr 2012 02:44:50
Message-Id: 20351.43524.730580.845660@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-pms] EAPI specification in ebuilds by David Leverton
1 >>>>> On Fri, 6 Apr 2012, David Leverton wrote:
2
3 >> Right, assigning the same EAPI twice would be an example for an
4 >> ebuild that is invalid but accepted by the package manager. But
5 >> would this cause any problems?
6
7 > It's not that it's a problem in itself, it just struck me as an edge
8 > case with the potential for implementations to differ. As long as
9 > everyone's clear what the rules are it's fine.
10
11 Maybe the spec should say that the first match must be used:
12
13 "The package manager may optionally determine the EAPI of an ebuild by
14 parsing it, using the first match for the above regular expression
15 within the above line number limit."
16
17 Ulrich

Replies

Subject Author
Re: [gentoo-pms] EAPI specification in ebuilds Ulrich Mueller <ulm@g.o>