>>>>> On Mon, 12 Mar 2012, Kent Fredric wrote: > I just find a top-down regexp solution dangerously naive, as its > infering that the first line that matches the regexp *is* the EAPI > requirement field, when depending on the actual format used, that > may not be the case.
There's little danger if we require the EAPI specification to be in the first line of the ebuild. Of course the regexp should be general enough to account for a non-bash comment syntax. Ulrich