commit:     1a2c7ab22791b7c9a4dd4c35d35f957c2501cb10
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 15:15:40 2024 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 15:18:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a2c7ab2

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

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 dev-util/tree-sitter-cli/Manifest                  |  2 ++
 .../tree-sitter-cli/tree-sitter-cli-0.22.4.ebuild  | 32 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-util/tree-sitter-cli/Manifest 
b/dev-util/tree-sitter-cli/Manifest
index 9b1d43dd3c0e..5ce45342a176 100644
--- a/dev-util/tree-sitter-cli/Manifest
+++ b/dev-util/tree-sitter-cli/Manifest
@@ -179,8 +179,10 @@ DIST tree-sitter-0.20.8.tar.gz 2941223 BLAKE2B 
158820a88b20cc96252f8bfdd257e910c
 DIST tree-sitter-0.20.9.tar.gz 3041304 BLAKE2B 
a6cf6606f75918eeab7dab0d2758cdba0922b5677cd4c8755982c077ee0a734090c8a87f7dd1fd56525b5864f94f5f19c3fd04e43773877e13968855f976d0c0
 SHA512 
6882c0edf87232d42aa40936c6a2da46e6dbb89d28b3def67e9c5231af19a517fbe22cf0ce9aa25a8ad4252cef6cf4aa94a00f8d0503a8bdd99ce0edd99a392a
 DIST tree-sitter-0.22.1.tar.gz 3038644 BLAKE2B 
f4a2cae41e6ec327c8a77380fcf531b00a4fcd75997872c73371886379f35e31431da1e175e41b3c6bee9fdad46015d29bec93a103ea1ff36a1d365dc9a04d40
 SHA512 
fa2656ad3a6d52301b497512aecc87b8c50ab6646aaac4730a26249ed0878e4542e2d256e42e0179ebc06147f772a2cf38f9362bb94ea1a8f0ec8c21e06e75e7
 DIST tree-sitter-0.22.2.tar.gz 3040339 BLAKE2B 
c18a79b4fdf553c50b4dd4c67c92d02fd341c5266c4658eb226d9ea455f23d2d22fe4ed4ca48811da2c8a59c403d8eff53dd9257468df7a9cfa640652c485c95
 SHA512 
a42d744f6e1db7c7c842804f3435b87ccb5d0df2363a18eee38353f12f18c8cf0c6211bf0225fd5f2c0431ca8531aa4ddd73d87d42b80fa35c3c701cae2d7856
+DIST tree-sitter-0.22.4.tar.gz 3034955 BLAKE2B 
797feb6e2171b0e00b10c67c8b6dcda6cc2ec420ef797991a642524982629496e4b7bcae92a2658ba3adffea75332bcda09ecbced01e73e13ba6f4c39d15e9ea
 SHA512 
7f160e88cdffb47f4ee3f884385ec759fcf88883307221ddadd8bf561d1dfb3659b0c7f4b216286066cf912183cc8234788492d62d1f1ad14fcb39bd3287cf36
 DIST tree-sitter-cli-0.22.1-crates.tar.xz 21952352 BLAKE2B 
6c097ce2cd58495cb0cfb3760f0c4b59b863b2e9eb6af25a178218a82c55b80f2b98bfa18899314b078df68f252aec159d26925abce767afc039c0ee19630026
 SHA512 
9380762b0217a0b90c9f21c3bc680e0778c09111fc48ff73e2e51534ff62266c69978af5cb758aec353275033935607607c28d24e380d7d2a5ac5d8573c94a19
 DIST tree-sitter-cli-0.22.2-crates.tar.xz 21937812 BLAKE2B 
faa8e5d5627397a9f613078ab25bc12a7103ceb16ae195f687c47c222139ca27833d6ed16ffc7bafa30b7eeeb9aa206b23f0e45cd11bf34a265861ec3ea15cd9
 SHA512 
499dedb899a6fc3847be59d0cf5f81a4c93aacd9a12dc1420a0667842fccae5b2ad3e790e89d9b813b6dba4e1a6d7add3b0c4e7f1590402f3b49bfff07e15999
+DIST tree-sitter-cli-0.22.4-crates.tar.gz 51254931 BLAKE2B 
1cc056f503353ce594726af8c5d7aff2e85d8c79ecb691894d371586735b80a3a7fe278516a43597121f6c4613a9d31a2acd85573fe3a0f0719f64ab1829c1bf
 SHA512 
6a031c9ca8b0db10281d59579120b972c9f9d3899762222bfc8018c0d74b5e339bcbb1d5349a95385571aaeb975080470a92ca685d0f9037550f73bdf503d7de
 DIST unicode-bidi-0.3.13.crate 44477 BLAKE2B 
90d80e7c57e93aa9aaa83e7c3c1a93bb6e4d51047803e61ed3f7c80361987947b2029a2b679bd301e8a0766ee8ea7f080e9b9b6ebcbb4354e19813a0f7da2abc
 SHA512 
fb094fcfd907d90fa7232432aca0143209446e4c5c73d8a0fe6d2dc44b9dbb5b8b926c59b5e3f9a5a0a36f91c04613509b6e430c9c4adf526e7445e6e8d7a3d9
 DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 
4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac
 SHA512 
bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920
 DIST unicode-ident-1.0.8.crate 41962 BLAKE2B 
3e3394a421460b0cdd56f96e1149b3816651ffd7064f9ec85c12050917d0b271eeee4bc3f6d3f0a3c1596635df3dac54bd610243d34e459743fe29b3b931a237
 SHA512 
8104999c6fff002c5aa109e2ca75ce3eaf772155d31dff87bcf39e3eb3da58b6cb543717be7b55acdb0cb1a4bd2a3d2e9c9974f7f75b6528668f5ef665ef4088

diff --git a/dev-util/tree-sitter-cli/tree-sitter-cli-0.22.4.ebuild 
b/dev-util/tree-sitter-cli/tree-sitter-cli-0.22.4.ebuild
new file mode 100644
index 000000000000..928bc49eb8d0
--- /dev/null
+++ b/dev-util/tree-sitter-cli/tree-sitter-cli-0.22.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+       https://dev.gentoo.org/~matthew/distfiles/${P}-crates.tar.gz";
+S="${WORKDIR}"/${MY_P}/cli
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0
+       Unicode-DFS-2016
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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}"

Reply via email to