From 9bad57ac3bd87d01821283483f7a963219ef2136 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Sun, 8 Oct 2023 12:20:39 +0100 Subject: dev-libs/tree-sitter-go: fix SRC_URI TS_PV meant that the old version was still used after the version bump. Fixes: b76af2ea3f8272cb147ae97400fd22f0623ee781 Signed-off-by: Matthew Smith --- dev-libs/tree-sitter-go/Manifest | 2 +- .../tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild | 18 ++++++++++++++++++ dev-libs/tree-sitter-go/tree-sitter-go-0.20.0.ebuild | 14 -------------- 3 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 dev-libs/tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild delete mode 100644 dev-libs/tree-sitter-go/tree-sitter-go-0.20.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/tree-sitter-go/Manifest b/dev-libs/tree-sitter-go/Manifest index d25fc60825e6..5e4d96e64955 100644 --- a/dev-libs/tree-sitter-go/Manifest +++ b/dev-libs/tree-sitter-go/Manifest @@ -1,2 +1,2 @@ DIST tree-sitter-go-0.19.1.tar.gz 160180 BLAKE2B f92bbb342eae3a7705dbd6f6564a16fdbad1a25c405970bca1e8df01ff6d0c20b45f9849a0d13d53e2f56d95b71db0f7813765f64e0dcdfd9ca617d1f71e688d SHA512 8390dd3e39daa42ec5254b4c6c0b15fec0caa7ae64a9ec3b9116a10f9e9f1b6940cd88c8cf14dc50b28b97ea588ff302ebd16f3c88e0bd6983e76b5526a31b45 -DIST tree-sitter-go-0.20.0.tar.gz 160180 BLAKE2B f92bbb342eae3a7705dbd6f6564a16fdbad1a25c405970bca1e8df01ff6d0c20b45f9849a0d13d53e2f56d95b71db0f7813765f64e0dcdfd9ca617d1f71e688d SHA512 8390dd3e39daa42ec5254b4c6c0b15fec0caa7ae64a9ec3b9116a10f9e9f1b6940cd88c8cf14dc50b28b97ea588ff302ebd16f3c88e0bd6983e76b5526a31b45 +DIST tree-sitter-go-0.20.0-2.tar.gz 195753 BLAKE2B eca2965c0d7bba3c639e092845ac98d05936e9d87290dca2a283dcd6afb1151f8d63aba907337fee79e9fd9b0d901edfda62ec936ef948f57dc663c9d906715b SHA512 ff438a6c84454f38cdefe506f5da787007cb50b3d41bcb9c7f26ed7d951a3268e6bf0b32f2e750d0e4233516c1e4a827c24af831020f81f268fe825adcd5f836 diff --git a/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild b/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild new file mode 100644 index 000000000000..3aaeb75e3d6d --- /dev/null +++ b/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tree-sitter-grammar + +DESCRIPTION="Go grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter/tree-sitter-go" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# Override eclass SRC_URI as 0.20.0 was bumped incorrectly. +SRC_URI="https://github.com/tree-sitter/${PN}/archive/v${PV}.tar.gz + -> ${P}-2.tar.gz" +S="${WORKDIR}"/${PN}-${PV}/src diff --git a/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0.ebuild b/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0.ebuild deleted file mode 100644 index 0ac5d9eb9288..000000000000 --- a/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -TS_PV=rust-0.19.1 -inherit tree-sitter-grammar - -DESCRIPTION="Go grammar for Tree-sitter" -HOMEPAGE="https://github.com/tree-sitter/tree-sitter-go" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -- cgit v1.2.3-65-gdbad