Gentoo Archives: gentoo-dev

From: Martin Vaeth <martin@×××××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [PATCH] eapi7-ver.eclass: 'Early adopter' version of EAPI 7 version manip
Date: Fri, 08 Sep 2017 12:48:42
Message-Id: slrnor54cf.tej.martin@lounge.imp.fu-berlin.de
In Reply to: [gentoo-dev] [PATCH] eapi7-ver.eclass: 'Early adopter' version of EAPI 7 version manip by "Michał Górny"
1 Michał Górny <mgorny@g.o> wrote:
2 > +# 1.2b-alpha4 -> 1 . 2 '' b - alpha '' 4
3
4 Is this only to explain the syntax or are there plans to
5 extend the allowed versions for pms?
6
7 There is a reason why pms currently does not allow "-" as separators
8 within versions (with the exception of -r):
9
10 With this general syntax, you would have a hard time to split
11 into name and version for e.g.
12 media-fonts/font-bitstream-75dpi-1.0.3
13
14 (Currently the version starts at the latest /-[0-9]/ match.)
15
16 Also the ordering needs a discussion when version strings are
17 allowed which are not covered by PMS. Note that e.g.
18 02 > 1 while 1.02 < 1.1
19 Is it still "correct" to have 1-02 < 1-1?

Replies