Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/broot/
Date: Tue, 28 Jun 2022 09:39:22
Message-Id: 1656408939.ea79dc81af88d2f713693987d42c8eb1749930d8.sam@gentoo
1 commit: ea79dc81af88d2f713693987d42c8eb1749930d8
2 Author: Karl-Johan Karlsson <creideiki <AT> lysator <DOT> liu <DOT> se>
3 AuthorDate: Mon Jun 20 07:31:28 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 09:35:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea79dc81
7
8 app-misc/broot: bump to 1.13.3
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Karl-Johan Karlsson <creideiki <AT> lysator.liu.se>
12 Closes: https://github.com/gentoo/gentoo/pull/25991
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 app-misc/broot/Manifest | 1 +
16 app-misc/broot/broot-1.13.3.ebuild | 298 +++++++++++++++++++++++++++++++++++++
17 2 files changed, 299 insertions(+)
18
19 diff --git a/app-misc/broot/Manifest b/app-misc/broot/Manifest
20 index e1697889a1ac..9616d775fc97 100644
21 --- a/app-misc/broot/Manifest
22 +++ b/app-misc/broot/Manifest
23 @@ -21,6 +21,7 @@ DIST broot-1.11.1.tar.gz 10039048 BLAKE2B 5d52bf08658a117d6240f9f0502f6b366fab85
24 DIST broot-1.12.0.tar.gz 10041150 BLAKE2B f6c47b137844d2615389552a9e245003ab2c5c1bb7b266e8d89e729ea1218c01f8924b378f892386ca5154085f5f1ba5052a2e7ba5e477a1c5053970d1688a40 SHA512 47d4940c077d782b79e1fde6a74eac42ac60444a078a2d96d8fbb9cf9ded2f3753ff6cc4f0983df849234535e750f881d0bebae3fe625a121d2b23652c7ef6b9
25 DIST broot-1.13.1.tar.gz 10040799 BLAKE2B df1d7224a68a415f72ebd168b37055a837dcb439ddaa38b635ef731687332eade7446c07c5b63ff027074d76ce14989f033961803eebd024859f0bae54d4227f SHA512 a11b4cd2909796ad4485053324d51d6e49924dd051bd5c3fff5471f40877193d6f149082bac19420c33c78b0ec747e0732edfa3bb99fa858deae828cec7bd561
26 DIST broot-1.13.2.tar.gz 10039475 BLAKE2B f0b542d2c25d4ce10be369262a96a341489df2058a7f64445d6279ad8a8c7210b0c1423fefe3e319108eacc72feb31030d59e53505b66e9613f22199d93089ea SHA512 5919a7313a70db0a4c2738cf6c29e241d12bd11b2b801ef4a99dbce198e87754448b2014df242e1896e796c06549df62e56db505e4b3cfbfbb06f74bf8ce15c9
27 +DIST broot-1.13.3.tar.gz 10039539 BLAKE2B d83f98053ba95e44dba50ddba39e805b434f7b84c99e1c7ce933a06d8433be30d6124564eee741e785aa64fca594b695164d9231d468eecaba7fd8e75b1eb933 SHA512 4079a5258d064e77bc7a5c1073715193ab9b227ea4f3e84c6ad1937a1667f9587956191bad55245578177ef20cf4b7a765dcaf36a8095d83c0a10dddd0b3540e
28 DIST bstr-0.2.17.crate 330350 BLAKE2B 90c3a48d78b73d7e36a3da9fda0beae6e91ce534d17198ea8ceee0b613d03297f9dd8bca30e1ec5da01d1da359a1da72b2c2771b77c82bebab5006cafd665192 SHA512 883eac8210d14f89517b4dd5e25d02c97cf31602ec74498b5e186112ba0f154d47de8d1c41a8f4e5503f3b53c064e2c976b60bbfd63fc28b186bc006e00f20c2
29 DIST bumpalo-3.10.0.crate 78915 BLAKE2B 94515190837765b47feaf94946c7e4da5b84e6faf7975bd5452bd9388d34e51c84315b80bc15b37c7f4ea8b4aaa0112707cdfc82d0651eeb8b63d2e7bd247660 SHA512 60c686534588524250ea7cb43510dba69d24999769b719127ee07f6015530ac2c5778d9b93477ab075bfc15c13e3ef9adc29ac24059067ac32e109347cd509f8
30 DIST bytemuck-1.8.0.crate 29406 BLAKE2B 4ef2a3f3bca4479608e53baed3db200e3dae344593e1e24541d4ef42e65659da63dc7557548429d85cd08476edc8b8eabba5e96f93b89904aff6c2423ae5c5c9 SHA512 ed6952990a415c98a73b91157340e814003eaf12a6213e08121cd08acec6d2364dba8ceb95b86860dc8401110c4706ad47f1678ca4b61b2809f3dba2093b3278
31
32 diff --git a/app-misc/broot/broot-1.13.3.ebuild b/app-misc/broot/broot-1.13.3.ebuild
33 new file mode 100644
34 index 000000000000..3d641ed9abd1
35 --- /dev/null
36 +++ b/app-misc/broot/broot-1.13.3.ebuild
37 @@ -0,0 +1,298 @@
38 +# Copyright 2021-2022 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=8
42 +
43 +CRATES="
44 +adler-1.0.2
45 +adler32-1.2.0
46 +ahash-0.4.7
47 +ahash-0.7.6
48 +aho-corasick-0.7.18
49 +ansi_colours-1.1.1
50 +anyhow-1.0.57
51 +argh-0.1.7
52 +argh_derive-0.1.7
53 +argh_shared-0.1.7
54 +atty-0.2.14
55 +autocfg-1.1.0
56 +base64-0.13.0
57 +bet-1.0.1
58 +bincode-1.3.3
59 +bit_field-0.10.1
60 +bitflags-1.3.2
61 +bstr-0.2.17
62 +bumpalo-3.10.0
63 +bytemuck-1.9.1
64 +byteorder-1.4.3
65 +cc-1.0.73
66 +cfg-if-1.0.0
67 +char_reader-0.1.1
68 +chrono-0.4.19
69 +clap-3.2.5
70 +clap_complete-3.2.1
71 +clap_derive-3.2.5
72 +clap_lex-0.2.2
73 +cli-log-0.1.0
74 +cli-log-2.0.0
75 +clipboard-win-4.4.1
76 +color_quant-1.1.0
77 +coolor-0.5.0
78 +crc32fast-1.3.2
79 +crokey-0.4.1
80 +crokey-proc_macros-0.4.0
81 +crossbeam-0.8.0
82 +crossbeam-channel-0.5.5
83 +crossbeam-deque-0.8.1
84 +crossbeam-epoch-0.9.9
85 +crossbeam-queue-0.3.5
86 +crossbeam-utils-0.8.7
87 +crossterm-0.23.2
88 +crossterm_winapi-0.9.0
89 +csv-1.1.6
90 +csv-core-0.1.10
91 +csv2svg-0.1.7
92 +custom_error-1.9.2
93 +deflate-1.0.0
94 +deser-hjson-1.0.2
95 +directories-4.0.1
96 +directories-next-2.0.0
97 +dirs-sys-0.3.7
98 +dirs-sys-next-0.1.2
99 +doc-comment-0.3.3
100 +either-1.6.1
101 +error-code-2.3.1
102 +exr-1.4.2
103 +fallible-iterator-0.2.0
104 +fallible-streaming-iterator-0.1.9
105 +fastrand-1.7.0
106 +file-size-1.0.3
107 +flate2-1.0.24
108 +flume-0.10.13
109 +fnv-1.0.7
110 +form_urlencoded-1.0.1
111 +futures-core-0.3.21
112 +futures-sink-0.3.21
113 +getrandom-0.2.7
114 +gif-0.11.3
115 +git2-0.14.4
116 +glassbench-0.3.3
117 +glob-0.3.0
118 +half-1.8.2
119 +hashbrown-0.12.1
120 +hashbrown-0.9.1
121 +hashlink-0.6.0
122 +heck-0.3.3
123 +heck-0.4.0
124 +hermit-abi-0.1.19
125 +id-arena-2.2.1
126 +idna-0.2.3
127 +image-0.24.2
128 +indexmap-1.9.0
129 +inflate-0.4.5
130 +instant-0.1.12
131 +is_executable-1.0.1
132 +itoa-0.4.8
133 +itoa-1.0.2
134 +jobserver-0.1.24
135 +jpeg-decoder-0.2.6
136 +js-sys-0.3.58
137 +lazy-regex-2.3.0
138 +lazy-regex-proc_macros-2.3.0
139 +lazy_static-1.4.0
140 +lebe-0.5.1
141 +lfs-core-0.11.0
142 +libc-0.2.126
143 +libgit2-sys-0.13.4+1.4.2
144 +libsqlite3-sys-0.20.1
145 +libz-sys-1.1.8
146 +line-wrap-0.1.1
147 +linked-hash-map-0.5.4
148 +lock_api-0.4.7
149 +log-0.4.17
150 +matches-0.1.9
151 +memchr-2.5.0
152 +memmap-0.7.0
153 +memoffset-0.6.5
154 +minimad-0.9.0
155 +miniz_oxide-0.5.3
156 +mio-0.8.3
157 +nanorand-0.7.0
158 +nix-0.22.3
159 +num-integer-0.1.45
160 +num-iter-0.1.43
161 +num-rational-0.4.0
162 +num-traits-0.2.15
163 +num_cpus-1.13.1
164 +num_threads-0.1.6
165 +once_cell-1.12.0
166 +onig-6.3.1
167 +onig_sys-69.7.1
168 +open-1.7.1
169 +opener-0.5.0
170 +os_str_bytes-6.1.0
171 +parking_lot-0.12.1
172 +parking_lot_core-0.9.3
173 +pathdiff-0.2.1
174 +percent-encoding-2.1.0
175 +phf-0.10.1
176 +phf_generator-0.10.0
177 +phf_macros-0.10.0
178 +phf_shared-0.10.0
179 +pin-project-1.0.10
180 +pin-project-internal-1.0.10
181 +pkg-config-0.3.25
182 +plist-1.3.1
183 +png-0.17.5
184 +ppv-lite86-0.2.16
185 +proc-macro-error-1.0.4
186 +proc-macro-error-attr-1.0.4
187 +proc-macro-hack-0.5.19
188 +proc-macro2-1.0.39
189 +proc-status-0.1.1
190 +quick-xml-0.22.0
191 +quote-1.0.18
192 +rand-0.8.5
193 +rand_chacha-0.3.1
194 +rand_core-0.6.3
195 +rayon-1.5.3
196 +rayon-core-1.9.3
197 +redox_syscall-0.2.13
198 +redox_users-0.4.3
199 +regex-1.5.6
200 +regex-automata-0.1.10
201 +regex-syntax-0.6.26
202 +remove_dir_all-0.5.3
203 +rgb-0.8.32
204 +rusqlite-0.24.2
205 +ryu-1.0.10
206 +safemem-0.3.3
207 +same-file-1.0.6
208 +scoped_threadpool-0.1.9
209 +scopeguard-1.1.0
210 +secular-1.0.1
211 +serde-1.0.137
212 +serde_derive-1.0.137
213 +serde_json-1.0.81
214 +signal-hook-0.3.14
215 +signal-hook-mio-0.2.3
216 +signal-hook-registry-1.4.0
217 +siphasher-0.3.10
218 +smallvec-1.8.0
219 +snafu-0.7.1
220 +snafu-derive-0.7.1
221 +spin-0.9.3
222 +splitty-0.1.0
223 +str-buf-1.0.6
224 +strict-0.1.4
225 +strsim-0.10.0
226 +svg-0.8.2
227 +syn-1.0.96
228 +syntect-no-panic-4.6.1
229 +tempfile-3.3.0
230 +termcolor-1.1.3
231 +termimad-0.20.2
232 +terminal-clipboard-0.3.1
233 +termux-clipboard-0.1.0
234 +textwrap-0.15.0
235 +thiserror-1.0.31
236 +thiserror-impl-1.0.31
237 +threadpool-1.8.1
238 +tiff-0.7.2
239 +time-0.1.44
240 +time-0.3.9
241 +tinyvec-1.6.0
242 +tinyvec_macros-0.1.0
243 +toml-0.5.9
244 +umask-2.0.0
245 +unicode-bidi-0.3.8
246 +unicode-ident-1.0.1
247 +unicode-normalization-0.1.19
248 +unicode-segmentation-1.9.0
249 +unicode-width-0.1.9
250 +url-2.2.2
251 +users-0.11.0
252 +vcpkg-0.2.15
253 +version_check-0.9.4
254 +walkdir-2.3.2
255 +wasi-0.10.0+wasi-snapshot-preview1
256 +wasi-0.11.0+wasi-snapshot-preview1
257 +wasm-bindgen-0.2.81
258 +wasm-bindgen-backend-0.2.81
259 +wasm-bindgen-macro-0.2.81
260 +wasm-bindgen-macro-support-0.2.81
261 +wasm-bindgen-shared-0.2.81
262 +weezl-0.1.6
263 +winapi-0.3.9
264 +winapi-i686-pc-windows-gnu-0.4.0
265 +winapi-util-0.1.5
266 +winapi-x86_64-pc-windows-gnu-0.4.0
267 +windows-sys-0.36.1
268 +windows_aarch64_msvc-0.36.1
269 +windows_i686_gnu-0.36.1
270 +windows_i686_msvc-0.36.1
271 +windows_x86_64_gnu-0.36.1
272 +windows_x86_64_msvc-0.36.1
273 +x11-clipboard-0.5.3
274 +xcb-0.10.1
275 +xml-rs-0.8.4
276 +xterm-query-0.1.0
277 +yaml-rust-0.4.5
278 +"
279 +
280 +inherit bash-completion-r1 cargo
281 +
282 +DESCRIPTION="A new way to see and navigate directory trees"
283 +HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
284 +SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
285 + $(cargo_crate_uris)"
286 +
287 +LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
288 +SLOT="0"
289 +KEYWORDS="~amd64"
290 +IUSE="X"
291 +
292 +RDEPEND="
293 + dev-libs/libgit2:=
294 + X? ( x11-libs/libxcb:= )
295 +"
296 +DEPEND="${RDEPEND}"
297 +BDEPEND=">=virtual/rust-1.60"
298 +
299 +QA_FLAGS_IGNORED="usr/bin/${PN}"
300 +
301 +src_configure() {
302 + export RUSTFLAGS="-Cstrip=none ${RUSTFLAGS}" #835400
303 + local myfeatures=( $(usev X clipboard) )
304 +
305 + cargo_src_configure --no-default-features
306 +}
307 +
308 +src_prepare() {
309 + default
310 +
311 + local mandate=$(date -r man/page +'%Y/%m/%d' || die)
312 + sed -e "s|#version|${PV}|" \
313 + -e "s|#date|${mandate}|" \
314 + man/page > "${T}"/${PN}.1 || die
315 +}
316 +
317 +src_install() {
318 + cargo_src_install
319 +
320 + doman "${T}"/${PN}.1
321 +
322 + local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
323 + cd ${build_dir[0]} || die
324 +
325 + newbashcomp ${PN}.bash ${PN}
326 + newbashcomp br.bash br
327 +
328 + insinto /usr/share/zsh/site-functions
329 + doins _${PN}
330 + doins _br
331 +
332 + insinto /usr/share/fish/vendor_completions.d
333 + doins ${PN}.fish
334 + doins br.fish
335 +}