From: "Luca Barbato" <lu_zero@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/uutils-coreutils/
Date: Fri, 25 Apr 2025 20:18:52 +0000 (UTC) [thread overview]
Message-ID: <1745612308.930b5ad75443146f48c560705f741a999998cbb7.lu_zero@gentoo> (raw)
commit: 930b5ad75443146f48c560705f741a999998cbb7
Author: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 25 16:13:21 2025 +0000
Commit: Luca Barbato <lu_zero <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 20:18:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=930b5ad7
sys-apps/uutils-coreutils: add 0.0.30
Signed-off-by: Luca Barbato <lu_zero <AT> gentoo.org>
sys-apps/uutils-coreutils/Manifest | 2 +
.../uutils-coreutils-0.0.30.ebuild | 112 +++++++++++++++++++++
2 files changed, 114 insertions(+)
diff --git a/sys-apps/uutils-coreutils/Manifest b/sys-apps/uutils-coreutils/Manifest
index 037193b67a50..db90abeda5fd 100644
--- a/sys-apps/uutils-coreutils/Manifest
+++ b/sys-apps/uutils-coreutils/Manifest
@@ -47,6 +47,7 @@ DIST const-random-0.1.18.crate 6646 BLAKE2B 20e71fd7e2b0b9af663073a45d0224a4cf9a
DIST const-random-macro-0.1.16.crate 6657 BLAKE2B 44a3508e2158b79042cab698b1f31c50fa356098bb5f4537f82fe1b9e893d3e8eab59612a8957e524294ca0a035046468d799e4a0e9253c1464b68ef682f84e2 SHA512 8478bc65b0845e765a69e09fe4152e89f3e3970d2d92e4b32bb0abb7b918c725f325d4b19a45d2a462905bedf837b3a23f31b1ed9dc8655ca502de72616b074d
DIST constant_time_eq-0.3.1.crate 11561 BLAKE2B 9ac06a1b13da2aacfaa20d60e48df4f32f6462e4036fd9ec116c45a9bbe142a18b82cf18d762989876f31b745d98d52ce7e3d32f6c9700a500f16f00649b5699 SHA512 2b6b0d7572c02606b7c3780013fb1d1773b999a0d9934e4b140dd82f94e6c91d2ef82f6daaa1bda94f95bdf6b5997b2f0ea0c8eba8ca7e28a07d1e06b1071b50
DIST core-foundation-sys-0.8.7.crate 37712 BLAKE2B 0e1dd99a5bbb0fe92f55181a37426f6e86445cb20e355f553b3162c88ccc075644461731a0cdcd93dcca65b6cef1de62b409afbd73ba3070a199ab8e7422dcfa SHA512 17492d5314db03abdb3b1998bf0c396ec8ed0f83bc978ae22d6026afdc86c50b58cbac073b3a0d97b92da7e98be11302faf1249d24313494bc058add4f4cb63a
+DIST coreutils-0.0.30-crates.tar.xz 26693200 BLAKE2B 5575654896fec330e2ac8d34f3ca2e8a7d8d82250d88725d6a9ddc76130664477e97c29b84dd08a1edc7f3a97758af12edbd83e40f709a7b0b8432906f9f9740 SHA512 c31ecca0071e6c159d16621f2a4bc3ce67105bc30cf69718656e32c3300bf779a0061d2463ced45d10f5d6b62830842037a11f3be970401d01901decde148a95
DIST coz-0.1.3.crate 21914 BLAKE2B 4c79083d5e699824015e71c8ceae0db119567f34969e644ed18249d7210c92ab503e0384a3b521aae7a5c469a26881840fa4b24c983d4139ac59178c4d8a28d5 SHA512 476b8627d9694813fed0ec262681e18f296977da8fc3ad9d749008e4406a77add8d3c2b15bb82a397d435d99bf8edbeec001a438d64d50038a0a47ac462230de
DIST cpp-0.5.10.crate 6519 BLAKE2B 4fc434e0841e9e8cc485408a555bb65e16401d37fa5a7695678f834dbce2270d69614126605cd6b8df948c14e8abc4e335b6068a425b9fa8bbbc8cedc837509d SHA512 699e3919c87c94ee5366e8cd968ed4f934f9f6965b47835701fbc503a9b2ddbb7aa09e6051b4e3b2eec66f624447cc90e44f407c734ace46328293e130c60750
DIST cpp_build-0.5.10.crate 15883 BLAKE2B 440a0e441f35b3f03b060b5b504a6c6fde87bc022a97f8c9dc0213dc08980e1134ba81f0560d3fec13b6c61cf747d7d490c2157dd195dda12e1392592c50bf50 SHA512 d9a6d08a0f77763eebc463137abd81ba1528fc44580ec333d25df90ec4208733f80faac6a04465ff012e5f758d952bffe9066e82c0e8e90312606d503ad2da45
@@ -257,6 +258,7 @@ DIST utmp-classic-0.1.6.crate 7570 BLAKE2B cb75636a5d412dddef2e865df5ae011581fbf
DIST utmp-classic-raw-0.1.3.crate 3846 BLAKE2B e0f43c174003ec0498dd206c55c2234bcc86e82f4c2726b1f3cd1fe9839eed94a4ca7644b5c76d248074f06c868e13897475c4934bc916d79fd0de5e0533ac03 SHA512 c6e22c28ca7453cffbc00e8e3bf8931730d5a3397b0d13fc3f2366319d46625c02a8f86ddcfe1269ca7d466aa42377c991f09f34c9ea41b67ff3e1695d09376c
DIST uuid-1.11.1.crate 47721 BLAKE2B 0984a57306558c1f17b6095fcfc603a1105afe9ebf1f24ef716d56db4c4d61c6507b766ccd8f453f7371341d5284061b6d09b75602dd06603a0bc1b320241e8d SHA512 b098511ed0e8c91fac9a11dbbaa335a9318dfc8c44853d806bbb4ff5b93c77cdd704713c16e3bf3fbe36be37864c7345af807fe24d210e49781d932ac831159f
DIST uutils-coreutils-0.0.29.tar.gz 2428726 BLAKE2B 6477fe3db2ab67793a63ad8cf128510f04132764bd75cdfff07db46933e1aeb844651c9765059e09da6762d8ef6960613c9f20ce3b00aa951a6e2a10735c4a2e SHA512 29bd390f761673f63b41baf36501c21da10fcab642f73da09e4ef897096427ff6660e069cec9f539efacbbc96b5ad992c6978f2a7ab5676e7b9a70af52c589e8
+DIST uutils-coreutils-0.0.30.tar.gz 2443734 BLAKE2B 601566fa0daac59e32876029d21a5e7ebe79404700c036d365919b90ed68fe3969aba79bd6e7c8954cc865953ee999ac58c0687b9a60843fe0428f7374509c51 SHA512 4d9f002329513e4cbf8787d050d852a209a02e9fbea84a63e442ace4fec38ce362dbac5ccee341834ade5f96586be393d6fc64e8421285598dd64804b660e633
DIST uutils_term_grid-0.6.0.crate 10904 BLAKE2B 9779eac591c1e9b2e60630fbd49350d171b11fabe2e0d0df64e2c46da186afa579808ea052c8bb5db02f174a8548905dbcaf3b002fc3f240a1fe469cd739c99e SHA512 9d169a6eacc368824924c49d7f4847927f633c6492d921735deedcefc02c53664b094e8d736fe45b1d9085d5c99ea3ec676f25221a2cf2e81ce4c5f261ad40ab
DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db
DIST walkdir-2.5.0.crate 23951 BLAKE2B a2d3a973f206e94699adec0263dd5e211347722cf3ab82536295019268b3125084da5dbcad818070bfdcb6a5de08da4eb483475bc225a829f58a1e3e040b5fba SHA512 da36a121dc6656942dc9cd9887fcf4f6eea7750354ef3f59c7c25d836e7afe06f33260b4d55d0d99421104ed4ce56ef2a1f0f4c3b713766fff90548c21793fad
diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-0.0.30.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.30.ebuild
new file mode 100644
index 000000000000..720e39476a2c
--- /dev/null
+++ b/sys-apps/uutils-coreutils/uutils-coreutils-0.0.30.ebuild
@@ -0,0 +1,112 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.6.2
+
+EAPI=8
+
+CRATES="
+"
+
+inherit cargo flag-o-matic multiprocessing
+
+DESCRIPTION="GNU coreutils rewritten in Rust"
+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/${COREUTILS_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/coreutils-${COREUTILS_COMMIT}
+else
+ SRC_URI="https://github.com/uutils/coreutils/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/coreutils-${PV}
+
+ KEYWORDS="~amd64 ~arm64"
+fi
+
+SRC_URI+="
+ https://github.com/gentoo-crate-dist/coreutils/releases/download/${PV}/coreutils-${PV}-crates.tar.xz
+"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+ Apache-2.0 BSD-2 BSD Boost-1.0 CC0-1.0 ISC MIT Unicode-3.0 ZLIB
+"
+SLOT="0"
+IUSE="debug selinux test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-libs/oniguruma:=
+ selinux? ( sys-libs/libselinux )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ test? ( dev-util/cargo-nextest )
+"
+
+QA_FLAGS_IGNORED=".*"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.2.27-xfail-tests.patch
+ "${FILESDIR}"/${PN}-0.0.28-cow-tests.patch
+)
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_compile() {
+ # normally cargo_src_compile sets this for us, but we don't use it
+ filter-lto
+
+ # By default, the crate uses a system version if it can. This just guarantees
+ # that it will error out instead of building a vendored copy.
+ export RUSTONIG_SYSTEM_LIBONIG=1
+
+ makeargs=(
+ # Disable output synchronisation as make calls cargo
+ -Onone
+
+ V=1
+
+ PROFILE=$(usex debug debug release)
+
+ PREFIX="${EPREFIX}/usr"
+ PROG_PREFIX="uu-"
+ MULTICALL=y
+ MANDIR="/share/man/man1"
+
+ SELINUX_ENABLED=$(usex selinux)
+
+ # pinky, uptime, users, and who require utmpx (not available on musl)
+ # bug #832868
+ SKIP_UTILS="$(usev elibc_musl "pinky uptime users who")"
+ )
+
+ emake "${makeargs[@]}"
+}
+
+src_test() {
+ local -x RUST_BACKTRACE=full
+ local -x NEXTEST_TEST_THREADS="$(makeopts_jobs)"
+
+ # Nicer output for nextest vs test
+ emake "${makeargs[@]}" \
+ CARGOFLAGS="${CARGOFLAGS} $(usev !debug --release)" \
+ TEST_NO_FAIL_FAST="--no-fail-fast" \
+ nextest
+}
+
+src_install() {
+ emake "${makeargs[@]}" DESTDIR="${D}" install
+}
next reply other threads:[~2025-04-25 20:18 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-25 20:18 Luca Barbato [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-02 14:33 [gentoo-commits] repo/gentoo:master commit in: sys-apps/uutils-coreutils/ Florian Schmaus
2025-10-01 11:22 Luca Barbato
2025-10-01 11:22 Luca Barbato
2025-09-27 17:27 Luca Barbato
2025-09-27 17:27 Luca Barbato
2025-07-13 11:47 Luca Barbato
2025-07-13 11:47 Luca Barbato
2025-07-05 18:42 Luca Barbato
2025-07-03 11:25 Luca Barbato
2025-07-03 6:02 Luca Barbato
2025-07-03 6:02 Luca Barbato
2025-04-10 0:12 Sam James
2025-03-14 5:26 Sam James
2025-01-28 12:21 Sam James
2025-01-19 0:17 Sam James
2024-03-05 4:48 Sam James
2024-03-05 4:48 Sam James
2024-03-02 5:05 Sam James
2024-02-02 1:18 Sam James
2023-12-28 3:43 Sam James
2023-11-25 4:49 Sam James
2023-11-25 4:49 Sam James
2023-10-16 4:06 Sam James
2023-10-16 4:06 Sam James
2023-10-06 18:17 Sam James
2023-10-06 18:08 Sam James
2023-09-04 13:20 Sam James
2023-09-04 13:20 Sam James
2023-07-15 15:55 Sam James
2023-06-24 12:35 Arthur Zamarin
2023-06-05 3:50 Sam James
2023-06-03 5:42 Sam James
2023-04-02 20:44 Sam James
2023-02-22 17:51 Sam James
2023-02-22 17:51 Sam James
2023-02-22 9:10 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1745612308.930b5ad75443146f48c560705f741a999998cbb7.lu_zero@gentoo \
--to=lu_zero@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox