On 8/1/2021 08:19, Mart Raudsepp wrote: > Ühel kenal päeval, P, 01.08.2021 kell 00:58, kirjutas Joshua Kinard: >> numeric value of the supported EAPI > > EAPI isn't a numeric value, it is a string (section 3.1.8) - it just > happens that Gentoo official ones are logically numeric. PMS even > quotes the EAPIs in "2.2 Defined EAPIs" section to signify that, it > seems. > > So s/numeric value/name/ as per PMS section 5.2.2?
So it looks like Section 2.3, "Reserved EAPIs" is more relevant here: 2.3 Reserved EAPIs EAPIs whose value consists purely of an integer are reserved for future versions of this specification. EAPIs whose value starts with the string paludis- are reserved for experimental use by the Paludis package manager. That means that, yes, EAPIs can be literal string values (just without quotes). However, the primary use case, IOW, the official repo, we're using incrementing numeric integers. PMS is supposed to be package-manager agnostic, so carving out a specific reservation for a specific package manager in Section 2.3 seems to defeat that purpose. If Paludis is still being developed and needs something for experimental use, then it's up to it to do that on its own. We could support this by specifying that EAPIs are single-line strings of a form [A-Za-z0-9\x20_-]+?, thus removing the specific reservation for a specific package manager and handling the current single-number format as well as other fancy names. Like maybe EAPI 9 can be "Magnificent Penguin"? :) -- Joshua Kinard Gentoo/MIPS ku...@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic