Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/broot/
Date: Mon, 27 Feb 2023 11:22:40
Message-Id: 1677496945.8e4432da2757d553721c747bc8621c361f5556ac.flow@gentoo
1 commit: 8e4432da2757d553721c747bc8621c361f5556ac
2 Author: Karl-Johan Karlsson <creideiki <AT> lysator <DOT> liu <DOT> se>
3 AuthorDate: Mon Feb 20 15:13:26 2023 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 11:22:25 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e4432da
7
8 app-misc/broot: add 1.20.2
9
10 Signed-off-by: Karl-Johan Karlsson <creideiki <AT> lysator.liu.se>
11 Closes: https://github.com/gentoo/gentoo/pull/29686
12 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
13
14 app-misc/broot/Manifest | 2 +
15 app-misc/broot/broot-1.20.2.ebuild | 347 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 349 insertions(+)
17
18 diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest
19 index de0404949b1e..d35a0f03a2b8 100644
20 --- a/app-misc/broot/Manifest
21 +++ b/app-misc/broot/Manifest
22 @@ -22,6 +22,7 @@ DIST bit_field-0.10.1.crate 10576 BLAKE2B 3a906092be85cce6af9e2ac48632d8545864c5
23 DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
24 DIST broot-1.19.0.tar.gz 10132851 BLAKE2B 23629bf7248b3b570e9a9553aba4d6991c557f4c06d3d906f9a018fe5584d73f0c07ff9f93ea7455f3bf6dbeb64f7b288f7162eb59929f6667326b8848f02d88 SHA512 bcf4d8a40f03e0aa1681f603efdd922351a0b7052d810b9712f1e1dfc32b9aba096b43b5eed13c4016117c474324ea8b55afe641fb68031ebf82af96ad3cbd3d
25 DIST broot-1.20.1.tar.gz 11033695 BLAKE2B ad4eb5bf23c772b8aee4af762d55ce6f80fb890700f262cba5ad1ac370feed78b77738f98a76db813cdb7f46465d4d3d59016bb4b82edec440087bde5a09263b SHA512 d2011e8e8ea4bbde52353a6c57bcef70c8659e5e96d6f879e21094be1ce8e71e5924c797a2ab5fbb3e3b18f9ccc6efe8afb5d6461988d2b0f957c8325e6217dd
26 +DIST broot-1.20.2.tar.gz 11094835 BLAKE2B 3dd5c3ea6d5a02a78b9b1e169468872abaf4502d79f1f3224c646c524b274bca204a31271169a2b1d5d377dc2c14af198e1675f6cfd9bc8fb66694d0fa0e5f37 SHA512 4c96bbcf204edd74d6ffa3f1ed04c59ce1fa2be0bbd6c2caa4c05ccd1b2c07d577e39376d58e4d4d2b86a2d46787472766b399d0f242f70556d1c52195b91ceb
27 DIST bstr-0.2.17.crate 330350 BLAKE2B 90c3a48d78b73d7e36a3da9fda0beae6e91ce534d17198ea8ceee0b613d03297f9dd8bca30e1ec5da01d1da359a1da72b2c2771b77c82bebab5006cafd665192 SHA512 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2
28 DIST bstr-1.2.0.crate 340985 BLAKE2B a032f74c4681407704fe6b49cadb19bece51270abe85c3fab9268f5cb0fd27bd12c179beb88c932b1a5ea745af476249ad66465ec88ceefa433d4b6cca9d3b93 SHA512 df849487d35299abe116ef5e32857cb8736a5a89bb3b785a3563a5a0b43e412935eb21a639add210b6d5808fce135afbdb548f86f8572d4b105a065901b5a543
29 DIST bumpalo-3.11.1.crate 81207 BLAKE2B ba76008fb5a975aca12b6f893779e18dd353a22a42cbbeecd5870622a7cbc0cd7e37036af600c570b8a55f26ea8d07f44a9aa1a8373d977b6f75bd4276730292 SHA512 70e90bee1fa4e783ff5a3b18f192b9347bafab7daaa907e74913a415a66c29acfb073fcfb46150801aa7649ab0d2ec8a610de239551565dd167bac72ab13a9bc
30 @@ -251,6 +252,7 @@ DIST termimad-0.21.0.crate 355828 BLAKE2B 86e3a7a3f6f13f40f7825c79225d5cd23d35da
31 DIST terminal-clipboard-0.3.1.crate 5597 BLAKE2B a05f67c1ebce2129a2b8130cd84fbed579c67ae4d46bc4f233e6ae647a2693e5c1257ce3882a21345b596c487cbf5b339ef907f417aafea4bb6f980113aa31eb SHA512 b29a81d2737271cc4e60115e473ea3af80ce45f078c99fee573cbd35da8e27c939ff1aa86dd86a3e2ea9352a28f2fd3492e28be63c3eb0dad53974d06b43c346
32 DIST terminal-light-1.0.1.crate 39115 BLAKE2B b4a8ec843c84a22b7de0f607ed4ad212f503142ff3e0085903c7faa2a9c0058f7de019501dd04becb7913f7ab6f988d79d07efdd6d42cfe233f0ba3468367edb SHA512 0547e006add17b0a363bbe792a1cab67832af3fe148e85b5a00a70651a01e8d8fd8a7cc1e720093d4223e50fe10277389d72acd5b3b738bfa6027be35e7fbb80
33 DIST terminal-light-1.1.0.crate 39353 BLAKE2B 9727a1e338c605ac97fbe26a12203ef25c5c2f4549c74c7b8ee2d1c32c60339934507f1b82a66221f1ac8d1f971be1f25677468ba71a14dcd413c550da136dd4 SHA512 197786a3b79a28f667778527f3aed2d76b52d2ba3c001d27ca3de3310d79fc4c051a1756277b405bcc28407232dac5c6e5ed971f7d171a5841e2f234ed35b1f2
34 +DIST terminal-light-1.1.1.crate 39344 BLAKE2B 92cd28f4e3a64a995815bddc98baa916bef6e271d32499ee648c795ddcdc71ddbfcb5523e4941224e6aff650aca36850cc6eabb08a6c107352adde607e9f4afd SHA512 c25f4abfe4c51ccf7aef1d80848964ad5d80e472c18ed114f25e9047a31120ffd0478f8a8457985d06bfd05ac12d5945bf9c508b9af022c64c8e3a5e6b6f1eb3
35 DIST termux-clipboard-0.1.0.crate 2033 BLAKE2B 33003b25e6236370b2423472e87deaac8ee282c375e02faa3575aaec7ef547674f0218a50f0a2d42ff75dcf088ef31d94f44c4b05c0f526dddbaef2e06a8c722 SHA512 acd972d9c9eaa20dfadf1ec01274ed27fb33d16d97b504d8f41fea9c6598557a32d939d0a8a8585d919ee9d1b411d714851d662b5bc7d1a5f3b97d8cd423a434
36 DIST textwrap-0.16.0.crate 53722 BLAKE2B 44140aa2dfd5076005749449a56e920418e71e34cb92f1d697eb3f3e7f6fe87b0a3861c8a4050a4a62e03187b6cadc4495e4200bee52ee183541431c73e47209 SHA512 97ae8acece5663e1a6b08b827179e96d5ad0ee67d635888cc3d83454b52cf48fce97eb0eba374ba4747834099c74f43d66d9fec868e84be45369a42c1aaec2c3
37 DIST thiserror-1.0.38.crate 18947 BLAKE2B fb81df34dba2958395ae360cbb14e2708e5a3cfa5cd0bd03c58f29c146d8afd8595a7ca1b30f1ed2a75ba140a55ba450fd4fd040aa1a1dccb0baf393b0e98d60 SHA512 95b8ca682b579834a04058f03ed0c994ccef426d75e0fcc28ee47151d343da25e8fe31f8157744d942aa54652115f477fc6037f91c581dbc127b829cc96476ce
38
39 diff --git a/app-misc/broot/broot-1.20.2.ebuild b/app-misc/broot/broot-1.20.2.ebuild
40 new file mode 100644
41 index 000000000000..1c6848ef09a2
42 --- /dev/null
43 +++ b/app-misc/broot/broot-1.20.2.ebuild
44 @@ -0,0 +1,347 @@
45 +# Copyright 2021-2023 Gentoo Authors
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=8
49 +
50 +CRATES="
51 +adler-1.0.2
52 +ahash-0.4.7
53 +ahash-0.7.6
54 +aho-corasick-0.7.20
55 +android_system_properties-0.1.5
56 +ansi_colours-1.2.1
57 +anyhow-1.0.68
58 +argh-0.1.10
59 +argh_derive-0.1.10
60 +argh_shared-0.1.10
61 +arrayref-0.3.6
62 +arrayvec-0.7.2
63 +atty-0.2.14
64 +autocfg-1.1.0
65 +base64-0.13.1
66 +bet-1.0.2
67 +bincode-1.3.3
68 +bit_field-0.10.1
69 +bitflags-1.3.2
70 +bstr-0.2.17
71 +bstr-1.2.0
72 +bumpalo-3.12.0
73 +bytemuck-1.13.0
74 +byteorder-1.4.3
75 +cc-1.0.79
76 +cfg-if-1.0.0
77 +char_reader-0.1.1
78 +chrono-0.4.23
79 +clap-3.2.23
80 +clap_complete-3.2.5
81 +clap_derive-3.2.18
82 +clap_lex-0.2.4
83 +cli-log-2.0.0
84 +clipboard-win-4.5.0
85 +codespan-reporting-0.11.1
86 +color_quant-1.1.0
87 +coolor-0.5.0
88 +core-foundation-sys-0.8.3
89 +crc32fast-1.3.2
90 +crokey-0.4.3
91 +crokey-proc_macros-0.4.0
92 +crossbeam-0.8.2
93 +crossbeam-channel-0.5.6
94 +crossbeam-deque-0.8.2
95 +crossbeam-epoch-0.9.13
96 +crossbeam-queue-0.3.8
97 +crossbeam-utils-0.8.14
98 +crossterm-0.23.2
99 +crossterm_winapi-0.9.0
100 +crunchy-0.2.2
101 +csv-1.1.6
102 +csv-core-0.1.10
103 +csv2svg-0.1.8
104 +custom_error-1.9.2
105 +cxx-1.0.89
106 +cxx-build-1.0.89
107 +cxxbridge-flags-1.0.89
108 +cxxbridge-macro-1.0.89
109 +data-url-0.2.0
110 +deser-hjson-1.1.0
111 +directories-4.0.1
112 +directories-next-2.0.0
113 +dirs-sys-0.3.7
114 +dirs-sys-next-0.1.2
115 +doc-comment-0.3.3
116 +either-1.8.1
117 +error-code-2.3.1
118 +exr-1.5.2
119 +fallible-iterator-0.2.0
120 +fallible-streaming-iterator-0.1.9
121 +fastrand-1.8.0
122 +file-size-1.0.3
123 +flate2-1.0.25
124 +float-cmp-0.9.0
125 +flume-0.10.14
126 +fnv-1.0.7
127 +fontconfig-parser-0.5.1
128 +fontdb-0.10.0
129 +form_urlencoded-1.1.0
130 +futures-core-0.3.26
131 +futures-sink-0.3.26
132 +getrandom-0.2.8
133 +gif-0.11.4
134 +git2-0.14.4
135 +glassbench-0.3.4
136 +glob-0.3.1
137 +half-2.2.1
138 +hashbrown-0.12.3
139 +hashbrown-0.9.1
140 +hashlink-0.6.0
141 +heck-0.4.1
142 +hermit-abi-0.1.19
143 +hermit-abi-0.2.6
144 +iana-time-zone-0.1.53
145 +iana-time-zone-haiku-0.1.1
146 +id-arena-2.2.1
147 +idna-0.3.0
148 +image-0.24.5
149 +imagesize-0.10.1
150 +include_dir-0.7.3
151 +include_dir_macros-0.7.3
152 +indexmap-1.9.2
153 +instant-0.1.12
154 +is_executable-1.0.1
155 +itoa-0.4.8
156 +itoa-1.0.5
157 +jobserver-0.1.25
158 +jpeg-decoder-0.3.0
159 +js-sys-0.3.61
160 +kurbo-0.8.3
161 +lazy-regex-2.4.1
162 +lazy-regex-proc_macros-2.4.1
163 +lazy_static-1.4.0
164 +lebe-0.5.2
165 +lfs-core-0.11.1
166 +libc-0.2.139
167 +libgit2-sys-0.13.5+1.4.5
168 +libsqlite3-sys-0.20.1
169 +libz-sys-1.1.8
170 +line-wrap-0.1.1
171 +link-cplusplus-1.0.8
172 +linked-hash-map-0.5.6
173 +lock_api-0.4.9
174 +log-0.4.17
175 +memchr-2.5.0
176 +memmap2-0.5.8
177 +memoffset-0.6.5
178 +memoffset-0.7.1
179 +minimad-0.9.1
180 +minimad-0.10.0
181 +miniz_oxide-0.5.4
182 +miniz_oxide-0.6.2
183 +mio-0.8.5
184 +nanorand-0.7.0
185 +nix-0.22.3
186 +num-integer-0.1.45
187 +num-rational-0.4.1
188 +num-traits-0.2.15
189 +num_cpus-1.15.0
190 +once_cell-1.17.0
191 +onig-6.4.0
192 +onig_sys-69.8.1
193 +open-1.7.1
194 +opener-0.5.2
195 +os_str_bytes-6.4.1
196 +parking_lot-0.12.1
197 +parking_lot_core-0.9.7
198 +pathdiff-0.2.1
199 +percent-encoding-2.2.0
200 +phf-0.10.1
201 +phf_generator-0.10.0
202 +phf_macros-0.10.0
203 +phf_shared-0.10.0
204 +pico-args-0.5.0
205 +pin-project-1.0.12
206 +pin-project-internal-1.0.12
207 +pkg-config-0.3.26
208 +plist-1.4.0
209 +png-0.17.6
210 +ppv-lite86-0.2.17
211 +proc-macro-error-1.0.4
212 +proc-macro-error-attr-1.0.4
213 +proc-macro-hack-0.5.20+deprecated
214 +proc-macro2-1.0.50
215 +proc-status-0.1.1
216 +quick-xml-0.22.0
217 +quick-xml-0.26.0
218 +quote-1.0.23
219 +rand-0.8.5
220 +rand_chacha-0.3.1
221 +rand_core-0.6.4
222 +rayon-1.6.1
223 +rayon-core-1.10.2
224 +rctree-0.5.0
225 +redox_syscall-0.2.16
226 +redox_users-0.4.3
227 +regex-1.7.1
228 +regex-automata-0.1.10
229 +regex-syntax-0.6.28
230 +remove_dir_all-0.5.3
231 +resvg-0.28.0
232 +rgb-0.8.34
233 +roxmltree-0.15.1
234 +rusqlite-0.24.2
235 +rustybuzz-0.6.0
236 +ryu-1.0.12
237 +safemem-0.3.3
238 +same-file-1.0.6
239 +scoped_threadpool-0.1.9
240 +scopeguard-1.1.0
241 +scratch-1.0.3
242 +secular-1.0.1
243 +serde-1.0.152
244 +serde_derive-1.0.152
245 +serde_json-1.0.91
246 +signal-hook-0.3.14
247 +signal-hook-mio-0.2.3
248 +signal-hook-registry-1.4.0
249 +simplecss-0.2.1
250 +siphasher-0.3.10
251 +smallvec-1.10.0
252 +snafu-0.7.4
253 +snafu-derive-0.7.4
254 +spin-0.9.4
255 +splitty-1.0.1
256 +str-buf-1.0.6
257 +strict-0.1.4
258 +strict-num-0.1.0
259 +strsim-0.10.0
260 +svg-0.8.2
261 +svg-0.10.0
262 +svgfilters-0.4.0
263 +svgtypes-0.8.2
264 +syn-1.0.107
265 +syntect-no-panic-4.6.1
266 +tempfile-3.3.0
267 +termcolor-1.2.0
268 +termimad-0.20.6
269 +termimad-0.21.0
270 +terminal-clipboard-0.3.1
271 +terminal-light-1.1.1
272 +termux-clipboard-0.1.0
273 +textwrap-0.16.0
274 +thiserror-1.0.38
275 +thiserror-impl-1.0.38
276 +threadpool-1.8.1
277 +tiff-0.8.1
278 +time-0.1.45
279 +time-0.3.17
280 +time-core-0.1.0
281 +time-macros-0.2.6
282 +tiny-skia-0.8.2
283 +tiny-skia-path-0.8.2
284 +tinyvec-1.6.0
285 +tinyvec_macros-0.1.1
286 +toml-0.5.11
287 +ttf-parser-0.17.1
288 +umask-2.0.0
289 +unicode-bidi-0.3.10
290 +unicode-bidi-mirroring-0.1.0
291 +unicode-ccc-0.1.2
292 +unicode-general-category-0.6.0
293 +unicode-ident-1.0.6
294 +unicode-normalization-0.1.22
295 +unicode-script-0.5.5
296 +unicode-vo-0.1.0
297 +unicode-width-0.1.10
298 +url-2.3.1
299 +users-0.11.0
300 +usvg-0.28.0
301 +usvg-text-layout-0.28.0
302 +vcpkg-0.2.15
303 +version_check-0.9.4
304 +walkdir-2.3.2
305 +wasi-0.10.0+wasi-snapshot-preview1
306 +wasi-0.11.0+wasi-snapshot-preview1
307 +wasm-bindgen-0.2.84
308 +wasm-bindgen-backend-0.2.84
309 +wasm-bindgen-macro-0.2.84
310 +wasm-bindgen-macro-support-0.2.84
311 +wasm-bindgen-shared-0.2.84
312 +weezl-0.1.7
313 +winapi-0.3.9
314 +winapi-i686-pc-windows-gnu-0.4.0
315 +winapi-util-0.1.5
316 +winapi-x86_64-pc-windows-gnu-0.4.0
317 +windows-sys-0.42.0
318 +windows-sys-0.45.0
319 +windows-targets-0.42.1
320 +windows_aarch64_gnullvm-0.42.1
321 +windows_aarch64_msvc-0.42.1
322 +windows_i686_gnu-0.42.1
323 +windows_i686_msvc-0.42.1
324 +windows_x86_64_gnu-0.42.1
325 +windows_x86_64_gnullvm-0.42.1
326 +windows_x86_64_msvc-0.42.1
327 +x11-clipboard-0.5.3
328 +xcb-0.10.1
329 +xmlparser-0.13.5
330 +xterm-query-0.1.0
331 +xterm-query-0.2.0
332 +yaml-rust-0.4.5
333 +"
334 +
335 +inherit bash-completion-r1 cargo
336 +
337 +DESCRIPTION="A new way to see and navigate directory trees"
338 +HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
339 +SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
340 + $(cargo_crate_uris)"
341 +
342 +LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
343 +SLOT="0"
344 +KEYWORDS="~amd64"
345 +IUSE="X"
346 +
347 +RDEPEND="
348 + dev-libs/libgit2:=
349 + sys-libs/zlib
350 + X? ( x11-libs/libxcb:= )
351 +"
352 +DEPEND="${RDEPEND}"
353 +BDEPEND=">=virtual/rust-1.65"
354 +
355 +QA_FLAGS_IGNORED="usr/bin/${PN}"
356 +
357 +src_configure() {
358 + export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
359 + local myfeatures=( $(usev X clipboard) )
360 +
361 + cargo_src_configure --no-default-features
362 +}
363 +
364 +src_prepare() {
365 + default
366 +
367 + local mandate=$(date -r man/page +'%Y/%m/%d' || die)
368 + sed -e "s|#version|${PV}|" \
369 + -e "s|#date|${mandate}|" \
370 + man/page > "${T}"/${PN}.1 || die
371 +}
372 +
373 +src_install() {
374 + cargo_src_install
375 +
376 + doman "${T}"/${PN}.1
377 +
378 + local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
379 + cd ${build_dir[0]} || die
380 +
381 + newbashcomp ${PN}.bash ${PN}
382 + newbashcomp br.bash br
383 +
384 + insinto /usr/share/zsh/site-functions
385 + doins _${PN}
386 + doins _br
387 +
388 + insinto /usr/share/fish/vendor_completions.d
389 + doins ${PN}.fish
390 + doins br.fish
391 +}