Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 24 Nov 2021 14:42:04
Message-Id: 1637764887.5df50acbe857f44408215ebd902df0af36c0717f.soap@gentoo
1 commit: 5df50acbe857f44408215ebd902df0af36c0717f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 24 14:41:27 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 24 14:41:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df50acb
7
8 toolchain.eclass: switch snapshot prefix _alpha → _p
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 eclass/toolchain.eclass | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
16 index 852d65add7c5..720b227b9c44 100644
17 --- a/eclass/toolchain.eclass
18 +++ b/eclass/toolchain.eclass
19 @@ -90,11 +90,11 @@ GCC_CONFIG_VER=${GCC_RELEASE_VER}
20
21 # Pre-release support. Versioning schema:
22 # 1.0.0_pre9999: live ebuild
23 -# 1.2.3_alphaYYYYMMDD: weekly snapshots
24 +# 1.2.3_pYYYYMMDD: weekly snapshots
25 # 1.2.3_rcYYYYMMDD: release candidates
26 -if [[ ${GCC_PV} == *_alpha* ]] ; then
27 +if [[ ${GCC_PV} == *_p* ]] ; then
28 # weekly snapshots
29 - SNAPSHOT=${GCCMAJOR}-${GCC_PV##*_alpha}
30 + SNAPSHOT=${GCCMAJOR}-${GCC_PV##*_p}
31 elif [[ ${GCC_PV} == *_rc* ]] ; then
32 # release candidates
33 SNAPSHOT=${GCC_PV%_rc*}-RC-${GCC_PV##*_rc}