summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2023-10-08 12:20:39 +0100
committerMatthew Smith <matthew@gentoo.org>2023-10-08 12:25:17 +0100
commit9bad57ac3bd87d01821283483f7a963219ef2136 (patch)
tree51ec88e6baa4405c3c9253acf81f27cec8b24229 /dev-libs
parentdev-libs/tree-sitter-bash: fix SRC_URI (diff)
downloadgentoo-9bad57ac3bd87d01821283483f7a963219ef2136.tar.gz
gentoo-9bad57ac3bd87d01821283483f7a963219ef2136.tar.bz2
gentoo-9bad57ac3bd87d01821283483f7a963219ef2136.zip
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 <matthew@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/tree-sitter-go/Manifest2
-rw-r--r--dev-libs/tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild (renamed from dev-libs/tree-sitter-go/tree-sitter-go-0.20.0.ebuild)6
2 files changed, 6 insertions, 2 deletions
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.ebuild b/dev-libs/tree-sitter-go/tree-sitter-go-0.20.0-r1.ebuild
index 0ac5d9eb9288..3aaeb75e3d6d 100644
--- 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-r1.ebuild
@@ -3,7 +3,6 @@
EAPI=8
-TS_PV=rust-0.19.1
inherit tree-sitter-grammar
DESCRIPTION="Go grammar for Tree-sitter"
@@ -12,3 +11,8 @@ 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