Gentoo Archives: gentoo-pms

From: Zac Medico <zmedico@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI specification in ebuilds
Date: Tue, 10 Apr 2012 15:44:23
Message-Id: 4F84553B.4040104@gentoo.org
In Reply to: Re: [gentoo-pms] EAPI specification in ebuilds by Ulrich Mueller
1 On 04/10/2012 03:53 AM, Ulrich Mueller wrote:
2 > +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$
3
4 We could make the ([A-Za-z0-9+_.-]*) group "optional", but treat it as
5 an error if the group is missing. That way, the package manager can
6 detect invalid assignments earlier, and can skip sourcing the ebuild in
7 this case.
8 --
9 Thanks,
10 Zac

Replies

Subject Author
Re: [gentoo-pms] EAPI specification in ebuilds Brian Harring <ferringb@×××××.com>