Re: [gentoo-dev] [PATCH] distutils-r1.eclass: Support DISTUTILS_ARGS in PEP517 mode

2022-05-08 Thread Sam James
> On 8 May 2022, at 19:27, Michał Górny wrote: > > Use gpep517 --config-json support to pass DISTUTILS_ARGS in PEP517 mode. > > Signed-off-by: Michał Górny > --- > eclass/distutils-r1.eclass | 32 +++- > 1 file changed, 27 insertions(+), 5 deletions(-) > > diff

Re: [gentoo-dev] [PATCH 0/6] python-utils-r1.eclass: Python 3.11 support

2022-05-08 Thread Sam James
> On 8 May 2022, at 19:26, Michał Górny wrote: > > Hi, > > Here's a patchset to enable Python 3.11 support in the eclasses. > Along with the usual mechanical changes, I have refactored the tests > to avoid repetition and cover verifying that all the mechanical changes > were done. > LGTM.

[gentoo-dev] [PATCH 5/5] sys-devel/clang: Don't hardcode ninja

2022-05-08 Thread Sam James
From: orbea Signed-off-by: orbea Closes: https://github.com/gentoo/gentoo/pull/25272 Signed-off-by: Sam James --- sys-devel/clang/clang-12.0.1.ebuild | 2 +- sys-devel/clang/clang-13.0.1.ebuild | 2 +- sys-devel/clang/clang-14.0.1-r1.ebuild | 2 +-

[gentoo-dev] [PATCH 4/5] sys-devel/llvm: Don't hardcode ninja

2022-05-08 Thread Sam James
From: orbea Signed-off-by: orbea Signed-off-by: Sam James --- sys-devel/llvm/llvm-12.0.1.ebuild | 2 +- sys-devel/llvm/llvm-13.0.1.ebuild | 2 +- sys-devel/llvm/llvm-14.0.1.ebuild | 2 +- sys-devel/llvm/llvm-14.0.3.ebuild | 2 +- sys-devel/llvm/llvm-15.0.0..ebuild | 2

[gentoo-dev] [PATCH 3/5] cmake.eclass: Support dev-util/samurai

2022-05-08 Thread Sam James
From: orbea samurai is a ninja-compatible build tool written in C which works with cmake, meson and other users of ninja. It is feature-complete and supports most of the same options as ninja. Signed-off-by: orbea Signed-off-by: Sam James --- eclass/cmake.eclass | 13 + 1 file

[gentoo-dev] [PATCH 2/5] meson.eclass: Support dev-util/samurai

2022-05-08 Thread Sam James
From: orbea samurai is a ninja-compatible build tool written in C which works with cmake, meson and other users of ninja. It is feature-complete and supports most of the same options as ninja. Signed-off-by: orbea Signed-off-by: Sam James --- eclass/meson.eclass | 2 +- 1 file changed, 1

[gentoo-dev] [PATCH 1/5] ninja-utils.eclass: Support dev-util/samurai

2022-05-08 Thread Sam James
From: orbea samurai is a ninja-compatible build tool written in C which works with cmake, meson and other users of ninja. It is feature-complete and supports most of the same options as ninja. Signed-off-by: orbea Signed-off-by: Sam James --- eclass/ninja-utils.eclass | 24

[gentoo-dev] [PATCH 2/2] distutils-r1.eclass: Move setup from src_configure to prepare_all

2022-05-08 Thread Michał Górny
Move a few minor setup calls from distutils-r1_src_configure() to distutils-r1_python_prepare_all(). Since we do not declare default configure sub-phases, it is easy to override src_configure() entirely and accidentally skip these steps. We already warn for missing

[gentoo-dev] [PATCH 1/2] distutils-r1.eclass: Print buildsys package versions to aid debug

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 92 ++ 1 file changed, 92 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e9a28056e9cc..c2f5ab263cd5 100644 --- a/eclass/distutils-r1.eclass +++

[gentoo-dev] [PATCH] distutils-r1.eclass: Support DISTUTILS_ARGS in PEP517 mode

2022-05-08 Thread Michał Górny
Use gpep517 --config-json support to pass DISTUTILS_ARGS in PEP517 mode. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index

[gentoo-dev] [PATCH 6/6] dev-lang/python: Add python-exec dep to 3.11.0_beta1

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- ...ython-3.11.0_beta1.ebuild => python-3.11.0_beta1-r1.ebuild} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename dev-lang/python/{python-3.11.0_beta1.ebuild => python-3.11.0_beta1-r1.ebuild} (99%) diff --git

[gentoo-dev] [PATCH 5/6] dev-lang/python-exec: Enable python3.11 support

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-lang/python-exec/python-exec-2.4.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/python-exec/python-exec-2.4.8.ebuild b/dev-lang/python-exec/python-exec-2.4.8.ebuild index 7cab7a668f31..4fd31fa50604 100644 ---

[gentoo-dev] [PATCH 4/6] profiles: Add flags for python3.11

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/base/package.use.force | 1 + profiles/base/use.stable.mask | 7 ++- profiles/desc/python_single_target.desc | 1 + profiles/desc/python_targets.desc | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git

[gentoo-dev] [PATCH 3/6] eclass/tests/python-utils-r1.eclass: Add tests for adding new impls

2022-05-08 Thread Michał Górny
Add tests that verify that new Python implementations are added to all the places that need them. Signed-off-by: Michał Górny --- eclass/tests/python-utils-r1.sh | 35 + 1 file changed, 35 insertions(+) diff --git a/eclass/tests/python-utils-r1.sh

[gentoo-dev] [PATCH 2/6] eclass/tests/python-utils-r1.sh: Streamline the tests

2022-05-08 Thread Michał Górny
Streamline the python-utils-r1.eclass tests to use a for loop instead of copying the same tests over and over again. While at it, group tests by purpose. Signed-off-by: Michał Górny --- eclass/tests/python-utils-r1.sh | 112 1 file changed, 28 insertions(+), 84

[gentoo-dev] [PATCH 1/6] python-utils-r1.eclass: Add support for python3.11

2022-05-08 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 10 ++ eclass/tests/python-utils-r1.sh | 14 ++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 7b1bd012a37e..2b22b0539ecb

[gentoo-dev] [PATCH 0/6] python-utils-r1.eclass: Python 3.11 support

2022-05-08 Thread Michał Górny
Hi, Here's a patchset to enable Python 3.11 support in the eclasses. Along with the usual mechanical changes, I have refactored the tests to avoid repetition and cover verifying that all the mechanical changes were done. -- Best regards, Michał Górny Michał Górny (6): python-utils-r1.eclass:

[gentoo-dev] base-system team meeting 15/May 19:00 utc, #gentoo-base

2022-05-08 Thread Andreas K. Huettel
Hey all, we'll do a base-system team meeting 15/May 19:00 utc, on #gentoo-base. There will be only one agenda item, lead election (since I'm stepping down as base lead and will not seek re-election). Cheers, Andreas -- Andreas K. Hüttel dilfri...@gentoo.org Gentoo Linux developer (council,