Re: [gentoo-dev] RFC: banning "AI"-backed (LLM/GPT/whatever) contributions to Gentoo

2024-03-05 Thread Oskari Pirhonen
On Tue, Mar 05, 2024 at 06:12:06 +, Robin H. Johnson wrote: > At the top, I noted that it will be possible in future for AI generation > to be used in a good, safe way, and we should provide some signals to > the researchers behind the AI industry on this matter. > > What should it have? > -

[gentoo-dev] [PATCH v2 7/7] distutils-r1.eclass: wire up meson-python to meson.eclass

2024-03-05 Thread Michał Górny
From: Eli Schwartz The meson-python build backend -- as the name suggests -- uses meson under the hood. We have a meson eclass which does lots of useful things pertinent to meson. Make sure it gets invoked, by prying out the options that meson_src_configure would use and setting passing them as

[gentoo-dev] [PATCH v2 6/7] meson.eclass: move python_export_utf8_locale to meson_src_configure

2024-03-05 Thread Michał Górny
From: Sam James We don't need it in setup_meson_src_configure as distutils-r1 uses it and it'll get called twice then. Signed-off-by: Sam James --- eclass/meson.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index

[gentoo-dev] [PATCH v2 5/7] python-utils-r1.eclass: Fix python_doheader install location with ROOT

2024-03-05 Thread Michał Górny
From: James Le Cuirot python_get_includedir is prefixed with ESYSROOT, not EPREFIX, so we need to strip off the former, not the latter. This is currently only used for dev-python/pillow, which I have tested. Signed-off-by: James Le Cuirot --- eclass/python-utils-r1.eclass | 2 +- 1 file

[gentoo-dev] [PATCH v2 4/7] distutils-r1.eclass: Make vars local before calling filter-lto

2024-03-05 Thread Michał Górny
Make LTO filtering local to the compilation code. This avoids disabling LTO for non-Python parts of an ebuild. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 1 file changed, 4 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index

[gentoo-dev] [PATCH v2 3/7] distutils-r1.eclass: Move filter-lto into DISTUTILS_EXT block

2024-03-05 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 60554944a5a0..ee1dcef24ff6 100644 --- a/eclass/distutils-r1.eclass +++

[gentoo-dev] [PATCH v2 2/7] distutils-r1.eclass: Limit DISTUTILS_EXT logic to compile & test

2024-03-05 Thread Michał Górny
Perform the environment modifications specific to DISTUTILS_EXT to python_compile and python_test phases. These are the only phases where we expect extension builds to be called. This allows us to limit the scope of localized CPPFLAGS, as we both want to avoid leaking changes to non-Python parts

[gentoo-dev] [PATCH v2 1/7] distutils-r1.eclass: Remove -Werror... hack (now in cython)

2024-03-05 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 5 - 1 file changed, 5 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index c0d1992ccce0..fb0c2dfaa693 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1813,11 +1813,6

[gentoo-dev] [PATCH v2 0/7] distutils-r1.eclass + python-utils-r1.eclass + meson.eclass: combined patches

2024-03-05 Thread Michał Górny
Hi, The same set as previously + extra patches from Eli, James and Sam. Eli Schwartz (1): distutils-r1.eclass: wire up meson-python to meson.eclass James Le Cuirot (1): python-utils-r1.eclass: Fix python_doheader install location with ROOT Michał Górny (4): distutils-r1.eclass: Remove

[gentoo-dev] Last-rites: kde-misc/gmail-feed

2024-03-05 Thread Andreas Sturmlechner
# Andreas Sturmlechner (2024-03-05) # Stopped working after GMail changes some 1.5 years ago, # no more upstream development. # Removal on 2024-04-03. kde-misc/gmail-feed signature.asc Description: This is a digitally signed message part.