>>>>> On Sun, 01 Aug 2021, Joshua Kinard wrote: > 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. No, it only says that unofficial EAPIs cannot be pure integers. The reverse conclusion does not follow. > 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. Quoting ciaranm [1]: | > "EAPIs whose value starts with the string paludis- are reserved for | > experimental use by the Paludis package manager." | | Don't tell anyone, but that's mostly just in there because some people | insisted that EAPIs were numbers (and thus comparable), so I wanted an | explicit mention of one that wasn't. > 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"? :) PMS specifies what characters are allowed in an EAPI name [2], namely the same as in a slot name: | An EAPI name may contain any of the characters [A-Za-z0-9+_.-]. | It must not begin with a hyphen, a dot or a plus sign. Ulrich [1] https://archives.gentoo.org/gentoo-pms/message/98cdbfbe67a19c0fea5cc69e8b8ea2fe [2] https://projects.gentoo.org/pms/8/pms.html#x1-240003.1.8
signature.asc
Description: PGP signature