1 |
|
# Copyright 1999-2022 Gentoo Authors
|
|
1 |
# Copyright 1999-2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=8
|
... | ... | |
6 |
6 |
MY_PN=tree-sitter
|
7 |
7 |
MY_P=tree-sitter-${PV}
|
8 |
8 |
CRATES="
|
9 |
|
aho-corasick-0.7.15
|
10 |
|
ansi_term-0.11.0
|
|
9 |
aho-corasick-0.7.20
|
11 |
10 |
ansi_term-0.12.1
|
12 |
|
anyhow-1.0.40
|
13 |
|
arrayref-0.3.6
|
14 |
|
arrayvec-0.5.2
|
15 |
|
ascii-1.0.0
|
|
11 |
anyhow-1.0.70
|
|
12 |
ascii-1.1.0
|
16 |
13 |
atty-0.2.14
|
17 |
|
autocfg-1.0.1
|
18 |
|
base64-0.13.0
|
19 |
|
bitflags-1.2.1
|
20 |
|
blake2b_simd-0.5.11
|
21 |
|
bumpalo-3.6.1
|
22 |
|
cc-1.0.67
|
|
14 |
autocfg-1.1.0
|
|
15 |
bitflags-1.3.2
|
|
16 |
bumpalo-3.12.0
|
|
17 |
bytes-1.4.0
|
|
18 |
cc-1.0.79
|
|
19 |
cesu8-1.1.0
|
23 |
20 |
cfg-if-1.0.0
|
24 |
|
chrono-0.4.19
|
25 |
|
chunked_transfer-1.4.0
|
26 |
|
clap-2.33.3
|
27 |
|
constant_time_eq-0.1.5
|
28 |
|
crossbeam-utils-0.8.3
|
29 |
|
ctor-0.1.20
|
30 |
|
diff-0.1.12
|
|
21 |
chunked_transfer-1.4.1
|
|
22 |
clap-2.34.0
|
|
23 |
combine-4.6.6
|
|
24 |
core-foundation-0.9.3
|
|
25 |
core-foundation-sys-0.8.4
|
|
26 |
ctor-0.1.26
|
|
27 |
diff-0.1.13
|
31 |
28 |
difference-2.0.0
|
32 |
|
dirs-3.0.1
|
33 |
|
dirs-sys-0.3.5
|
34 |
|
either-1.6.1
|
35 |
|
form_urlencoded-1.0.1
|
36 |
|
getrandom-0.1.16
|
37 |
|
getrandom-0.2.2
|
38 |
|
glob-0.3.0
|
39 |
|
hashbrown-0.9.1
|
40 |
|
hermit-abi-0.1.18
|
41 |
|
html-escape-0.2.6
|
42 |
|
idna-0.2.2
|
43 |
|
indexmap-1.6.1
|
44 |
|
itoa-0.4.7
|
45 |
|
js-sys-0.3.48
|
|
29 |
dirs-3.0.2
|
|
30 |
dirs-4.0.0
|
|
31 |
dirs-sys-0.3.7
|
|
32 |
either-1.8.1
|
|
33 |
errno-0.3.0
|
|
34 |
errno-dragonfly-0.1.2
|
|
35 |
fastrand-1.9.0
|
|
36 |
form_urlencoded-1.1.0
|
|
37 |
getrandom-0.2.8
|
|
38 |
glob-0.3.1
|
|
39 |
hashbrown-0.12.3
|
|
40 |
hermit-abi-0.1.19
|
|
41 |
hermit-abi-0.3.1
|
|
42 |
html-escape-0.2.13
|
|
43 |
httpdate-1.0.2
|
|
44 |
idna-0.3.0
|
|
45 |
indexmap-1.9.3
|
|
46 |
instant-0.1.12
|
|
47 |
io-lifetimes-1.0.9
|
|
48 |
itoa-1.0.6
|
|
49 |
jni-0.21.1
|
|
50 |
jni-sys-0.3.0
|
|
51 |
js-sys-0.3.61
|
46 |
52 |
lazy_static-1.4.0
|
47 |
|
libc-0.2.86
|
48 |
|
libloading-0.7.0
|
49 |
|
log-0.4.14
|
50 |
|
matches-0.1.8
|
51 |
|
memchr-2.3.4
|
52 |
|
num-integer-0.1.44
|
53 |
|
num-traits-0.2.14
|
54 |
|
once_cell-1.7.0
|
55 |
|
output_vt100-0.1.2
|
56 |
|
percent-encoding-2.1.0
|
57 |
|
ppv-lite86-0.2.10
|
|
53 |
libc-0.2.141
|
|
54 |
libloading-0.7.4
|
|
55 |
linux-raw-sys-0.3.1
|
|
56 |
log-0.4.17
|
|
57 |
malloc_buf-0.0.6
|
|
58 |
memchr-2.5.0
|
|
59 |
ndk-context-0.1.1
|
|
60 |
objc-0.2.7
|
|
61 |
once_cell-1.17.1
|
|
62 |
output_vt100-0.1.3
|
|
63 |
percent-encoding-2.2.0
|
|
64 |
ppv-lite86-0.2.17
|
58 |
65 |
pretty_assertions-0.7.2
|
59 |
|
proc-macro2-1.0.24
|
60 |
|
quote-1.0.9
|
61 |
|
rand-0.8.3
|
62 |
|
rand_chacha-0.3.0
|
63 |
|
rand_core-0.6.2
|
64 |
|
rand_hc-0.3.0
|
65 |
|
redox_syscall-0.1.57
|
66 |
|
redox_syscall-0.2.5
|
67 |
|
redox_users-0.3.5
|
68 |
|
regex-1.4.3
|
69 |
|
regex-syntax-0.6.22
|
70 |
|
remove_dir_all-0.5.3
|
71 |
|
rust-argon2-0.8.3
|
|
66 |
proc-macro2-1.0.56
|
|
67 |
quote-1.0.26
|
|
68 |
rand-0.8.5
|
|
69 |
rand_chacha-0.3.1
|
|
70 |
rand_core-0.6.4
|
|
71 |
raw-window-handle-0.5.2
|
|
72 |
redox_syscall-0.2.16
|
|
73 |
redox_syscall-0.3.5
|
|
74 |
redox_users-0.4.3
|
|
75 |
regex-1.7.3
|
|
76 |
regex-syntax-0.6.29
|
72 |
77 |
rustc-hash-1.1.0
|
73 |
|
ryu-1.0.5
|
|
78 |
rustix-0.37.7
|
|
79 |
ryu-1.0.13
|
74 |
80 |
same-file-1.0.6
|
75 |
|
semver-1.0.5
|
76 |
|
serde-1.0.130
|
77 |
|
serde_derive-1.0.130
|
78 |
|
serde_json-1.0.63
|
|
81 |
semver-1.0.17
|
|
82 |
serde-1.0.159
|
|
83 |
serde_derive-1.0.159
|
|
84 |
serde_json-1.0.95
|
79 |
85 |
smallbitvec-2.5.1
|
80 |
86 |
strsim-0.8.0
|
81 |
|
syn-1.0.67
|
82 |
|
tempfile-3.2.0
|
|
87 |
syn-1.0.109
|
|
88 |
syn-2.0.13
|
|
89 |
tempfile-3.5.0
|
83 |
90 |
textwrap-0.11.0
|
84 |
|
thiserror-1.0.25
|
85 |
|
thiserror-impl-1.0.25
|
86 |
|
thread_local-1.1.3
|
87 |
|
time-0.1.43
|
88 |
|
tiny_http-0.8.0
|
89 |
|
tinyvec-1.1.1
|
90 |
|
tinyvec_macros-0.1.0
|
91 |
|
toml-0.5.8
|
92 |
|
unicode-bidi-0.3.4
|
93 |
|
unicode-normalization-0.1.17
|
94 |
|
unicode-width-0.1.8
|
95 |
|
unicode-xid-0.2.1
|
96 |
|
url-2.2.1
|
97 |
|
utf8-width-0.1.4
|
|
91 |
thiserror-1.0.40
|
|
92 |
thiserror-impl-1.0.40
|
|
93 |
tiny_http-0.12.0
|
|
94 |
tinyvec-1.6.0
|
|
95 |
tinyvec_macros-0.1.1
|
|
96 |
toml-0.5.11
|
|
97 |
unicode-bidi-0.3.13
|
|
98 |
unicode-ident-1.0.8
|
|
99 |
unicode-normalization-0.1.22
|
|
100 |
unicode-width-0.1.10
|
|
101 |
unindent-0.2.1
|
|
102 |
url-2.3.1
|
|
103 |
utf8-width-0.1.6
|
98 |
104 |
vec_map-0.8.2
|
99 |
|
walkdir-2.3.1
|
100 |
|
wasi-0.9.0+wasi-snapshot-preview1
|
101 |
|
wasi-0.10.2+wasi-snapshot-preview1
|
102 |
|
wasm-bindgen-0.2.71
|
103 |
|
wasm-bindgen-backend-0.2.71
|
104 |
|
wasm-bindgen-macro-0.2.71
|
105 |
|
wasm-bindgen-macro-support-0.2.71
|
106 |
|
wasm-bindgen-shared-0.2.71
|
107 |
|
web-sys-0.3.48
|
108 |
|
webbrowser-0.5.5
|
109 |
|
which-4.1.0
|
110 |
|
widestring-0.4.3
|
|
105 |
walkdir-2.3.3
|
|
106 |
wasi-0.11.0+wasi-snapshot-preview1
|
|
107 |
wasm-bindgen-0.2.84
|
|
108 |
wasm-bindgen-backend-0.2.84
|
|
109 |
wasm-bindgen-macro-0.2.84
|
|
110 |
wasm-bindgen-macro-support-0.2.84
|
|
111 |
wasm-bindgen-shared-0.2.84
|
|
112 |
web-sys-0.3.61
|
|
113 |
webbrowser-0.8.8
|
|
114 |
which-4.4.0
|
111 |
115 |
winapi-0.3.9
|
112 |
116 |
winapi-i686-pc-windows-gnu-0.4.0
|
113 |
117 |
winapi-util-0.1.5
|
114 |
118 |
winapi-x86_64-pc-windows-gnu-0.4.0
|
|
119 |
windows-sys-0.45.0
|
|
120 |
windows-targets-0.42.2
|
|
121 |
windows_aarch64_gnullvm-0.42.2
|
|
122 |
windows_aarch64_msvc-0.42.2
|
|
123 |
windows_i686_gnu-0.42.2
|
|
124 |
windows_i686_msvc-0.42.2
|
|
125 |
windows_x86_64_gnu-0.42.2
|
|
126 |
windows_x86_64_gnullvm-0.42.2
|
|
127 |
windows_x86_64_msvc-0.42.2
|
115 |
128 |
"
|
116 |
|
|
117 |
129 |
inherit cargo
|
118 |
130 |
|
119 |
131 |
DESCRIPTION="Command-line tool for creating and testing tree-sitter grammars"
|
... | ... | |
124 |
136 |
|
125 |
137 |
LICENSE="Apache-2.0 BSD-2 CC0-1.0 ISC MIT"
|
126 |
138 |
SLOT="0"
|
127 |
|
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
|
|
139 |
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
|
128 |
140 |
|
129 |
141 |
# Test seems to require files (grammar definitions) that we don't have.
|
130 |
142 |
RESTRICT="test"
|