dev-util/tree-sitter-cli: add 0.26.7

Signed-off-by: idealseal <realidealseal@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/322
Merges: https://codeberg.org/gentoo/gentoo/pulls/322
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
idealseal
2026-03-14 18:13:52 +00:00
committed by Sam James
parent 7a11957abb
commit ab140f8cf8
2 changed files with 45 additions and 0 deletions

View File

@@ -7,4 +7,6 @@ DIST tree-sitter-0.25.8-crates.tar.xz 22421992 BLAKE2B 3e3d262a6b4244615a0b6f9c0
DIST tree-sitter-0.25.8.tar.gz 857462 BLAKE2B aa3f0d9056544bb6ef1127723563449c7672e06b5289e1596f2c1b5826905c578830c7e6c3bc58a91e388d647a5a5629e71f5f0af2a431e73c3be4f93ce5b6f4 SHA512 0d26d0699f61fa27b5adbc298ff53f8e0f5b9f2f1b216744200f6f50cff777c9c5a5a5b92304a4d1889fccd9d8a6dd6b7d4947bac907a91850322281f754ea53
DIST tree-sitter-0.26.6-crates.tar.xz 21055636 BLAKE2B 08086f1456718f0a1b722b1c3878cfc7f267be536f94a474b10e02178f315ec9d93d6755c002fa8df0f0bf0eb5a6149be53f207575937f54e59669efda5bed31 SHA512 14ecb7f0e7494c38ab166209df4ad4e61f3e614232db0098fa742dc66e9a47951118a64eb8712581a3528f6ac9b681f9058a4723712ce635b6eea96fc06b1c47
DIST tree-sitter-0.26.6.tar.gz 906770 BLAKE2B c6fcbc901f86795d6e5de5e22d4b7f34425f1f25ff9134de27baa0a68d917c376accd4a7a9d33faaee4e82e4dd7440085a06b55d5f57e5fe9756c195147867d5 SHA512 33ce5617ac53e276cccc8fa34e3a6b3e29a5bd572b381da4a7d6d78cbb7485d85120be8c0e25e02d3fbae4c36793b02bcfd788a2cdfe73f026742b184e16d572
DIST tree-sitter-0.26.7-crates.tar.xz 21055636 BLAKE2B 08086f1456718f0a1b722b1c3878cfc7f267be536f94a474b10e02178f315ec9d93d6755c002fa8df0f0bf0eb5a6149be53f207575937f54e59669efda5bed31 SHA512 14ecb7f0e7494c38ab166209df4ad4e61f3e614232db0098fa742dc66e9a47951118a64eb8712581a3528f6ac9b681f9058a4723712ce635b6eea96fc06b1c47
DIST tree-sitter-0.26.7.tar.gz 907267 BLAKE2B 7e734913ab81e700192c8d829b136300d5507da2f0cd1e3b059df81202fcd8da76884e605bda48a13d4f4317f335d1cb2cdb1aa60fbcfcce021280106512e3ff SHA512 0060809339744be4b3b24bae8115d2793dc113618ab1a79c347456f5b8341b15d2026e7b62d2e4e3c5226c8bf85a089221133457a80bfdd0413cd82bf7c4a172
DIST tree-sitter-cli-0.24.3-crates.tar.xz 18883756 BLAKE2B 5a35f3c32ff53b123f2d6fceeddc93bc621ac024d26b26292a7bca7370c8a6f26292c318bebf6716924ac90123d3809c4e66afb7bcb53b531fb641cb6a686bbc SHA512 5f0670cf5c102ac4982c1c6e5a77aea39fc02a3db24eb8151d335bcac0c51cac7193fd882f17f7740465830dfe708cc88cb4a7a58047a49df15e26b2fa96b2f6

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES=""
RUST_MIN_VER="1.88.0"
LLVM_COMPAT=( {19..22} )
inherit cargo llvm-r2
MY_PN="${PN/-cli}"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Command-line tool for creating and testing tree-sitter grammars"
HOMEPAGE="https://github.com/tree-sitter/tree-sitter"
SRC_URI="
https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${MY_P}.tar.gz
https://github.com/gentoo-crate-dist/${MY_PN}/releases/download/v${PV}/${MY_P}-crates.tar.xz
"
S="${WORKDIR}/${MY_P}/crates/cli"
LICENSE="MIT"
# Dependent crate licenses
LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC LGPL-3+
MIT Unicode-3.0 ZLIB
"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
# Test seems to require files (grammar definitions) that we don't have.
RESTRICT="test"
BDEPEND="$(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}')"
QA_FLAGS_IGNORED="usr/bin/${MY_PN}"
pkg_setup() {
llvm-r2_pkg_setup
rust_pkg_setup
}