remove ia64 keywords
[gentoo-zh.git] / app-misc / yazi / yazi-0.4.2.ebuild
blob334840bfd3df1f2974e4fcf7d7c527dabbf6e57c
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 # Autogenerated by pycargoebuild 0.13.4
6 EAPI=8
8 CRATES="
9 addr2line@0.24.2
10 adler2@2.0.0
11 aho-corasick@1.1.3
12 aligned-vec@0.5.0
13 allocator-api2@0.2.21
14 android-tzdata@0.1.1
15 android_system_properties@0.1.5
16 ansi-to-tui@7.0.0
17 anstream@0.6.18
18 anstyle-parse@0.2.6
19 anstyle-query@1.1.2
20 anstyle-wincon@3.0.6
21 anstyle@1.0.10
22 anyhow@1.0.94
23 arbitrary@1.4.1
24 arc-swap@1.7.1
25 arg_enum_proc_macro@0.3.4
26 arrayvec@0.7.6
27 async-priority-channel@0.2.0
28 autocfg@1.4.0
29 av1-grain@0.2.3
30 avif-serialize@0.8.2
31 backtrace@0.3.74
32 base64@0.22.1
33 better-panic@0.3.0
34 bincode@1.3.3
35 bit_field@0.10.2
36 bitflags@1.3.2
37 bitflags@2.6.0
38 bitstream-io@2.6.0
39 block-buffer@0.10.4
40 block2@0.5.1
41 bstr@1.11.1
42 built@0.7.5
43 bumpalo@3.16.0
44 bytemuck@1.20.0
45 byteorder-lite@0.1.0
46 byteorder@1.5.0
47 bytes@1.9.0
48 cassowary@0.3.0
49 castaway@0.2.3
50 cc@1.2.4
51 cfg-expr@0.15.8
52 cfg-if@1.0.0
53 chrono@0.4.39
54 clap@4.5.23
55 clap_builder@4.5.23
56 clap_complete@4.5.39
57 clap_complete_fig@4.5.2
58 clap_complete_nushell@4.5.4
59 clap_derive@4.5.18
60 clap_lex@0.7.4
61 clipboard-win@5.4.0
62 color_quant@1.1.0
63 colorchoice@1.0.3
64 compact_str@0.8.0
65 concurrent-queue@2.5.0
66 console@0.15.10
67 core-foundation-sys@0.8.7
68 crc32fast@1.4.2
69 crossbeam-channel@0.5.14
70 crossbeam-deque@0.8.6
71 crossbeam-epoch@0.9.18
72 crossbeam-utils@0.8.21
73 crossterm@0.28.1
74 crossterm_winapi@0.9.1
75 crunchy@0.2.2
76 crypto-common@0.1.6
77 darling@0.20.10
78 darling_core@0.20.10
79 darling_macro@0.20.10
80 deranged@0.3.11
81 derive_builder@0.20.2
82 derive_builder_core@0.20.2
83 derive_builder_macro@0.20.2
84 diff@0.1.13
85 digest@0.10.7
86 dirs-sys@0.4.1
87 dirs@5.0.1
88 displaydoc@0.2.5
89 either@1.13.0
90 encode_unicode@1.0.0
91 equivalent@1.0.1
92 erased-serde@0.4.5
93 errno@0.3.10
94 error-code@3.3.1
95 event-listener@4.0.3
96 exr@1.73.0
97 fdeflate@0.3.7
98 fdlimit@0.3.0
99 filedescriptor@0.8.2
100 filetime@0.2.25
101 flate2@1.0.35
102 fnv@1.0.7
103 foldhash@0.1.3
104 form_urlencoded@1.2.1
105 fsevent-sys@4.1.0
106 futures-channel@0.3.31
107 futures-core@0.3.31
108 futures-executor@0.3.31
109 futures-io@0.3.31
110 futures-macro@0.3.31
111 futures-sink@0.3.31
112 futures-task@0.3.31
113 futures-util@0.3.31
114 futures@0.3.31
115 generic-array@0.14.7
116 getrandom@0.2.15
117 gif@0.13.1
118 gimli@0.31.1
119 globset@0.4.15
120 half@2.4.1
121 hashbrown@0.15.2
122 heck@0.5.0
123 home@0.5.11
124 iana-time-zone-haiku@0.1.2
125 iana-time-zone@0.1.61
126 icu_collections@1.5.0
127 icu_locid@1.5.0
128 icu_locid_transform@1.5.0
129 icu_locid_transform_data@1.5.0
130 icu_normalizer@1.5.0
131 icu_normalizer_data@1.5.0
132 icu_properties@1.5.1
133 icu_properties_data@1.5.0
134 icu_provider@1.5.0
135 icu_provider_macros@1.5.0
136 ident_case@1.0.1
137 idna@1.0.3
138 idna_adapter@1.2.0
139 image-webp@0.2.0
140 image@0.25.5
141 imgref@1.11.0
142 indexmap@2.7.0
143 indoc@2.0.5
144 inotify-sys@0.1.5
145 inotify@0.10.2
146 instability@0.3.3
147 instant@0.1.13
148 interpolate_name@0.2.4
149 is_terminal_polyfill@1.70.1
150 itertools@0.12.1
151 itertools@0.13.0
152 itoa@1.0.14
153 jobserver@0.1.32
154 js-sys@0.3.76
155 kqueue-sys@1.0.4
156 kqueue@1.0.8
157 lazy_static@1.5.0
158 lebe@0.5.2
159 libc@0.2.168
160 libfuzzer-sys@0.4.8
161 libredox@0.1.3
162 linux-raw-sys@0.4.14
163 litemap@0.7.4
164 lock_api@0.4.12
165 log@0.4.22
166 loop9@0.1.5
167 lru@0.12.5
168 lua-src@547.0.0
169 luajit-src@210.5.11+97813fb
170 matchers@0.1.0
171 maybe-rayon@0.1.1
172 md-5@0.10.6
173 memchr@2.7.4
174 minimal-lexical@0.2.1
175 miniz_oxide@0.8.0
176 mio@1.0.3
177 mlua-sys@0.6.6
178 mlua@0.10.2
179 mlua_derive@0.10.1
180 new_debug_unreachable@1.0.6
181 nom@7.1.3
182 noop_proc_macro@0.3.0
183 notify-types@1.0.0
184 notify@7.0.0
185 nu-ansi-term@0.46.0
186 num-bigint@0.4.6
187 num-conv@0.1.0
188 num-derive@0.4.2
189 num-integer@0.1.46
190 num-rational@0.4.2
191 num-traits@0.2.19
192 num_threads@0.1.7
193 objc-sys@0.3.5
194 objc2-encode@4.0.3
195 objc2-foundation@0.2.2
196 objc2@0.5.2
197 object@0.36.5
198 once_cell@1.20.2
199 onig@6.4.0
200 onig_sys@69.8.1
201 option-ext@0.2.0
202 ordered-float@2.10.1
203 overload@0.1.1
204 parking@2.2.1
205 parking_lot@0.12.3
206 parking_lot_core@0.9.10
207 paste@1.0.15
208 percent-encoding@2.3.1
209 pin-project-lite@0.2.15
210 pin-utils@0.1.0
211 pkg-config@0.3.31
212 plist@1.7.0
213 png@0.17.15
214 powerfmt@0.2.0
215 ppv-lite86@0.2.20
216 pretty_assertions@1.4.1
217 proc-macro-error-attr2@2.0.0
218 proc-macro-error2@2.0.1
219 proc-macro2@1.0.92
220 profiling-procmacros@1.0.16
221 profiling@1.0.16
222 qoi@0.4.1
223 quick-error@2.0.1
224 quick-xml@0.32.0
225 quote@1.0.37
226 rand@0.8.5
227 rand_chacha@0.3.1
228 rand_core@0.6.4
229 ratatui@0.29.0
230 rav1e@0.7.1
231 ravif@0.11.11
232 rayon-core@1.12.1
233 redox_syscall@0.5.8
234 redox_users@0.4.6
235 regex-automata@0.1.10
236 regex-automata@0.4.9
237 regex-syntax@0.6.29
238 regex-syntax@0.8.5
239 regex@1.11.1
240 rgb@0.8.50
241 rustc-demangle@0.1.24
242 rustc-hash@2.1.0
243 rustc_version@0.4.1
244 rustix@0.38.42
245 rustversion@1.0.18
246 ryu@1.0.18
247 same-file@1.0.6
248 scopeguard@1.2.0
249 semver@1.0.24
250 serde-value@0.7.0
251 serde@1.0.216
252 serde_derive@1.0.216
253 serde_json@1.0.133
254 serde_spanned@0.6.8
255 sharded-slab@0.1.7
256 shell-words@1.1.0
257 shlex@1.3.0
258 signal-hook-mio@0.2.4
259 signal-hook-registry@1.4.2
260 signal-hook-tokio@0.3.1
261 signal-hook@0.3.17
262 simd-adler32@0.3.7
263 simd_helpers@0.1.0
264 simdutf8@0.1.5
265 slab@0.4.9
266 smallvec@1.13.2
267 socket2@0.5.8
268 stable_deref_trait@1.2.0
269 static_assertions@1.1.0
270 strsim@0.11.1
271 strum@0.26.3
272 strum_macros@0.26.4
273 syn@2.0.90
274 synstructure@0.13.1
275 syntect@5.2.0
276 system-deps@6.2.2
277 target-lexicon@0.12.16
278 thiserror-impl@1.0.69
279 thiserror@1.0.69
280 thread_local@1.1.8
281 tikv-jemalloc-sys@0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7
282 tikv-jemallocator@0.6.0
283 time-core@0.1.2
284 time-macros@0.2.19
285 time@0.3.37
286 tinystr@0.7.6
287 tokio-macros@2.4.0
288 tokio-stream@0.1.17
289 tokio-util@0.7.13
290 tokio@1.42.0
291 toml@0.8.19
292 toml_datetime@0.6.8
293 toml_edit@0.22.22
294 tracing-appender@0.2.3
295 tracing-attributes@0.1.28
296 tracing-core@0.1.33
297 tracing-log@0.2.0
298 tracing-subscriber@0.3.19
299 tracing@0.1.41
300 trash@5.2.1
301 typeid@1.0.2
302 typenum@1.17.0
303 unicode-ident@1.0.14
304 unicode-segmentation@1.12.0
305 unicode-truncate@1.1.0
306 unicode-width@0.1.14
307 unicode-width@0.2.0
308 url@2.5.4
309 urlencoding@2.1.3
310 utf16_iter@1.0.5
311 utf8_iter@1.0.4
312 utf8parse@0.2.2
313 uzers@0.12.1
314 v_frame@0.3.8
315 validator@0.19.0
316 validator_derive@0.19.0
317 valuable@0.1.0
318 vergen-gitcl@1.0.2
319 vergen-lib@0.1.5
320 vergen@9.0.2
321 version-compare@0.2.0
322 version_check@0.9.5
323 walkdir@2.5.0
324 wasi@0.11.0+wasi-snapshot-preview1
325 wasm-bindgen-backend@0.2.99
326 wasm-bindgen-macro-support@0.2.99
327 wasm-bindgen-macro@0.2.99
328 wasm-bindgen-shared@0.2.99
329 wasm-bindgen@0.2.99
330 weezl@0.1.8
331 which@6.0.3
332 winapi-i686-pc-windows-gnu@0.4.0
333 winapi-util@0.1.9
334 winapi-x86_64-pc-windows-gnu@0.4.0
335 winapi@0.3.9
336 windows-core@0.52.0
337 windows-core@0.56.0
338 windows-implement@0.56.0
339 windows-interface@0.56.0
340 windows-result@0.1.2
341 windows-sys@0.48.0
342 windows-sys@0.52.0
343 windows-sys@0.59.0
344 windows-targets@0.48.5
345 windows-targets@0.52.6
346 windows@0.56.0
347 windows_aarch64_gnullvm@0.48.5
348 windows_aarch64_gnullvm@0.52.6
349 windows_aarch64_msvc@0.48.5
350 windows_aarch64_msvc@0.52.6
351 windows_i686_gnu@0.48.5
352 windows_i686_gnu@0.52.6
353 windows_i686_gnullvm@0.52.6
354 windows_i686_msvc@0.48.5
355 windows_i686_msvc@0.52.6
356 windows_x86_64_gnu@0.48.5
357 windows_x86_64_gnu@0.52.6
358 windows_x86_64_gnullvm@0.48.5
359 windows_x86_64_gnullvm@0.52.6
360 windows_x86_64_msvc@0.48.5
361 windows_x86_64_msvc@0.52.6
362 winnow@0.6.20
363 winsafe@0.0.19
364 write16@1.0.0
365 writeable@0.5.5
366 yansi@1.0.1
367 yazi-prebuild@0.1.2
368 yoke-derive@0.7.5
369 yoke@0.7.5
370 zerocopy-derive@0.7.35
371 zerocopy@0.7.35
372 zerofrom-derive@0.1.5
373 zerofrom@0.1.5
374 zerovec-derive@0.10.3
375 zerovec@0.10.4
376 zune-core@0.4.12
377 zune-inflate@0.2.54
378 zune-jpeg@0.4.14
381 inherit cargo desktop shell-completion xdg
383 DESCRIPTION="Blazing fast terminal file manager written in Rust, based on async I/O."
384 HOMEPAGE="https://yazi-rs.github.io"
385 SRC_URI="
386 https://github.com/sxyazi/yazi/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
387 ${CARGO_CRATE_URIS}
390 LICENSE="MIT"
391 # Dependent crate licenses
392 LICENSE+="
393 Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
394 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016
396 SLOT="0"
397 KEYWORDS="~amd64 ~riscv"
399 IUSE="+cli"
401 QA_FLAGS_IGNORED="
402 usr/bin/ya.*
405 DOCS=(
406 README.md
409 src_prepare() {
410 export YAZI_GEN_COMPLETIONS=true
411 sed -i -r 's/strip\s+= true/strip = false/' Cargo.toml || die "Sed failed!"
412 eapply_user
415 src_compile() {
416 cargo_src_compile --locked
417 use cli && cargo_src_compile -p "${PN}-cli"
420 src_install() {
421 dobin "$(cargo_target_dir)/${PN}"
422 use cli && dobin "$(cargo_target_dir)/ya"
424 newbashcomp "${S}/yazi-boot/completions/${PN}.bash" "${PN}"
425 dozshcomp "${S}/yazi-boot/completions/_${PN}"
426 dofishcomp "${S}/yazi-boot/completions/${PN}.fish"
428 if use cli
429 then
430 newbashcomp "${S}/yazi-cli/completions/ya.bash" "ya"
431 dozshcomp "${S}/yazi-cli/completions/_ya"
432 dofishcomp "${S}/yazi-cli/completions/ya.fish"
435 domenu "assets/${PN}.desktop"
436 einstalldocs