Diff uutils-coreutils-0.0.20 with a uutils-coreutils-0.0.21

/usr/portage/sys-apps/uutils-coreutils/uutils-coreutils-0.0.21.ebuild 2023-10-09 14:52:35.416368500 +0300
7 7

  
8 8
CRATES="
9 9
	adler@1.0.2
10
	ahash@0.7.6
11
	aho-corasick@0.7.19
12
	aho-corasick@1.0.1
10
	aho-corasick@1.0.4
13 11
	android-tzdata@0.1.1
14 12
	android_system_properties@0.1.5
15 13
	anstream@0.3.2
......
24 22
	binary-heap-plus@0.5.0
25 23
	bindgen@0.63.0
26 24
	bitflags@1.3.2
25
	bitflags@2.3.3
27 26
	blake2b_simd@1.0.1
28 27
	blake3@1.4.0
29 28
	block-buffer@0.10.3
......
34 33
	cc@1.0.79
35 34
	cexpr@0.6.0
36 35
	cfg-if@1.0.0
37
	chrono@0.4.26
36
	chrono@0.4.28
38 37
	clang-sys@1.4.0
39
	clap@4.3.0
40
	clap_builder@4.3.0
38
	clap@4.3.21
39
	clap_builder@4.3.21
41 40
	clap_complete@4.3.0
42 41
	clap_lex@0.5.0
43 42
	clap_mangen@0.2.9
......
50 49
	conv@0.3.3
51 50
	core-foundation-sys@0.8.3
52 51
	coz@0.1.3
53
	cpp@0.5.7
54
	cpp_build@0.5.7
55
	cpp_common@0.5.7
56
	cpp_macros@0.5.7
52
	cpp@0.5.9
53
	cpp_build@0.5.9
54
	cpp_common@0.5.9
55
	cpp_macros@0.5.9
57 56
	cpufeatures@0.2.5
58 57
	crc32fast@1.3.2
59 58
	crossbeam-channel@0.5.8
60 59
	crossbeam-deque@0.8.2
61 60
	crossbeam-epoch@0.9.14
62 61
	crossbeam-utils@0.8.15
63
	crossterm@0.26.1
64
	crossterm_winapi@0.9.0
62
	crossterm@0.27.0
63
	crossterm_winapi@0.9.1
65 64
	crunchy@0.2.2
66 65
	crypto-common@0.1.6
67 66
	ctrlc@3.4.0
......
80 79
	errno-dragonfly@0.1.2
81 80
	errno@0.3.1
82 81
	exacl@0.10.0
83
	fastrand@1.8.0
82
	fastrand@2.0.0
84 83
	file_diff@1.0.0
85
	filetime@0.2.20
84
	filetime@0.2.22
86 85
	flate2@1.0.24
87 86
	fnv@1.0.7
88 87
	fs_extra@1.3.0
89 88
	fsevent-sys@4.1.0
90 89
	fts-sys@0.2.4
91
	fundu-core@0.2.0
92
	fundu@1.2.0
93
	futures-channel@0.3.25
94
	futures-core@0.3.25
95
	futures-executor@0.3.25
96
	futures-io@0.3.25
97
	futures-macro@0.3.25
98
	futures-sink@0.3.25
99
	futures-task@0.3.25
90
	fundu-core@0.3.0
91
	fundu@2.0.0
92
	futures-channel@0.3.28
93
	futures-core@0.3.28
94
	futures-executor@0.3.28
95
	futures-io@0.3.28
96
	futures-macro@0.3.28
97
	futures-sink@0.3.28
98
	futures-task@0.3.28
100 99
	futures-timer@3.0.2
101
	futures-util@0.3.25
102
	futures@0.3.25
100
	futures-util@0.3.28
101
	futures@0.3.28
103 102
	gcd@2.3.0
104 103
	generic-array@0.14.6
105 104
	getrandom@0.2.9
106 105
	glob@0.3.1
107 106
	half@2.2.1
108
	hashbrown@0.12.3
