Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o, Matt Turner <mattst88@g.o>
Cc: Guillermo Joandet <gjoandet@×××××.com>, gnome@×××××.org
Subject: Re: [gentoo-dev] [PATCH] gnome.org.eclass: Handle GNOME's .alpha/.beta/.rc versioning
Date: Tue, 14 Mar 2023 08:03:19
Message-Id: 390e5092fd981306ef2e1f1dd0a068f34a7be5fd.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] gnome.org.eclass: Handle GNOME's .alpha/.beta/.rc versioning by Ulrich Mueller
1 Ühel kenal päeval, T, 14.03.2023 kell 05:36, kirjutas Ulrich Mueller:
2 > > > > > > On Tue, 14 Mar 2023, Matt Turner wrote:
3 >  
4 > > -
5 > > SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_PVP}
6 > > /${GNOME_ORG_MODULE}-${PV}.tar.${GNOME_TARBALL_SUFFIX}"
7 > > +SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_PV
8 > > P}/${GNOME_ORG_MODULE}-${PV/_/.}.tar.${GNOME_TARBALL_SUFFIX}"
9 > >  
10 > > -S="${WORKDIR}/${GNOME_ORG_MODULE}-${PV}"
11 > > +S="${WORKDIR}/${GNOME_ORG_MODULE}-${PV/_/.}"
12 >
13 > I suppose there can be only a single suffix? Still, using ${PV//_/.}
14 > to replace all "_" won't harm and might be slightly more systematic.
15
16 GNOME alpha/beta/rc versions could also be like this:
17
18 44.beta
19 44.beta.1
20 44.beta.2
21 44.rc
22 44.rc.1
23
24 So might want to consider handling that too to work with the same
25 metadata cache update, but the extra releases don't happen that often,
26 so might not be too much of a burden to handle manually in those
27 occasions for now.
28
29 Mart