blob: ad4207ec668c6434efd02d54eb5bf598352ed636 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.6.2
EAPI=8
CRATES="
aho-corasick@0.7.18
android-tzdata@0.1.1
android_system_properties@0.1.5
anstream@0.6.12
anstyle-parse@0.2.1
anstyle-query@1.0.0
anstyle-wincon@3.0.1
anstyle@1.0.0
assert_cmd@2.0.14
autocfg@1.1.0
bitflags@1.3.2
bitflags@2.4.1
bstr@1.0.1
bumpalo@3.12.0
byteorder@1.4.2
cc@1.0.72
cfg-if@1.0.0
cfg_aliases@0.1.1
chrono@0.4.37
clap@4.5.4
clap_builder@4.5.2
clap_lex@0.7.0
colorchoice@1.0.0
core-foundation-sys@0.8.3
dashmap@5.3.4
diff@0.1.13
difflib@0.4.0
doc-comment@0.3.3
dunce@1.0.4
errno@0.3.8
faccess@0.2.4
fastrand@2.0.1
filetime@0.2.23
float-cmp@0.9.0
futures-channel@0.3.21
futures-core@0.3.21
futures-executor@0.3.21
futures-io@0.3.21
futures-sink@0.3.21
futures-task@0.3.21
futures-util@0.3.21
futures@0.3.21
glob@0.3.1
hashbrown@0.12.3
iana-time-zone@0.1.47
js-sys@0.3.59
lazy_static@1.4.0
libc@0.2.153
linux-raw-sys@0.4.12
lock_api@0.4.7
log@0.4.14
memchr@2.4.0
nix@0.28.0
normalize-line-endings@0.3.0
num-traits@0.2.14
once_cell@1.19.0
onig@6.4.0
onig_sys@69.8.1
os_display@0.1.3
parking_lot@0.12.1
parking_lot_core@0.9.9
pin-project-lite@0.2.9
pin-utils@0.1.0
pkg-config@0.3.24
predicates-core@1.0.6
predicates-tree@1.0.1
predicates@3.1.0
pretty_assertions@1.4.0
proc-macro2@1.0.60
quote@1.0.28
redox_syscall@0.4.1
regex-automata@0.1.9
regex-syntax@0.6.29
regex@1.7.3
rustix@0.38.31
same-file@1.0.4
scopeguard@1.1.0
serde@1.0.147
serial_test@3.0.0
serial_test_derive@3.0.0
slab@0.4.6
smallvec@1.8.0
strsim@0.11.0
syn@2.0.18
tempfile@3.10.1
terminal_size@0.3.0
treeline@0.1.0
unicode-ident@1.0.9
unicode-width@0.1.9
utf8parse@0.2.1
uucore@0.0.25
uucore_procs@0.0.20
uuhelp_parser@0.0.20
wait-timeout@0.2.0
walkdir@2.5.0
wasm-bindgen-backend@0.2.91
wasm-bindgen-macro-support@0.2.91
wasm-bindgen-macro@0.2.91
wasm-bindgen-shared@0.2.91
wasm-bindgen@0.2.91
wild@2.2.0
winapi-i686-pc-windows-gnu@0.4.0
winapi-util@0.1.6
winapi-x86_64-pc-windows-gnu@0.4.0
winapi@0.3.9
windows-sys@0.48.0
windows-sys@0.52.0
windows-targets@0.48.0
windows-targets@0.52.0
windows_aarch64_gnullvm@0.48.0
windows_aarch64_gnullvm@0.52.0
windows_aarch64_msvc@0.48.0
windows_aarch64_msvc@0.52.0
windows_i686_gnu@0.48.0
windows_i686_gnu@0.52.0
windows_i686_msvc@0.48.0
windows_i686_msvc@0.52.0
windows_x86_64_gnu@0.48.0
windows_x86_64_gnu@0.52.0
windows_x86_64_gnullvm@0.48.0
windows_x86_64_gnullvm@0.52.0
windows_x86_64_msvc@0.48.0
windows_x86_64_msvc@0.52.0
yansi@0.5.1
"
LLVM_COMPAT=( {17..18} )
inherit cargo llvm-r1
DESCRIPTION="GNU findutils rewritten in Rust"
HOMEPAGE="https://uutils.github.io/findutils/ https://github.com/uutils/findutils"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/uutils/findutils"
inherit git-r3
elif [[ ${PV} == *_p* ]] ; then
FINDUTILS_COMMIT="59301c788aa610bd9b35d8715af72d87528d07dc"
SRC_URI="https://github.com/uutils/findutils/archive/${FINDUTILS_COMMIT}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
S="${WORKDIR}"/findutils-${FINDUTILS_COMMIT}
else
SRC_URI="https://github.com/uutils/findutils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
S="${WORKDIR}"/findutils-${PV}
fi
LICENSE="MIT"
# Dependent crate licenses
LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016"
SLOT="0"
if [[ ${PV} != 9999 ]] ; then
KEYWORDS="~amd64 ~arm64"
fi
RDEPEND=">=dev-libs/oniguruma-6.9.9:="
DEPEND="${RDEPEND}"
BDEPEND="
$(llvm_gen_dep '
llvm-core/clang:${LLVM_SLOT}
')
"
QA_FLAGS_IGNORED=".*"
pkg_setup() {
llvm-r1_pkg_setup
rust_pkg_setup
}
src_unpack() {
if [[ ${PV} == 9999 ]] ; then
git-r3_src_unpack
cargo_live_src_unpack
else
cargo_src_unpack
fi
}
src_configure() {
export RUSTONIG_SYSTEM_LIBONIG=1
export PKG_CONFIG_ALLOW_CROSS=1
cargo_src_configure
}
src_install() {
cargo_src_install
rm "${ED}"/usr/bin/testing-commandline || die
local binary
for binary in find xargs ; do
mv "${ED}"/usr/bin/${binary} "${ED}"/usr/bin/uutils-${binary} || die
done
}
|