[gentoo-dev] [PATCH 1/3] cargo.eclass: add trivial crate overrides

2024-11-24 Thread kangie
From: Matt Jolly Updating vulnerable (or otherwise outdated) crates in Rust ebuilds is painful. Generally speaking, there are 5 options: - Run `cargo update` to fetch new versions from the web. This is obviously not suitable for use in Portage. - Patch the software via Portage to accept a non-

[gentoo-dev] [PATCH 0/3] cargo.eclass: Trivial crate replacements

2024-11-24 Thread kangie
From: Matt Jolly Updating vulnerable or outdated crates in Rust ebuilds is not easy. This patchset aims to reduce the developer effort and knowledge required to substitute crates into a Rust build process. We do this by: - Enabling `paths = ['/foo/bar/baz']` style global replacements. This us

[gentoo-dev] [PATCH 2/3] dev-lang/rust{,-bin}: Add 1.54.0

2024-11-24 Thread kangie
From: Matt Jolly These are the the old ebuilds, updated to be slotted. Other changes: - `USE=rls` was dropped at some point, this is now hard-enabled. - As the LLVM is far too old for Gentoo we are using the bundled LLVM exclusively. In particular, dev-lang/rust:1.54.0 forms an important p

[gentoo-dev] [PATCH 3/3] app-antivirus/clamav: example of trivial crate replacement

2024-11-24 Thread kangie
From: Matt Jolly Signed-off-by: Matt Jolly --- app-antivirus/clamav/Manifest | 2 +- .../{clamav-1.0.7-r1.ebuild => clamav-1.0.7-r2.ebuild}| 8 +++- 2 files changed, 8 insertions(+), 2 deletions(-) rename app-antivirus/clamav/{clamav-1.0.7-r1.ebuild => clama

Re: [gentoo-dev] New eclass: eapi9-pipestatus.eclass

2024-11-24 Thread Ulrich Müller
> On Sun, 24 Nov 2024, Michał Górny wrote: >> # @CODE >> # local status >> # foo | bar >> # status=$(pipestatus -v) || die "foo | bar failed, status ${status}" > I suppose you may want to put a verbose warning not to put "local" > on the same line, because people are going to do that as an "o

[gentoo-dev] New eclass: eapi9-pipestatus.eclass

2024-11-24 Thread Ulrich Müller
This implements a pipestatus command, as discussed in bug 566342 [1] and on IRC. Subject to approval by the council, the command would be added in EAPI 9. Its definition in the Package Manager Specification would be along the lines of: ╓ ║ Tests the shell's pipe status array, i.e. the exit st

[gentoo-dev] packages up for grabs

2024-11-24 Thread Nils Freydank
Hi everyone, the following packages are up for grabs (or support) as I’m stepping down from my maintenance for these: 1) app-misc/khard https://bugs.gentoo.org/buglist.cgi?quicksearch=khard two open bugs from CI actually not tested by myself for some months by now 2) dev-python/pyt

Re: [gentoo-dev] New eclass: eapi9-pipestatus.eclass

2024-11-24 Thread Michał Górny
On Sun, 2024-11-24 at 13:24 +0100, Ulrich Müller wrote: > # Copyright 2024 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > > # @ECLASS: eapi9-pipestatus.eclass > # @MAINTAINER: > # Ulrich Müller > # @AUTHOR: > # Ulrich Müller > # @SUPPORTED_EAPIS: 7 8 > # @B