Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/xplr/
Date: Sat, 26 Feb 2022 18:16:42
Message-Id: 1645795424.225469f21efc1dcad16d0b1bf48e78f7116cbc11.flow@gentoo
1 commit: 225469f21efc1dcad16d0b1bf48e78f7116cbc11
2 Author: Luciano Degni <degni.public <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 25 13:23:44 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 25 13:23:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=225469f2
7
8 app-misc/xplr: add 0.17.2
9
10 Signed-off-by: Luciano Degni <degni.public <AT> gmail.com>
11
12 app-misc/xplr/Manifest | 1 +
13 app-misc/xplr/xplr-0.17.2.ebuild | 189 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 190 insertions(+)
15
16 diff --git a/app-misc/xplr/Manifest b/app-misc/xplr/Manifest
17 index 1be64ad09..73ff6f4c2 100644
18 --- a/app-misc/xplr/Manifest
19 +++ b/app-misc/xplr/Manifest
20 @@ -146,4 +146,5 @@ DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e
21 DIST xplr-0.15.2.tar.gz 221475 BLAKE2B 05594d2f38d937d204fcbadbe3ba63c72dbf5957e014f944f1fdb0f60bab9730ee5196f1162ba42c1f2daaa2d36dc35e595515d1c0c6188f6ef3e9f535157422 SHA512 502ceb0661ac3cdde337d76a5eef5089902b2ad906cde0465b63a89141a554ddb56ef4a4747e7064eda48e58d4037e36e36dfe709d6a67da986b1f953033fc3c
22 DIST xplr-0.17.0.tar.gz 228181 BLAKE2B b1094007de1997b7c6e76afe7b457289bd358b2f24dc855bcc62ce7ad7bb09c0870fc7190781d68287e2871f615cbde18b50b1d6340e59a36065743875f05ce8 SHA512 fbf278097e2b5fb6e0a0d946cc234d6cc4b33989e3c24304ca3413a83ae56b245b8c37285fb8b9a77e41a5b97f472cc2139fe2768f3b025d75d4764bfa7429cd
23 DIST xplr-0.17.1.tar.gz 228698 BLAKE2B 13f6cd556b038267c6d64ff3f513c0d2daa28566267fa048f243b86ef6f1b7c0a72521e1916c30faf80099e40cd269050f185e6baf19658a3a5321a25e087de1 SHA512 fee46a68b2891c52e553ec35fe746fd95bcbaf45e21109a3395b1f43f656a5fbfe76352c6dcf3ae0473df7b3eed89aabba83294698113d478f5a21b48d87fd35
24 +DIST xplr-0.17.2.tar.gz 229009 BLAKE2B d2897003be656e17c48bfeab522fde7ed3446dde63ca4fc83740dc6f42e932039e57ec38ea6c870c157d805d8f3dd8b55f2e8aebc492634f0f55ef0caafb0120 SHA512 e222875e60b3fd25a4d42fd719b05db58f751f91c5f672f7ab0e1e2fd3760e9a8d1477278dcc41388193c5e01bfdf48d7f2253ca7c694ac43f0829fe7009f522
25 DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a66eb54d4e166b965cc84b1e06cd17bd992a0d6ee175d9a73a76e2b44a13167246383ed054afcf3cc1710b309cb SHA512 7621dc8dfd5e7d4a7a8805b2a7e8319b63b852367655f2359d4e3e8fec6c4fad52d75c46ce1161e4c674eac0780b757ce9d34e664e304d8d2beec7afa0363ea0
26
27 diff --git a/app-misc/xplr/xplr-0.17.2.ebuild b/app-misc/xplr/xplr-0.17.2.ebuild
28 new file mode 100644
29 index 000000000..e4ede6418
30 --- /dev/null
31 +++ b/app-misc/xplr/xplr-0.17.2.ebuild
32 @@ -0,0 +1,189 @@
33 +# Copyright 2021-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +LUA_COMPAT=( luajit )
39 +
40 +CRATES="
41 + ansi-to-tui-0.4.1
42 + anyhow-1.0.52
43 + assert_cmd-2.0.2
44 + atty-0.2.14
45 + autocfg-1.0.1
46 + bitflags-1.3.2
47 + bstr-0.2.17
48 + bumpalo-3.9.1
49 + cassowary-0.3.0
50 + cast-0.2.7
51 + cc-1.0.72
52 + cfg-if-1.0.0
53 + chrono-0.4.19
54 + clap-2.34.0
55 + criterion-0.3.5
56 + criterion-plot-0.4.4
57 + crossbeam-channel-0.5.2
58 + crossbeam-deque-0.8.1
59 + crossbeam-epoch-0.9.6
60 + crossbeam-utils-0.8.6
61 + crossterm-0.20.0
62 + crossterm-0.22.1
63 + crossterm_winapi-0.8.0
64 + crossterm_winapi-0.9.0
65 + csv-1.1.6
66 + csv-core-0.1.10
67 + difflib-0.4.0
68 + dirs-4.0.0
69 + dirs-sys-0.3.6
70 + doc-comment-0.3.3
71 + either-1.6.1
72 + erased-serde-0.3.17
73 + getrandom-0.2.3
74 + half-1.8.2
75 + hashbrown-0.11.2
76 + hermit-abi-0.1.19
77 + humansize-1.1.1
78 + indexmap-1.8.0
79 + instant-0.1.12
80 + itertools-0.10.3
81 + itoa-0.4.8
82 + itoa-1.0.1
83 + js-sys-0.3.55
84 + lazy_static-1.4.0
85 + libc-0.2.112
86 + linked-hash-map-0.5.4
87 + lock_api-0.4.5
88 + log-0.4.14
89 + lua-src-543.1.0
90 + luajit-src-210.3.2+resty1085a4d
91 + memchr-2.4.1
92 + memoffset-0.6.5
93 + mime-0.3.16
94 + mime_guess-2.0.3
95 + mio-0.7.14
96 + miow-0.3.7
97 + mlua-0.7.0
98 + mlua-0.7.1
99 + natord-1.0.9
100 + ntapi-0.3.6
101 + num-integer-0.1.44
102 + num-traits-0.2.14
103 + num_cpus-1.13.1
104 + once_cell-1.9.0
105 + oorandom-11.1.3
106 + parking_lot-0.11.2
107 + parking_lot_core-0.8.5
108 + pkg-config-0.3.24
109 + plotters-0.3.1
110 + plotters-backend-0.3.2
111 + plotters-svg-0.3.1
112 + predicates-2.1.0
113 + predicates-core-1.0.2
114 + predicates-tree-1.0.4
115 + proc-macro2-1.0.36
116 + quote-1.0.14
117 + rayon-1.5.1
118 + rayon-core-1.9.1
119 + redox_syscall-0.2.10
120 + redox_users-0.4.0
121 + regex-1.5.4
122 + regex-automata-0.1.10
123 + regex-syntax-0.6.25
124 + rustc-hash-1.1.0
125 + rustc_version-0.4.0
126 + ryu-1.0.9
127 + same-file-1.0.6
128 + scopeguard-1.1.0
129 + semver-1.0.4
130 + serde-1.0.133
131 + serde_cbor-0.11.2
132 + serde_derive-1.0.133
133 + serde_json-1.0.74
134 + serde_yaml-0.8.23
135 + signal-hook-0.3.13
136 + signal-hook-mio-0.2.1
137 + signal-hook-registry-1.4.0
138 + smallvec-1.7.0
139 + syn-1.0.85
140 + termtree-0.2.4
141 + textwrap-0.11.0
142 + time-0.1.44
143 + tinytemplate-1.2.1
144 + tui-0.16.0
145 + tui-input-0.1.2
146 + unicase-2.6.0
147 + unicode-segmentation-1.8.0
148 + unicode-width-0.1.9
149 + unicode-xid-0.2.2
150 + version_check-0.9.4
151 + wait-timeout-0.2.0
152 + walkdir-2.3.2
153 + wasi-0.10.0+wasi-snapshot-preview1
154 + wasm-bindgen-0.2.78
155 + wasm-bindgen-backend-0.2.78
156 + wasm-bindgen-macro-0.2.78
157 + wasm-bindgen-macro-support-0.2.78
158 + wasm-bindgen-shared-0.2.78
159 + web-sys-0.3.55
160 + winapi-0.3.9
161 + winapi-i686-pc-windows-gnu-0.4.0
162 + winapi-util-0.1.5
163 + winapi-x86_64-pc-windows-gnu-0.4.0
164 + yaml-rust-0.4.5
165 +"
166 +
167 +inherit cargo lua-single
168 +
169 +DESCRIPTION="A hackable, minimal, fast TUI file explorer"
170 +HOMEPAGE="https://github.com/sayanarijit/xplr"
171 +SRC_URI="
172 + https://github.com/sayanarijit/xplr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
173 + $(cargo_crate_uris)
174 +"
175 +
176 +LICENSE="
177 + || ( Apache-2.0 )
178 + || ( BSD )
179 + || ( MIT )
180 + || ( Unlicense )
181 + Apache-2.0
182 + BSD
183 + MIT
184 + Unlicense
185 +"
186 +SLOT="0"
187 +KEYWORDS="~amd64 ~x86"
188 +IUSE="doc"
189 +
190 +REQUIRED_USE="${LUA_REQUIRED_USE}"
191 +RDEPEND="
192 + ${LUA_DEPS}
193 +"
194 +DEPEND="
195 + ${RDEPEND}
196 +"
197 +
198 +QA_FLAGS_IGNORED="usr/bin/.*"
199 +
200 +src_configure() {
201 + cargo_src_configure --bin xplr
202 +}
203 +
204 +src_prepare() {
205 + sed -i Cargo.toml -e 's/"vendored"\s*,//' || die
206 + # for dynamic linking with lua
207 + default
208 +}
209 +
210 +src_compile() {
211 + cargo_src_compile
212 +}
213 +
214 +src_install() {
215 + if use doc; then
216 + dodoc README.md
217 + dodc -r docs/*
218 + einstalldocs
219 + fi
220 + dobin target/release/xplr
221 +}