Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-pms
On 04/10/2012 09:30 AM, Brian Harring wrote:
> On Tue, Apr 10, 2012 at 08:43:55AM -0700, Zac Medico wrote:
>> On 04/10/2012 03:53 AM, Ulrich Mueller wrote:
>>> +^[ \t]*EAPI=(['"]?)([A-Za-z0-9+_.-]*)\1[ \t]*(#.*)?$
>>
>> We could make the ([A-Za-z0-9+_.-]*) group "optional", but treat it as
>> an error if the group is missing. That way, the package manager can
>> detect invalid assignments earlier, and can skip sourcing the ebuild in
>> this case.
>
> Or disallow EAPI= .
My intention was to catch anything that starts with the ^[ \t]*EAPI=
part. For my optional group thing to work, I guess you'd also have to
add a (.*)? group to match whatever invalid characters may be there.
--
Thanks,
Zac
|
|