commit: f9f133b3463e42050981a4d3d0a0949864383c17 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Tue Oct 1 18:26:06 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Tue Oct 1 18:55:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f133b3
dev-util/tree-sitter-cli: add 0.23.2 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> dev-util/tree-sitter-cli/Manifest | 2 ++ .../tree-sitter-cli/tree-sitter-cli-0.23.2.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-util/tree-sitter-cli/Manifest b/dev-util/tree-sitter-cli/Manifest index 01db623f3bb2..986c3bf9da4c 100644 --- a/dev-util/tree-sitter-cli/Manifest +++ b/dev-util/tree-sitter-cli/Manifest @@ -1,4 +1,6 @@ DIST tree-sitter-0.22.6.tar.gz 3036954 BLAKE2B f109a738214882e63a721e8db384fa42a624af78d42ceb9ab7a45135b36cf3bbbd2554f470ca5038404365f5b9dbf9979c4d26309e123a9d9533feb1f0a3f724 SHA512 bf0b87bb9ce16b049824e53933986ac451a7b7f432df39ee9d4546627d740ae689af9e838a53cc50e29d66d6d85d51dab7490d66a429a14bcc9d0b8e2935a63a DIST tree-sitter-0.23.0.tar.gz 2977346 BLAKE2B e10846d5bd0a6aa1ecac362e2ab2ccf0f0bdb17c5fde796d8d65f8bc84a6e054d86c18a42e66e8effef865f95013c38ff6bd6ab5498a680ae172d7d57020604e SHA512 ab821be564ac7223cc4f9659c08922a78016af9dd3bd69166706fb6a889ac175ba2712a337a1303aceb8f44beaf58640a183e77dddc2c57e35da23079d0cd7b9 +DIST tree-sitter-0.23.2.tar.gz 2980520 BLAKE2B 54b4ad96948fc3ec6142da998306f9385ce9107a7c330915bbb733c5886a0baa869a675602be99aa4a491c58a1121d30f654856ce0f2dee0eff4c4fcce370f24 SHA512 393fa62fe6bce51ff5498f977bbb357fd896aaf98d80f08d4faed6dcf8fd5d41012a7489816c662c1873595108c30d0c18d7721a535c69d9904b2220fef8f858 DIST tree-sitter-cli-0.22.6-crates.tar.xz 22184056 BLAKE2B f18cfafa9a767fb1b3408dd473d97b2d7a87c9c37a50fb108e164074641e656cc2ca322914f98d627209485cf7b14f92280a50a64cf5136f8375e5870d2b097f SHA512 a3e6eb6585d61c86e32de21c0422c2cd1f95c6116823f5a8ee291f6682658fb7afe5e1369eda4682d4e842d91531b56e6fadb99e4d575230f4c1d65a6b0778ca DIST tree-sitter-cli-0.23.0-crates.tar.xz 18131480 BLAKE2B 796a05ed87ce0f248491600bee4af9d14ba6a244ce04d4cda3192226c5063be921e2a4c5e454c91f712f629481c6cca160544a457cf7635c6024d0d10291e3a0 SHA512 98472d6603d973c34f1cafc042219495228693a0fbbe9af920120d8cf27fd78e5263052fb784c79b38e8b27f9b881d18205ebb439de15945c3f10410590ed76a +DIST tree-sitter-cli-0.23.2-crates.tar.xz 18556276 BLAKE2B 4d63a95f129b563e91970209418283b822ee9957d16be80dbd1b8b8301c6ccf6add1313854837b6883d6c19a99a833b5e8cc07896a0835340758413108bdf227 SHA512 ac3d03c2735581472bbb0e866f03ee6987f43d0cb65449777a8ee0c0c95d82d032f9e0506c878ab7ea1208a6126327c4136fcb0656ea0b2b67b789f9d07ba57b diff --git a/dev-util/tree-sitter-cli/tree-sitter-cli-0.23.2.ebuild b/dev-util/tree-sitter-cli/tree-sitter-cli-0.23.2.ebuild new file mode 100644 index 000000000000..1fe76acc30bb --- /dev/null +++ b/dev-util/tree-sitter-cli/tree-sitter-cli-0.23.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES="" + +MY_PN=tree-sitter +MY_P=${MY_PN}-${PV} + +inherit cargo + +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" +SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/dev-util/${PN}/${P}-crates.tar.xz" +S="${WORKDIR}"/${MY_P}/cli + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Test seems to require files (grammar definitions) that we don't have. +RESTRICT="test" + +BDEPEND="~dev-libs/tree-sitter-${PV}:=" +RDEPEND="${BDEPEND}" + +QA_FLAGS_IGNORED="usr/bin/${MY_PN}"