From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/ctags/
Date: Sun, 08 Jun 2025 06:35:43 +0000 (UTC) [thread overview]
Message-ID: <1749364510.672cdf491e3cca3c8a5c98fa5e479f302def955a.sam@gentoo> (raw)
commit: 672cdf491e3cca3c8a5c98fa5e479f302def955a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 8 05:57:45 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 8 06:35:10 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=672cdf49
dev-util/ctags: rename versions
Move away from the strange/unconventional snapshot scheme introduced
in 6635a8c6cb2423209613660b53d8360ebe621a75 towards the traditional
scheme we use for snapshots (LAST_VERSION_pXYZ). Prompted by upstream
tagging 6.2.0 so we need this for things sort correctly.
I thought I'd remarked on this in a commit message before but decided
not to fix it up at the time (it was pre-existing) but I can't find that.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/ctags/Manifest | 4 ++--
...-r1.ebuild => ctags-6.0_p20230423_p0-r1.ebuild} | 23 ++++++++++++++++++----
...0609.0.ebuild => ctags-6.1_p20240609_p0.ebuild} | 21 +++++++++++++++++---
.../{ctags-99999999.ebuild => ctags-9999.ebuild} | 21 +++++++++++++++++---
4 files changed, 57 insertions(+), 12 deletions(-)
diff --git a/dev-util/ctags/Manifest b/dev-util/ctags/Manifest
index 50e34f487056..706c889ea55a 100644
--- a/dev-util/ctags/Manifest
+++ b/dev-util/ctags/Manifest
@@ -1,2 +1,2 @@
-DIST ctags-20230423.0.tar.gz 3038197 BLAKE2B 4b6114526e9dc94c95dcf1b27136fe1fde185aadcd3f880459314b6567f4ec935da10f87aaad590f4c16999adea8b15b3a153f4e80b3b9e57d9a04ecee377a09 SHA512 7a4b3ffcc4906765dda381ad637981f5ce8c6fc24d4141b8b0e9997b71767dda307dab4d2c2aa0e5ba003774c100d8f85e494e368cedbef12c8f415a13b85554
-DIST ctags-20240609.0.tar.gz 3158634 BLAKE2B fe662dc0c48a0ac484bf3fc7ba7d0a31285398cd5da111a96f14b3637045fa0b0245119da034ab467e43b776849f47891e829af86a1889548f410070df6395d4 SHA512 60ebc506a04aabd7ada13801ab3ac662a9798960cf2aaa90270e6d5df82850b4e709a15a7523eb2e1e347a08b458ff2b85a99c787ab08b3c2599232492ef0ebc
+DIST ctags-6.0_p20230423_p0.tar.gz 3038197 BLAKE2B 4b6114526e9dc94c95dcf1b27136fe1fde185aadcd3f880459314b6567f4ec935da10f87aaad590f4c16999adea8b15b3a153f4e80b3b9e57d9a04ecee377a09 SHA512 7a4b3ffcc4906765dda381ad637981f5ce8c6fc24d4141b8b0e9997b71767dda307dab4d2c2aa0e5ba003774c100d8f85e494e368cedbef12c8f415a13b85554
+DIST ctags-6.1_p20240609_p0.tar.gz 3158634 BLAKE2B fe662dc0c48a0ac484bf3fc7ba7d0a31285398cd5da111a96f14b3637045fa0b0245119da034ab467e43b776849f47891e829af86a1889548f410070df6395d4 SHA512 60ebc506a04aabd7ada13801ab3ac662a9798960cf2aaa90270e6d5df82850b4e709a15a7523eb2e1e347a08b458ff2b85a99c787ab08b3c2599232492ef0ebc
diff --git a/dev-util/ctags/ctags-20230423.0-r1.ebuild b/dev-util/ctags/ctags-6.0_p20230423_p0-r1.ebuild
similarity index 83%
rename from dev-util/ctags/ctags-20230423.0-r1.ebuild
rename to dev-util/ctags/ctags-6.0_p20230423_p0-r1.ebuild
index 326138815af0..1473d36af211 100644
--- a/dev-util/ctags/ctags-20230423.0-r1.ebuild
+++ b/dev-util/ctags/ctags-6.0_p20230423_p0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,12 +9,27 @@ inherit autotools python-any-r1
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags"
-if [[ ${PV} == *99999999* ]] ; then
+if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/universal-ctags/ctags"
inherit git-r3
else
- SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/p6.0.${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-p6.0.${PV}
+ # 6.0_p20230423_p0
+ #
+ # 6.0
+ MY_PV_BASE=${PV/_p/.}
+ MY_PV_BASE=${MY_PV_BASE%*.*}
+ # 20230423_p0
+ MY_PV_PATCH=${PV#*_p}
+ # 20230423
+ MY_PV_PATCH_DATE=${MY_PV_PATCH%_p*}
+ # 0
+ MY_PV_PATCH_DATE_SUFFIX=${MY_PV_PATCH##*_p}
+ # p6.0.20230423.0
+ MY_PV=p${MY_PV_BASE}.${MY_PV_PATCH_DATE}.${MY_PV_PATCH_DATE_SUFFIX}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/${MY_P}
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
diff --git a/dev-util/ctags/ctags-20240609.0.ebuild b/dev-util/ctags/ctags-6.1_p20240609_p0.ebuild
similarity index 85%
rename from dev-util/ctags/ctags-20240609.0.ebuild
rename to dev-util/ctags/ctags-6.1_p20240609_p0.ebuild
index 8297e0548743..b5937756e0f3 100644
--- a/dev-util/ctags/ctags-20240609.0.ebuild
+++ b/dev-util/ctags/ctags-6.1_p20240609_p0.ebuild
@@ -9,12 +9,27 @@ inherit autotools python-any-r1
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags"
-if [[ ${PV} == *99999999* ]] ; then
+if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/universal-ctags/ctags"
inherit git-r3
else
- SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/p6.1.${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-p6.1.${PV}
+ # 6.0_p20230423_p0
+ #
+ # 6.0
+ MY_PV_BASE=${PV/_p/.}
+ MY_PV_BASE=${MY_PV_BASE%*.*}
+ # 20230423_p0
+ MY_PV_PATCH=${PV#*_p}
+ # 20230423
+ MY_PV_PATCH_DATE=${MY_PV_PATCH%_p*}
+ # 0
+ MY_PV_PATCH_DATE_SUFFIX=${MY_PV_PATCH##*_p}
+ # p6.0.20230423.0
+ MY_PV=p${MY_PV_BASE}.${MY_PV_PATCH_DATE}.${MY_PV_PATCH_DATE_SUFFIX}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/${MY_P}
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
diff --git a/dev-util/ctags/ctags-99999999.ebuild b/dev-util/ctags/ctags-9999.ebuild
similarity index 85%
rename from dev-util/ctags/ctags-99999999.ebuild
rename to dev-util/ctags/ctags-9999.ebuild
index d7133379a221..a72ff60888fa 100644
--- a/dev-util/ctags/ctags-99999999.ebuild
+++ b/dev-util/ctags/ctags-9999.ebuild
@@ -9,12 +9,27 @@ inherit autotools python-any-r1
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
HOMEPAGE="https://ctags.io/ https://github.com/universal-ctags/ctags"
-if [[ ${PV} == *99999999* ]] ; then
+if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/universal-ctags/ctags"
inherit git-r3
else
- SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/p6.1.${PV}.tar.gz -> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-p6.1.${PV}
+ # 6.0_p20230423_p0
+ #
+ # 6.0
+ MY_PV_BASE=${PV/_p/.}
+ MY_PV_BASE=${MY_PV_BASE%*.*}
+ # 20230423_p0
+ MY_PV_PATCH=${PV#*_p}
+ # 20230423
+ MY_PV_PATCH_DATE=${MY_PV_PATCH%_p*}
+ # 0
+ MY_PV_PATCH_DATE_SUFFIX=${MY_PV_PATCH##*_p}
+ # p6.0.20230423.0
+ MY_PV=p${MY_PV_BASE}.${MY_PV_PATCH_DATE}.${MY_PV_PATCH_DATE_SUFFIX}
+ MY_P=${PN}-${MY_PV}
+
+ SRC_URI="https://github.com/universal-ctags/ctags/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/${MY_P}
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
next reply other threads:[~2025-06-08 6:35 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-08 6:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-14 9:06 [gentoo-commits] repo/gentoo:master commit in: dev-util/ctags/ Sam James
2025-07-14 9:06 Sam James
2025-06-08 8:59 Sam James
2025-06-08 6:47 Sam James
2025-01-18 7:11 Arthur Zamarin
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 17:51 Sam James
2025-01-13 13:45 Sam James
2025-01-13 13:45 Sam James
2024-06-14 1:50 Sam James
2024-06-12 6:02 Sam James
2024-06-12 6:02 Sam James
2024-06-12 5:31 Arthur Zamarin
2024-06-12 5:31 Arthur Zamarin
2024-06-12 5:14 Sam James
2024-06-12 5:14 Sam James
2024-06-12 4:26 Sam James
2024-06-06 0:45 Sam James
2023-12-25 17:26 Sam James
2023-12-09 13:18 Sam James
2023-12-09 13:18 Sam James
2023-04-28 1:38 Sam James
2022-09-23 0:59 Sam James
2022-09-23 0:42 Sam James
2022-08-30 8:48 Jakov Smolić
2022-08-30 8:48 Jakov Smolić
2022-08-30 4:54 Arthur Zamarin
2022-08-30 4:54 Arthur Zamarin
2022-08-30 4:54 Arthur Zamarin
2022-08-30 4:54 Arthur Zamarin
2022-08-29 22:24 Sam James
2022-08-29 22:18 Sam James
2022-08-29 22:17 Sam James
2022-06-10 18:08 Matt Turner
2022-05-10 0:44 WANG Xuerui
2021-10-17 2:04 Sam James
2021-10-17 2:02 Sam James
2021-07-19 23:14 Marek Szuba
2021-03-26 15:32 Sam James
2021-03-26 14:35 Sam James
2020-12-27 16:38 Fabian Groffen
2019-08-02 0:11 Aaron Bauman
2019-06-04 19:01 Agostino Sarubbo
2019-06-03 15:00 Agostino Sarubbo
2019-05-02 6:39 Matt Turner
2019-04-22 7:26 Michał Górny
2019-04-20 18:10 Mikle Kolyada
2019-04-09 2:36 Aaron Bauman
2019-04-07 21:53 Mikle Kolyada
2019-04-07 21:41 Mikle Kolyada
2019-04-05 19:03 Sergei Trofimovich
2019-04-02 9:09 Mikle Kolyada
2019-03-31 18:20 Patrice Clement
2018-06-03 18:32 Mikle Kolyada
2017-09-05 9:45 Tim Harder
2017-09-05 9:45 Tim Harder
2017-08-07 21:27 Patrice Clement
2017-08-07 5:35 Lars Wendler
2017-07-20 22:04 Patrice Clement
2017-06-06 17:48 Patrice Clement
2017-02-05 16:49 Markus Meier
2017-01-22 15:46 Tobias Klausmann
2017-01-16 10:15 Agostino Sarubbo
2017-01-15 21:03 Jeroen Roovers
2017-01-14 3:27 Aaron Bauman
2017-01-11 13:32 Agostino Sarubbo
2016-12-24 10:26 Agostino Sarubbo
2016-12-22 9:34 Agostino Sarubbo
2016-12-20 9:44 Agostino Sarubbo
2016-12-19 15:12 Agostino Sarubbo
2016-12-19 14:35 Agostino Sarubbo
2016-12-18 15:44 Agostino Sarubbo
2016-12-14 9:14 Tobias Klausmann
2016-11-02 7:13 Tim Harder
2016-06-25 14:50 Fabian Groffen
2016-06-25 14:50 Fabian Groffen
2015-11-03 12:49 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1749364510.672cdf491e3cca3c8a5c98fa5e479f302def955a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox