Michael Orlitzky <mjo <at> gentoo.org> writes:

> > grep -r -l --include="*.ebuild" "EAPI=6" .

> There's a chicken-and-egg problem with storing the EAPI in a variable
> within the ebuild whose EAPI you need to know to parse the ebuild that
> contains the EAPI variable whose value you need before you can parse the
> ebuild...

Ah, explains my early am fumbling around with the searches....

> It's a little silly, but the simplest workaround for that was to make
> the EAPI variable grepable. As a result, the actual regular expression
> that an EAPI declaration must match is in the PMS:
>   https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-690007.3.1

I'm going to marinate on this a bit, so any and all input and comment are
good.  Eventually, I'll write something up for the q-applets, in C. That
ought to be fun, I just hope my code does not get 'vaperized'......


;-)     
James







Reply via email to