109 107
	hashbrown@0.13.2
110 108
	hermit-abi@0.3.2
111 109
	hex-literal@0.4.1
......
116 114
	indicatif@0.17.3
117 115
	inotify-sys@0.1.5
118 116
	inotify@0.9.6
119
	instant@0.1.12
120 117
	io-lifetimes@1.0.11
121
	is-terminal@0.4.7
118
	is-terminal@0.4.9
122 119
	itertools@0.11.0
123 120
	itoa@1.0.4
124
	js-sys@0.3.60
121
	js-sys@0.3.64
125 122
	keccak@0.1.4
126 123
	kqueue-sys@1.0.3
127 124
	kqueue@1.0.7
......
132 129
	libm@0.2.7
133 130
	linux-raw-sys@0.1.4
134 131
	linux-raw-sys@0.3.8
132
	linux-raw-sys@0.4.5
135 133
	lock_api@0.4.9
136 134
	log@0.4.17
137
	lscolors@0.14.0
135
	lscolors@0.15.0
138 136
	match_cfg@0.1.0
139 137
	md-5@0.10.5
140
	memchr@2.5.0
138
	memchr@2.6.2
141 139
	memmap2@0.7.0
142 140
	memoffset@0.8.0
143 141
	minimal-lexical@0.2.1
......
146 144
	nix@0.26.2
147 145
	nom@7.1.3
148 146
	notify@6.0.1
149
	nu-ansi-term@0.47.0
150
	num-bigint@0.4.3
147
	nu-ansi-term@0.49.0
148
	num-bigint@0.4.4
151 149
	num-integer@0.1.45
152
	num-traits@0.2.15
150
	num-traits@0.2.16
153 151
	num_cpus@1.16.0
154 152
	num_threads@0.1.6
155 153
	number_prefix@0.4.0
......
159 157
	ordered-multimap@0.6.0
160 158
	os_display@0.1.3
161 159
	parking_lot@0.12.1
162
	parking_lot_core@0.9.7
160
	parking_lot_core@0.9.8
163 161
	parse_datetime@0.4.0
164 162
	peeking_take_while@0.1.2
165 163
	phf@0.11.2
......
185 183
	rand_pcg@0.3.1
186 184
	rayon-core@1.11.0
187 185
	rayon@1.7.0
188
	redox_syscall@0.2.16
189 186
	redox_syscall@0.3.5
190 187
	reference-counted-singleton@0.1.2
191
	regex-automata@0.3.1
192
	regex-syntax@0.7.3
193
	regex@1.9.1
188
	regex-automata@0.3.8
189
	regex-syntax@0.7.5
190
	regex@1.9.5
194 191
	relative-path@1.8.0
195
	rlimit@0.10.0
192
	rlimit@0.10.1
196 193
	roff@0.2.1
197
	rstest@0.18.1
198
	rstest_macros@0.18.1
194
	rstest@0.18.2
195
	rstest_macros@0.18.2
199 196
	rust-ini@0.19.0
200 197
	rustc-hash@1.1.0
201 198
	rustc_version@0.4.0
202
	rustix@0.36.14
203
	rustix@0.37.19
199
	rustix@0.36.15
200
	rustix@0.37.23
201
	rustix@0.38.8
204 202
	same-file@1.0.6
205 203
	scopeguard@1.1.0
206 204
	self_cell@1.0.1
......
214 212
	shlex@1.1.0
215 213
	signal-hook-mio@0.2.3
216 214
	signal-hook-registry@1.4.0
217
	signal-hook@0.3.15
215
	signal-hook@0.3.17
218 216
	siphasher@0.3.10
219 217
	slab@0.4.7
220 218
	sm3@0.4.2
......
226 224
	subtle@2.4.1
227 225
	syn@1.0.109
228 226
	syn@2.0.23
229
	tempfile@3.6.0
227
	tempfile@3.8.0
230 228
	term_grid@0.1.7
231 229
	terminal_size@0.2.6
