mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-apps/uutils-coreutils: drop 0.0.30
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST coreutils-0.0.30-crates.tar.xz 26693200 BLAKE2B 5575654896fec330e2ac8d34f3ca2e8a7d8d82250d88725d6a9ddc76130664477e97c29b84dd08a1edc7f3a97758af12edbd83e40f709a7b0b8432906f9f9740 SHA512 c31ecca0071e6c159d16621f2a4bc3ce67105bc30cf69718656e32c3300bf779a0061d2463ced45d10f5d6b62830842037a11f3be970401d01901decde148a95
|
||||
DIST coreutils-0.1.0-crates.tar.xz 19825496 BLAKE2B 9f746cbe086f92f60ef11477030ce84a0da38deb2d1ceab9a6cb5dfbf5433713463ae7e6d7cb81599dea9da3eff0d6dabdbd49c20a941ff93174d71e43ad935c SHA512 fad27d419a32706026e536cd0db85bb492ffd4cc8f924c450c4498657e5680598d39a95268af5f3ec2fb6ca5d76c9e79d01bd5872df8333fd0165cf89e5929a6
|
||||
DIST uutils-coreutils-0.0.30.tar.gz 2443734 BLAKE2B 601566fa0daac59e32876029d21a5e7ebe79404700c036d365919b90ed68fe3969aba79bd6e7c8954cc865953ee999ac58c0687b9a60843fe0428f7374509c51 SHA512 4d9f002329513e4cbf8787d050d852a209a02e9fbea84a63e442ace4fec38ce362dbac5ccee341834ade5f96586be393d6fc64e8421285598dd64804b660e633
|
||||
DIST uutils-coreutils-0.1.0.tar.gz 2511132 BLAKE2B 7e467037588a0b13a76a64bb185793305c1a993bd761a463b7d2041f27ccef50482c18017512b51cf58ca22c17076c79a3535486bde2015e56d170a5c64fe820 SHA512 e9b3941573b2267e6a4b17c49a64d71234e4cbf067f1180fe14bfe48012c9d400741067f6231855a6132f93138eb4bbcb1e970e98c5f937f8d3a5e5bc019f03c
|
||||
|
||||
@@ -1,112 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user