summaryrefslogtreecommitdiff
path: root/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-04 16:21:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-04 16:21:31 +0100
commit0979d3ddb6ea14d17e52fd0ba2e01f928948384a (patch)
tree9d4f2f4d6cb3f7f6c2d65c815a075aa8ac3e52e0 /sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild
parenta8a8a3282ed1a28dd4ba31bc9b19914f25761abe (diff)
gentoo auto-resync : 04:09:2023 - 16:21:31
Diffstat (limited to 'sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild')
-rw-r--r--sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild131
1 files changed, 64 insertions, 67 deletions
diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild
index b5e568592e46..7136849e0498 100644
--- a/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild
+++ b/sys-apps/uutils-coreutils/uutils-coreutils-9999.ebuild
@@ -7,9 +7,7 @@ EAPI=8
CRATES="
adler@1.0.2
- ahash@0.7.6
- aho-corasick@0.7.19
- aho-corasick@1.0.1
+ aho-corasick@1.0.4
android-tzdata@0.1.1
android_system_properties@0.1.5
anstream@0.3.2
@@ -24,6 +22,7 @@ CRATES="
binary-heap-plus@0.5.0
bindgen@0.63.0
bitflags@1.3.2
+ bitflags@2.3.3
blake2b_simd@1.0.1
blake3@1.4.0
block-buffer@0.10.3
@@ -34,10 +33,10 @@ CRATES="
cc@1.0.79
cexpr@0.6.0
cfg-if@1.0.0
- chrono@0.4.26
+ chrono@0.4.28
clang-sys@1.4.0
- clap@4.3.0
- clap_builder@4.3.0
+ clap@4.3.21
+ clap_builder@4.3.21
clap_complete@4.3.0
clap_lex@0.5.0
clap_mangen@0.2.9
@@ -50,18 +49,18 @@ CRATES="
conv@0.3.3
core-foundation-sys@0.8.3
coz@0.1.3
- cpp@0.5.7
- cpp_build@0.5.7
- cpp_common@0.5.7
- cpp_macros@0.5.7
+ cpp@0.5.9
+ cpp_build@0.5.9
+ cpp_common@0.5.9
+ cpp_macros@0.5.9
cpufeatures@0.2.5
crc32fast@1.3.2
crossbeam-channel@0.5.8
crossbeam-deque@0.8.2
crossbeam-epoch@0.9.14
crossbeam-utils@0.8.15
- crossterm@0.26.1
- crossterm_winapi@0.9.0
+ crossterm@0.27.0
+ crossterm_winapi@0.9.1
crunchy@0.2.2
crypto-common@0.1.6
ctrlc@3.4.0
@@ -80,32 +79,31 @@ CRATES="
errno-dragonfly@0.1.2
errno@0.3.1
exacl@0.10.0
- fastrand@1.8.0
+ fastrand@2.0.0
file_diff@1.0.0
- filetime@0.2.20
+ filetime@0.2.22
flate2@1.0.24
fnv@1.0.7
fs_extra@1.3.0
fsevent-sys@4.1.0
fts-sys@0.2.4
- fundu-core@0.2.0
- fundu@1.2.0
- futures-channel@0.3.25
- futures-core@0.3.25
- futures-executor@0.3.25
- futures-io@0.3.25
- futures-macro@0.3.25
- futures-sink@0.3.25
- futures-task@0.3.25
+ fundu-core@0.3.0
+ fundu@2.0.0
+ futures-channel@0.3.28
+ futures-core@0.3.28
+ futures-executor@0.3.28
+ futures-io@0.3.28
+ futures-macro@0.3.28
+ futures-sink@0.3.28
+ futures-task@0.3.28
futures-timer@3.0.2
- futures-util@0.3.25
- futures@0.3.25
+ futures-util@0.3.28
+ futures@0.3.28
gcd@2.3.0
generic-array@0.14.6
getrandom@0.2.9
glob@0.3.1
half@2.2.1
- hashbrown@0.12.3
hashbrown@0.13.2
hermit-abi@0.3.2
hex-literal@0.4.1
@@ -116,12 +114,11 @@ CRATES="
indicatif@0.17.3
inotify-sys@0.1.5
inotify@0.9.6
- instant@0.1.12
io-lifetimes@1.0.11
- is-terminal@0.4.7
+ is-terminal@0.4.9
itertools@0.11.0
itoa@1.0.4
- js-sys@0.3.60
+ js-sys@0.3.64
keccak@0.1.4
kqueue-sys@1.0.3
kqueue@1.0.7
@@ -132,12 +129,13 @@ CRATES="
libm@0.2.7
linux-raw-sys@0.1.4
linux-raw-sys@0.3.8
+ linux-raw-sys@0.4.5
lock_api@0.4.9
log@0.4.17
- lscolors@0.14.0
+ lscolors@0.15.0
match_cfg@0.1.0
md-5@0.10.5
- memchr@2.5.0
+ memchr@2.6.2
memmap2@0.7.0
memoffset@0.8.0
minimal-lexical@0.2.1
@@ -146,10 +144,10 @@ CRATES="
nix@0.26.2
nom@7.1.3
notify@6.0.1
- nu-ansi-term@0.47.0
- num-bigint@0.4.3
+ nu-ansi-term@0.49.0
+ num-bigint@0.4.4
num-integer@0.1.45
- num-traits@0.2.15
+ num-traits@0.2.16
num_cpus@1.16.0
num_threads@0.1.6
number_prefix@0.4.0
@@ -159,7 +157,7 @@ CRATES="
ordered-multimap@0.6.0
os_display@0.1.3
parking_lot@0.12.1
- parking_lot_core@0.9.7
+ parking_lot_core@0.9.8
parse_datetime@0.4.0
peeking_take_while@0.1.2
phf@0.11.2
@@ -185,22 +183,22 @@ CRATES="
rand_pcg@0.3.1
rayon-core@1.11.0
rayon@1.7.0
- redox_syscall@0.2.16
redox_syscall@0.3.5
reference-counted-singleton@0.1.2
- regex-automata@0.3.1
- regex-syntax@0.7.3
- regex@1.9.1
+ regex-automata@0.3.8
+ regex-syntax@0.7.5
+ regex@1.9.5
relative-path@1.8.0
- rlimit@0.10.0
+ rlimit@0.10.1
roff@0.2.1
- rstest@0.18.1
- rstest_macros@0.18.1
+ rstest@0.18.2
+ rstest_macros@0.18.2
rust-ini@0.19.0
rustc-hash@1.1.0
rustc_version@0.4.0
- rustix@0.36.14
- rustix@0.37.19
+ rustix@0.36.15
+ rustix@0.37.23
+ rustix@0.38.8
same-file@1.0.6
scopeguard@1.1.0
self_cell@1.0.1
@@ -214,7 +212,7 @@ CRATES="
shlex@1.1.0
signal-hook-mio@0.2.3
signal-hook-registry@1.4.0
- signal-hook@0.3.15
+ signal-hook@0.3.17
siphasher@0.3.10
slab@0.4.7
sm3@0.4.2
@@ -226,7 +224,7 @@ CRATES="
subtle@2.4.1
syn@1.0.109
syn@2.0.23
- tempfile@3.6.0
+ tempfile@3.8.0
term_grid@0.1.7
terminal_size@0.2.6
textwrap@0.16.0
@@ -238,7 +236,7 @@ CRATES="
tiny-keccak@2.0.2
typenum@1.15.0
unicode-ident@1.0.5
- unicode-linebreak@0.1.4
+ unicode-linebreak@0.1.5
unicode-segmentation@1.10.1
unicode-width@0.1.10
unicode-xid@0.2.4
@@ -248,11 +246,11 @@ CRATES="
version_check@0.9.4
walkdir@2.3.2
wasi@0.11.0+wasi-snapshot-preview1
- wasm-bindgen-backend@0.2.83
- wasm-bindgen-macro-support@0.2.83
- wasm-bindgen-macro@0.2.83
- wasm-bindgen-shared@0.2.83
- wasm-bindgen@0.2.83
+ wasm-bindgen-backend@0.2.87
+ wasm-bindgen-macro-support@0.2.87
+ wasm-bindgen-macro@0.2.87
+ wasm-bindgen-shared@0.2.87
+ wasm-bindgen@0.2.87
which@4.3.0
wild@2.1.0
winapi-i686-pc-windows-gnu@0.4.0
@@ -277,7 +275,7 @@ CRATES="
windows_x86_64_gnullvm@0.48.0
windows_x86_64_msvc@0.42.2
windows_x86_64_msvc@0.48.0
- xattr@1.0.0
+ xattr@1.0.1
yansi@0.5.1
z85@3.0.5
zip@0.6.6
@@ -286,30 +284,31 @@ CRATES="
inherit cargo
DESCRIPTION="GNU coreutils rewritten in Rust"
-HOMEPAGE="https://uutils.github.io/user/"
+HOMEPAGE="https://uutils.github.io/coreutils/ https://github.com/uutils/coreutils"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/uutils/coreutils"
inherit git-r3
+elif [[ ${PV} == *_p* ]] ; then
+ COREUTILS_COMMIT=""
+ SRC_URI="https://github.com/uutils/coreutils/archive/${FINDUTILS_COMMIT}.tar.gz -> ${P}.tar.gz"
+ SRC_URI+=" ${CARGO_CRATE_URIS}"
+ S="${WORKDIR}"/coreutils-${COREUTILS_COMMIT}
else
SRC_URI="https://github.com/uutils/coreutils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" ${CARGO_CRATE_URIS}"
S="${WORKDIR}"/coreutils-${PV}
- KEYWORDS="~amd64 ~arm64 ~ppc64"
+ KEYWORDS="~amd64 ~arm64"
fi
LICENSE="MIT"
# Dependent crate licenses
-LICENSE+="
- Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016
- || ( Artistic-2 CC0-1.0 )
- || ( CC0-1.0 MIT-0 )
-"
+LICENSE+=" Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT Unicode-DFS-2016"
SLOT="0"
IUSE="debug selinux test"
# TODO: Need to skip known-failing tests
-RESTRICT="!test? ( test ) test"
+RESTRICT="!test? ( test )" # test
DEPEND="
dev-libs/oniguruma:=
@@ -323,6 +322,10 @@ BDEPEND="
QA_FLAGS_IGNORED=".*"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.21-xfail-tests.patch
+)
+
src_unpack() {
if [[ ${PV} == 9999 ]] ; then
git-r3_src_unpack
@@ -355,12 +358,6 @@ src_compile() {
src_test() {
local -x RUST_BACKTRACE=full
- # TODO: skip these
- # (See also: https://github.com/uutils/coreutils/issues/4946)
- #"coreutils::test_util_name execution_phrase_double"
- #"coreutils::test_util_name execution_phrase_single"
- #"coreutils::tests test_install::test_install_dir_dot"
-
# Nicer output for nextest vs test
emake "${makeargs[@]}" \
CARGOFLAGS="${CARGOFLAGS} $(usev !debug --release)" \