232 230
	textwrap@0.16.0
......
238 236
	tiny-keccak@2.0.2
239 237
	typenum@1.15.0
240 238
	unicode-ident@1.0.5
241
	unicode-linebreak@0.1.4
239
	unicode-linebreak@0.1.5
242 240
	unicode-segmentation@1.10.1
243 241
	unicode-width@0.1.10
244 242
	unicode-xid@0.2.4
......
248 246
	version_check@0.9.4
249 247
	walkdir@2.3.2
250 248
	wasi@0.11.0+wasi-snapshot-preview1
251
	wasm-bindgen-backend@0.2.83
252
	wasm-bindgen-macro-support@0.2.83
253
	wasm-bindgen-macro@0.2.83
254
	wasm-bindgen-shared@0.2.83
255
	wasm-bindgen@0.2.83
249
	wasm-bindgen-backend@0.2.87
250
	wasm-bindgen-macro-support@0.2.87
251
	wasm-bindgen-macro@0.2.87
252
	wasm-bindgen-shared@0.2.87
253
	wasm-bindgen@0.2.87
256 254
	which@4.3.0
257 255
	wild@2.1.0
258 256
	winapi-i686-pc-windows-gnu@0.4.0
......
277 275
	windows_x86_64_gnullvm@0.48.0
278 276
	windows_x86_64_msvc@0.42.2
279 277
	windows_x86_64_msvc@0.48.0
280
	xattr@1.0.0
278
	xattr@1.0.1
281 279
	yansi@0.5.1
282 280
	z85@3.0.5
283 281
	zip@0.6.6
......
291 289
if [[ ${PV} == 9999 ]] ; then
292 290
	EGIT_REPO_URI="https://github.com/uutils/coreutils"
293 291
	inherit git-r3
292
elif [[ ${PV} == *_p* ]] ; then
293
	COREUTILS_COMMIT=""
294
	SRC_URI="https://github.com/uutils/coreutils/archive/${FINDUTILS_COMMIT}.tar.gz -> ${P}.tar.gz"
295
	SRC_URI+=" ${CARGO_CRATE_URIS}"
296
	S="${WORKDIR}"/coreutils-${COREUTILS_COMMIT}
294 297
else
295 298
	SRC_URI="https://github.com/uutils/coreutils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
296 299
	SRC_URI+=" ${CARGO_CRATE_URIS}"
......
301 304

  
302 305
LICENSE="MIT"
303 306
# Dependent crate licenses
304
LICENSE+="
305
	Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016
306
	|| ( Artistic-2 CC0-1.0 )
307
	|| ( CC0-1.0 MIT-0 )
308
"
307
LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT Unicode-DFS-2016"
309 308
SLOT="0"
310 309
IUSE="debug selinux test"
311 310
# TODO: Need to skip known-failing tests
312
RESTRICT="!test? ( test ) test"
311
RESTRICT="!test? ( test )" # test
313 312

  
314 313
DEPEND="
315 314
	dev-libs/oniguruma:=
......
323 322

  
324 323
QA_FLAGS_IGNORED=".*"
325 324

  
325
PATCHES=(
326
	"${FILESDIR}"/${PN}-0.2.21-xfail-tests.patch
327
)
328

  
326 329
src_unpack() {
327 330
	if [[ ${PV} == 9999 ]] ; then
328 331
		git-r3_src_unpack
......
355 358
src_test() {
356 359
	local -x RUST_BACKTRACE=full
357 360

  
358
	# TODO: skip these
359
	# (See also: https://github.com/uutils/coreutils/issues/4946)
360
	#"coreutils::test_util_name execution_phrase_double"
361
	#"coreutils::test_util_name execution_phrase_single"
362
	#"coreutils::tests test_install::test_install_dir_dot"
363

  
364 361
	# Nicer output for nextest vs test
365 362
	emake "${makeargs[@]}" \
366 363
		CARGOFLAGS="${CARGOFLAGS} $(usev !debug --release)" \
Thank you!