[gentoo-dev] Package up for grabs: net-misc/connman-gtk

2024-05-15 Thread Marek Szuba
Dear everyone, After over a decade of standing behind Connman, I have in recent months come to the conclusion that there are now better (or at least better-documented) network-management solutions available for all of my use cases. As a result, I no longer use net-misc/connman-gtk . This is

Re: [gentoo-dev] [PATCH 6/7] linux-info.eclass: respect eselect kernel setting in binpkgs

2024-05-15 Thread Mike Gilbert
On Tue, May 14, 2024 at 7:59 AM Andrew Ammerlaan wrote: > Commit f51cd5b64c14ddfb83488a12d538c66a4a309376 resets kernel environment > variables when binpkgs are merged, this makes sense since we care about the > system that the binpkg will be installed on, not the system the binpkg was > built on.

[gentoo-dev] [PATCH v2] cargo.eclass: Optimize crate unpacking

2024-05-15 Thread Michał Górny
Unpack crates in parallel using xargs to utilize multicore systems better. Perform checksumming via a single sha256sum invocation. For dev-python/watchfiles, this speeds up unpacking on my machine from 2.6 s to 0.75 s (warm cache). Signed-off-by: Michał Górny --- eclass/cargo.eclass | 56 +

[gentoo-dev] [PATCH 0/7] distutils-r1.eclass: wheel reuse optimization, EPYTEST_FLAGS and scikit-build-core updates

2024-05-15 Thread Michał Górny
Hello, Here's a small batch of patches that: 1. Add support for reusing prior wheels if they are compatible to avoid invoking the (slow) build system multiple times when building for multiple targes. This is currently opt-in (via make.conf variable) and can benefit us in two cases: a. in pure P

[gentoo-dev] [PATCH 1/7] distutils-r1.eclass: Set DISTUTILS_WHEEL_PATH in PEP517 install

2024-05-15 Thread Michał Górny
Store the created wheel path in DISTUTILS_WHEEL_PATH when returning from distutils_pep517_install. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index

[gentoo-dev] [PATCH 2/7] distutils-r1.eclass: Store created wheels in DISTUTILS_WHEELS

2024-05-15 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 1037c0abe239..89223b248157 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1532,6 +

[gentoo-dev] [PATCH 3/7] distutils-r1.eclass: Add a QA warning for pure Python file mismatch

2024-05-15 Thread Michał Górny
If the package is creating at least one pure Python wheel, check whether the baseline package contents (i.e. everything but compiled Python modules, extensions and .dist-info) match between implementations. This is meant to ensure that we can safely optimize builds by reusing pure Python wheels fro

[gentoo-dev] [PATCH 4/7] distutils-r1.eclass: Support reusing prior wheels when compatible

2024-05-15 Thread Michał Górny
Support reusing the wheels built for earlier Python implementations if they are compatible with the subsequent implementations being built. This includes pure Python wheels in packages that do not set DISTUTILS_EXT, and stable ABI wheels. Closes: https://bugs.gentoo.org/931689 Signed-off-by: Micha

[gentoo-dev] [PATCH 5/7] python-utils-r1.eclass: Support passing EPYTEST_FLAGS

2024-05-15 Thread Michał Górny
Closes: https://bugs.gentoo.org/905863 Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 275ac3a96523..584ed831f816 100644 --- a/eclass/p

[gentoo-dev] [PATCH 6/7] distutils-r1.eclass: Update scikit-build-core to 0.9.4

2024-05-15 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e4d53083124e..02921919c7ef 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 7/7] distutils-r1.eclass: Pass ninja options to scikit-build-core

2024-05-15 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 02921919c7ef..9b2fc0583149 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1457,11 +1457,

[gentoo-dev] Obtaining values for --jobs and --load-average

2024-05-15 Thread Florian Schmaus
On 12/05/2024 20.21, Michał Górny wrote: On Sun, 2024-05-12 at 19:22 +0200, Florian Schmaus wrote: On 12/05/2024 04.26, Michał Górny wrote: + if [[ ${PKGBUMPING} != ${PVR} ]]; then + pushd "${DISTDIR}" >/dev/null || die + + ebegin "Unpacking crates" +