diff --git a/sys-apps/uutils-coreutils/Manifest b/sys-apps/uutils-coreutils/Manifest index 0bcf5360fc7fc..d95d2d8c8643b 100644 --- a/sys-apps/uutils-coreutils/Manifest +++ b/sys-apps/uutils-coreutils/Manifest @@ -1,4 +1,2 @@ -DIST coreutils-0.6.0-crates.tar.xz 22920436 BLAKE2B 1e9302adfc2e6b02266151c469affcaca6bc554569cd25d9354c30531a15085f867dceb07b76e90600d3796c6c2013cb791f3d8f0cd5a47b563d8d069d256dea SHA512 a8aea0871592c3154e403329206e3868b1cc4dcb1efe2c30a9e112d82959962fdaccfc236ec396049c71c59a47bd03931e2de4056f97665b220f488003c35b63 DIST coreutils-0.7.0-crates.tar.xz 22825916 BLAKE2B 810e8f398488ea8182da6a8edb7192d232ad04213326f6340f214f3eed514bba13112e32a9c0b91f869770c0cc808227661a53d288df7975caa2df75f24c1092 SHA512 940f6351d85e626ca4030555af38dec1ad2fcb9897bcf4f33958eb0576816d8e29ce9ab8d5144e819877b02cf14433f6d122ea6f5dc77a169fc40563534601cc -DIST uutils-coreutils-0.6.0.tar.gz 3079906 BLAKE2B ab020caf0c0024e627841ee32354837e4a682e7b84ba33734a4f37842f64d1da11530a96f14d9f75cc501f020a9bd1cde8f03d78b7e38a39806e2c7045094c2d SHA512 f493472a021aaa2008eb55d726ac5f76fa6a38ec6bc9db27dcb1f451731c7e3358c61a1eeeffabe9233767dc230a3695b455e1f7558588e034c7c9e0d5ee6b31 DIST uutils-coreutils-0.7.0.tar.gz 3137923 BLAKE2B ef7539429324b64adb710dcb93981f9e5bbd8e7b54af462dfb419d2877270c1cb88c67b170ee5098e7490766cfe0ea4a9807e06103ea5d6100006f84226eb4b7 SHA512 e6d01d9320050efaa64ac261d86fddbb79895a0768c388248b412be571989ec4fc78c094e9606d56154abab06b3f66bd4784c55dbf8129db183e78df4bd7c43c diff --git a/sys-apps/uutils-coreutils/uutils-coreutils-0.6.0.ebuild b/sys-apps/uutils-coreutils/uutils-coreutils-0.6.0.ebuild deleted file mode 100644 index 73a439920f170..0000000000000 --- a/sys-apps/uutils-coreutils/uutils-coreutils-0.6.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.6.2 - -EAPI=8 - -CRATES=" -" - -RUST_MIN_VER="1.85.0" -LLVM_COMPAT=( {17..21} ) -inherit cargo flag-o-matic llvm-r1 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 ~ppc64" -fi - -if [[ ${PV} != 9999 ]] ; then - SRC_URI+=" - https://github.com/gentoo-crate-dist/coreutils/releases/download/${PV}/coreutils-${PV}-crates.tar.xz - " -fi - -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 ) - selinux? ( - $(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 - - # This is should be a set of env vars in upstream CI - rm -f "${S}/.cargo/config.toml" -} - -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 1 0) - - # pinky, uptime, users, and who require utmpx (not available on musl) - # bug #832868 - # runcon chcon require selinux, but upstream broke the SELINUX_ENABLED logic - SKIP_UTILS="$(usev elibc_musl "pinky uptime users who") $(usev !selinux "runcon chcon")" - - # bug #963516 - LIBSTDBUF_DIR="${EPREFIX}/usr/libexec/${PN}" - ) - - 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 -}