Re: [gentoo-dev] [PATCH 00/11] llvm-r2.eclass, to unmess pkg_setup and fix cross

2024-12-30 Thread Michał Górny
On Sat, 2024-12-21 at 16:48 +0100, Michał Górny wrote: > Hello, > > Here's the newest eclass I've been working on. While llvm-r1 addressed > the problems of generating dependencies and matching LLVM package > versions, it retained a hacky awful pkg_setup(). Th

[gentoo-dev] Last rites: dev-python/pslab

2024-12-28 Thread Michał Górny
# Michał Górny (2024-12-29) # As of 3.1.0, upstream has removed all mocking and made it impossible # to test the package locally.  As such, we cannot maintain it going # forward.  Removal on 2025-01-28.  Bug #947144. dev-python/pslab -- Best regards, Michał Górny signature.asc Description

[gentoo-dev] [PATCH 11/11] eclass/tests/llvm-r2.sh: Add tests for llvm-config

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/tests/llvm-r2.sh | 87 + 1 file changed, 87 insertions(+) diff --git a/eclass/tests/llvm-r2.sh b/eclass/tests/llvm-r2.sh index e715f7e34e82..fde76d2d682e 100755 --- a/eclass/tests/llvm-r2.sh +++ b/eclass/tests/llvm

[gentoo-dev] [PATCH 10/11] eclass/tests: Copy llvm-r1 tests to llvm-r2.sh

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/tests/llvm-r2.sh | 101 1 file changed, 101 insertions(+) create mode 100755 eclass/tests/llvm-r2.sh diff --git a/eclass/tests/llvm-r2.sh b/eclass/tests/llvm-r2.sh new file mode 100755 index

[gentoo-dev] [PATCH 09/11] llvm-r2.eclass: Remove obsolete Meson LLVM_CONFIG hack

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/llvm-r2.eclass | 7 --- 1 file changed, 7 deletions(-) diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass index 3d18f1a0a19c..4c2628dd3b7e 100644 --- a/eclass/llvm-r2.eclass +++ b/eclass/llvm-r2.eclass @@ -401,13 +401,6 @@ llvm_cbuild_setup

[gentoo-dev] [PATCH 08/11] llvm-r2.eclass: Update top-level docs for CBUILD/CHOST support

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/llvm-r2.eclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass index e499f9dba38d..3d18f1a0a19c 100644 --- a/eclass/llvm-r2.eclass +++ b/eclass/llvm-r2.eclass @@ -18,12 +18,19 @@ # 2

[gentoo-dev] [PATCH 07/11] llvm-r2.eclass: Generate a llvm-config script for CHOST

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/llvm-r2.eclass | 173 +- 1 file changed, 172 insertions(+), 1 deletion(-) diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass index 91e841821331..e499f9dba38d 100644 --- a/eclass/llvm-r2.eclass +++ b/eclass

[gentoo-dev] [PATCH 06/11] llvm-r2.eclass: Add llvm_chost_setup, set CMake path variables

2024-12-21 Thread Michał Górny
Add a llvm_chost_setup function that handles CHOST-specific setup. Initially, this means setting CMake variables that control `find_package()` lookups. Signed-off-by: Michał Górny --- eclass/llvm-r2.eclass | 37 ++--- 1 file changed, 30 insertions(+), 7 deletions

[gentoo-dev] [PATCH 05/11] llvm-r2.eclass: Readjust for BROOT, split to llvm_cbuild_setup

2024-12-21 Thread Michał Górny
Readjust the old pkg_setup logic for BROOT tool use, move it to llvm_cbuild_setup function. Signed-off-by: Michał Górny --- eclass/llvm-r2.eclass | 45 --- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git a/eclass/llvm-r2.eclass b/eclass/llvm

[gentoo-dev] [PATCH 04/11] llvm-utils.eclass: Support -b/-d to llvm_prepend_path

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/llvm-utils.eclass | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/eclass/llvm-utils.eclass b/eclass/llvm-utils.eclass index 1ae3295484c8..b105e169fbc4 100644 --- a/eclass/llvm-utils.eclass +++ b/eclass/llvm

[gentoo-dev] [PATCH 03/11] HACK! llvm-r1 -> llvm-r2 (to ease testing)

2024-12-21 Thread Michał Górny
--- eclass/llvm-r1.eclass | 201 +- 1 file changed, 2 insertions(+), 199 deletions(-) diff --git a/eclass/llvm-r1.eclass b/eclass/llvm-r1.eclass index e59bd9c317b9..79fe63df3f96 100644 --- a/eclass/llvm-r1.eclass +++ b/eclass/llvm-r1.eclass @@ -47,207 +47,1

[gentoo-dev] [PATCH 02/11] llvm-r2.eclass: Copy from llvm-r1.eclass

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/llvm-r2.eclass | 257 ++ 1 file changed, 257 insertions(+) create mode 100644 eclass/llvm-r2.eclass diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass new file mode 100644 index ..6d0223f73f10

[gentoo-dev] [PATCH 01/11] llvm-r1.eclass: Fix list in eclassdoc

2024-12-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/llvm-r1.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/llvm-r1.eclass b/eclass/llvm-r1.eclass index 7326e3a6b271..e59bd9c317b9 100644 --- a/eclass/llvm-r1.eclass +++ b/eclass/llvm-r1.eclass @@ -14,8 +14,10 @@ # in a matching slot. To

[gentoo-dev] [PATCH 00/11] llvm-r2.eclass, to unmess pkg_setup and fix cross

2024-12-21 Thread Michał Górny
on. Overall, I think it's the best "one size fits all" tool I could come up with, and one that can be customized to fit other use cases. Please test and lemme know what you make of it. Michał Górny (11): llvm-r1.eclass: Fix list in eclassdoc llvm-r2.eclass: Copy from llvm-r1.ecl

Re: [gentoo-dev] New tool for updating Bug summaries after package moves: bugsed

2024-12-12 Thread Michał Górny
On Thu, 2024-12-12 at 10:28 +0100, Alexander Neuwirth wrote: > On 12/11/24 15:08, Michał Górny wrote: > > you can quickly update > > hundreds of bugs filed against it > > Does it need to be added to the list of exceptions [1] or is it > considered as a manual, i.e. non-

Re: [gentoo-dev] New tool for updating Bug summaries after package moves: bugsed

2024-12-12 Thread Michał Górny
uldn't be necessary. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] New tool for updating Bug summaries after package moves: bugsed

2024-12-11 Thread Michał Górny
. By default, it just does a dry-run, `-u` to update. You may also want to try pkgmove from mgorny-dev-scripts, which is also dumb as hell, greedy on seding stuff and requires you to rename ebuilds inside the package directory first. -- Best regards, Michał Górny signature.asc Description: This

[gentoo-dev] [PATCH] */*: make "vpx" a global use flag

2024-12-11 Thread Michał Górny
as not followed through: https://archives.gentoo.org/gentoo-dev/201007311337.40902.ha...@gentoo.org/ Signed-off-by: Michał Górny --- games-engines/scummvm/metadata.xml| 1 - games-fps/eduke32/metadata.xml| 1 - media-libs/avidemux-plugins/metadata.xml |

[gentoo-dev] [RFC] Unmessing mod/tracker music file flags (mikmod, modplug, openmpt)

2024-12-11 Thread Michał Górny
? While they probably differ in fine details like the exact list of supported file formats, the overlap is wide enough to justify it. Such as: mod - Enable support for a variety of tracker module (.it, .mod, .s3m, .xm, and more) music files -- Best regards, Michał Górny signature.asc

[gentoo-dev] [PATCH 2/2] cmake.eclass: Use get_makeopts_{jobs,loadavg}

2024-12-10 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/cmake.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 9b05f29139a5..1a591331c4c9 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -707,8 +707,8 @@ cmake_src_test

[gentoo-dev] [PATCH 1/2] cmake.eclass: Permit overriding CTEST_{JOBS,LOADAVG}

2024-12-10 Thread Michał Górny
Closes: https://bugs.gentoo.org/945081 Signed-off-by: Michał Górny --- eclass/cmake.eclass | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 8079a5cb037b..9b05f29139a5 100644 --- a/eclass/cmake.eclass +++ b

Re: [gentoo-dev] Re: LLVM build strategy

2024-12-08 Thread Michał Górny
n... ccache will save most of the time on rebuilding the same things (except for tablegen or sphinx, which are pretty slow too), but you'd still be rerunning the same tests. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] Introduce llvm-core and llvm-runtimes categories

2024-12-08 Thread Michał Górny
Signed-off-by: Michał Górny --- llvm-core/metadata.xml | 14 ++ llvm-runtimes/metadata.xml | 14 ++ 2 files changed, 28 insertions(+) create mode 100644 llvm-core/metadata.xml create mode 100644 llvm-runtimes/metadata.xml diff --git a/llvm-core/metadata.xml b/llvm

Re: LLVM build strategy (was: Re: [gentoo-dev] [RFC] New categories for LLVM)

2024-12-08 Thread Michał Górny
ll previous objects of the cache, so it won't work for most of the people at all. Provided they go out of their way to configure it in the first place. In the end, LLVM is a project primarily maintained by people working for shitty corporations that only care about being able to build the

Re: [gentoo-dev] [RFC] New categories for LLVM

2024-12-08 Thread Michał Górny
plit will also help with crossdev. FWIU we only need to cover runtimes there, since the toolchain itself is cross- capable by design. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [RFC] New categories for LLVM

2024-12-07 Thread Michał Górny
; unwind?) clang-python, lit and llvm-ocaml would remain in their language categories. WDYT? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [RFC] Future changes to LLVM eclasses (or how do you use LLVM?)

2024-12-03 Thread Michał Górny
copy of LLVM unnecessarily). Any other ideas? How does your package select LLVM version, and which of these options would work best for you? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] rust.eclass: add ERUST_{SLOT,TYPE} user variables

2024-12-03 Thread Michał Górny
t; +# This variable must not be set in ebuilds. Could you perhaps add 'OVERRIDE' to the names, to make it clear they're not supposed to be normally used? Just like we have PYTHON_COMPAT_OVERRIDE in Python eclasses. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/pypy

2024-12-01 Thread Michał Górny
# Michał Górny (2024-12-01) # Superseded by dev-lang/pypy:2.7. # Removal on 2024-12-15. dev-python/pypy -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH v2 1/2] sec-keys.eclass: new eclass

2024-11-28 Thread Michał Górny
On Thu, 2024-11-28 at 16:56 +, Sam James wrote: > Eli Schwartz writes: > > > On 11/28/24 8:10 AM, Michał Górny wrote: > > > On Wed, 2024-11-27 at 23:32 -0500, Eli Schwartz wrote: > > > > > > That looks like something you could do in src_compile() alre

Re: [gentoo-dev] [PATCH v2 1/2] sec-keys.eclass: new eclass

2024-11-28 Thread Michał Górny
On Thu, 2024-11-28 at 10:36 -0500, Eli Schwartz wrote: > On 11/28/24 8:10 AM, Michał Górny wrote: > > > > +# separated by colons. The allowed values for a location are: > > > +# > > > +# - gentoo -- fetch key by fingerprint from https://keys.gentoo.org > &g

Re: [gentoo-dev] [PATCH v2 1/2] sec-keys.eclass: new eclass

2024-11-28 Thread Michał Górny
ump.new" > || die "updates available for PGP key: ${fingerprint}" > + done > + > +} > + > +# @FUNCTION: sec-keys_src_install > +# @DESCRIPTION: > +# Default src_install override that minifies and exports all PGP public keys > +# into an ascii-armored

Re: [gentoo-dev] [PATCH 1/2] sec-keys.eclass: new eclass

2024-11-27 Thread Michał Górny
src_test() that would check if the key needs bumping, i.e. if an online update triggers any meaningful changes? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

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

2024-11-27 Thread Michał Górny
On Wed, 2024-11-27 at 11:41 +0100, Florian Schmaus wrote: > I looked forward to use pipestatus() in texlive-modules.eclass [1], but > since the pipe includes a 'grep', which is not uncommon, I can not use > what is currently proposed. Use sed instead. -- Best re

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

2024-11-24 Thread Michał Górny
]] && echo "${status[@]}" > > for s in "${status[@]}"; do > [[ ${s} -ne 0 ]] && ret=${s} I suppose it's just my C-foo talking and completely needless optimization here, but it really itches me to iterate the array backwards and return on the first match. > done > > return "${ret}" > } -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/pyproject-fmt-rust

2024-11-23 Thread Michał Górny
# Michał Górny (2024-11-23) # Implementation detail of dev-python/pyproject-fmt.  New versions # integrate the Rust code into the main package. # Removal on 2024-12-07.  Bug #944782. dev-python/pyproject-fmt-rust -- Best regards, Michał Górny signature.asc Description: This is a digitally

[gentoo-dev] [PATCH 6/8] distutils-r1.eclass: Use HATCH_METADATA_CLASSIFIERS_NO_VERIFY

2024-11-22 Thread Michał Górny
Bug: https://github.com/pypa/hatch/issues/1368 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 7e65bcb964a1..51bf005271c1 100644 --- a/eclass/distutils-r1.eclass +++ b

[gentoo-dev] [PATCH 8/8] distutils-r1.eclass: Disable setuptools trove-classifier validation

2024-11-22 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index de54b17fa9b3..9691c9067b7e 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1259,6 +1259,8

[gentoo-dev] [PATCH 7/8] distutils-r1.eclass: Also do SETUPTOOLS_RUST_CARGO_PROFILE uncond.

2024-11-22 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 51bf005271c1..de54b17fa9b3 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 5/8] distutils-r1.eclass: Update maturin's skip auditwheel option

2024-11-22 Thread Michał Górny
From: Ionen Wolkens >=maturin-1.7.1 has deprecated --skip-auditwheel and added --auditwheel= to replace it. Update and set the lower bound to latest stable rather than use has_version. Signed-off-by: Ionen Wolkens Closes: https://github.com/gentoo/gentoo/pull/39204 Signed-off-by: Michał Gó

[gentoo-dev] [PATCH 4/8] python-utils-r1.eclass: Move python3_13t before other python*

2024-11-22 Thread Michał Górny
Move the python3_13t target on the list before other CPython targets. This means it's technically "less preferred", so e.g. *all phases would rather be performed with regular CPython, which should generally be more faster. Signed-off-by: Michał Górny --- eclass/python-utils-r1.e

[gentoo-dev] [PATCH 3/8] python-utils-r1.eclass: Depend on dev-lang/pypy directly

2024-11-22 Thread Michał Górny
his requires pkgcheck to be updated first. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 9 ++--- eclass/tests/python-utils-r1.sh | 4 +++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass in

[gentoo-dev] [PATCH 2/8] python-any-r1.eclass: Remove obsolete variable

2024-11-22 Thread Michał Górny
Remove a leftover variable from before PYTHON_PKG_DEP was used. Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index ca2ddf146406..adc7b1bfec47 100644

[gentoo-dev] [PATCH 1/8] python-any-r1.eclass: Fix python_gen_any_dep w/ PYTHON_REQ_USE

2024-11-22 Thread Michał Górny
Fix `python_gen_any_dep()` to correctly strip the `:=` operator when it does not occur at the end of `PYTHON_PKG_DEP`, i.e. when `PYTHON_REQ_USE` is used and a USE dependency string is appended. Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 2 +- 1 file changed, 1 insertion

[gentoo-dev] [PATCH 0/8] Next Python eclass batch (incl. PyPy slots and non-urgent changes)

2024-11-22 Thread Michał Górny
rsions - disabling trove-classifier validation that can cause pointless build failures if users have too old dev-python/trove-classifiers installed Ionen Wolkens (1): distutils-r1.eclass: Update maturin's skip auditwheel option Michał Górny (7): python-any-r1.eclass: Fix python_gen_any_

[gentoo-dev] Last rites: dev-python/pypy3_10

2024-11-17 Thread Michał Górny
# Michał Górny (2024-11-17) # Superseded by dev-lang/pypy:3.10.  This version is vulnerable. # Removal on 2024-12-01. dev-python/pypy3_10 -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: disable setuptools validation of pypi.org allowed strings

2024-11-12 Thread Michał Górny
On Tue, 2024-11-12 at 15:00 -0500, Eli Schwartz wrote: > On 11/12/24 1:37 PM, Michał Górny wrote: > > > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass > > > index 7ab8dcae3265..9b9ba4b803ac 100644 > > > --- a/eclass/distutils-r1.eclass > >

Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: disable setuptools validation of pypi.org allowed strings

2024-11-12 Thread Michał Górny
4b803ac 100644 > --- a/eclass/distutils-r1.eclass > +++ b/eclass/distutils-r1.eclass > @@ -1360,6 +1360,17 @@ distutils_pep517_install() { > EOF > ) > fi > + if [[ ${BDEPEND} != *dev-python/trove-classifiers* ]]; > then It's not valid to access stacked variables like BDEPEND from ebuilds. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [RFC] Dealing with default upstream Rust flags (?)

2024-11-09 Thread Michał Górny
sn't OOM first. How much of that stuff should we respect? Or should we perhaps override it all? Should we do some special magic via eclass, or perhaps expect users to set specific RUSTFLAGS for that? Perhaps set default RUSTFLAGS in the profiles? -- Best regards, Michał Górny signature

Re: [gentoo-dev] RFC: IUSE for system/notification sounds: sound vs. libcanberra vs. notification-sound

2024-11-01 Thread Michał Górny
ot;notification sounds" (i.e. some app makes random noise that I don't want) and "sound support in general" (i.e. having a media player or a game with sound output). -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Packages up for grabs: app-text/xpdf, sec-keys/openpgp-keys-xpdf

2024-11-01 Thread Michał Górny
Hello, The following packages are now up for grabs: app-text/xpdf sec-keys/openpgp-keys-xpdf -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/mkdocs-ansible, dev-python/mkdocs-macros-plugin

2024-10-29 Thread Michał Górny
# Michał Górny (2024-10-29) # Unmaintained in Gentoo.  The latter is multiple versions behind. # Ebuilds without working tests.  The only revdep has its "doc" flag # masked for over a year. # Removal on 2024-11-28.  Bug #942445. dev-python/mkdocs-ansible dev-python/mkdocs-macros-plugin

Re: [gentoo-dev] RFC: New PostgreSQL categories

2024-10-28 Thread Michał Górny
. > - extensions, new packages: > […] Are you actually going to maintain all these new packages, or just dump and effectively abandon them, as usual? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH] python-utils-r1.eclass: Move python3_13t before other python*

2024-10-23 Thread Michał Górny
Move the python3_13t target on the list before other CPython targets. This means it's technically "less preferred", so e.g. *all phases would rather be performed with regular CPython, which should generally be more faster. Signed-off-by: Michał Górny --- eclass/python-utils-r1.e

[gentoo-dev] [PATCH] profiles: Add a global USE=time64

2024-10-22 Thread Michał Górny
Add a global time64 flag that is forced on time64 profiles and masked elsewhere. This flag will be used to toggle the default _TIME_BITS value in sys-devel/gcc, and also to toggle between different archives in *-bin packages (e.g. dev-python/pypy*-exe-bin). Signed-off-by: Michał Górny

[gentoo-dev] [PATCH 3/3] python-utils-r1.eclass: Depend on dev-lang/pypy directly

2024-10-21 Thread Michał Górny
his requires pkgcheck to be updated first. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 9 ++--- eclass/tests/python-utils-r1.sh | 4 +++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass in

[gentoo-dev] [PATCH 2/3] python-any-r1.eclass: Remove obsolete variable

2024-10-21 Thread Michał Górny
Remove a leftover variable from before PYTHON_PKG_DEP was used. Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index ca2ddf146406..adc7b1bfec47 100644

[gentoo-dev] [PATCH 1/3] python-any-r1.eclass: Fix python_gen_any_dep w/ PYTHON_REQ_USE

2024-10-21 Thread Michał Górny
Fix `python_gen_any_dep()` to correctly strip the `:=` operator when it does not occur at the end of `PYTHON_PKG_DEP`, i.e. when `PYTHON_REQ_USE` is used and a USE dependency string is appended. Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 2 +- 1 file changed, 1 insertion

[gentoo-dev] [PATCH 0/3] python*-r1.eclass: dev-lang/pypy use

2024-10-21 Thread Michał Górny
test the new package layout a bit before we commit to it finally (currently the system can gracefully switch back on revert). Michał Górny (3): python-any-r1.eclass: Fix python_gen_any_dep w/ PYTHON_REQ_USE python-any-r1.eclass: Remove obsolete variable python-utils-r1.eclass: Depend o

Re: [gentoo-dev] Slotting PyPy

2024-10-20 Thread Michał Górny
On Thu, 2024-10-17 at 14:12 +0200, Michał Górny wrote: > The ebuilds could now depend e.g. on: > > >=dev-lang/pypy-3.10:= > > This would ensure that only slots newer than 3.10 are acceptable, > and that packages are rebuilt (as they are right now) once we introduce >

Re: [gentoo-dev] Slotting PyPy

2024-10-19 Thread Michał Górny
e, though I'm not sure yet if I'll merge them into slots or leave completely separate. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: net-misc/electron-cash

2024-10-18 Thread Michał Górny
# Michał Górny (2024-10-18) # Low-quality, test-restricted package with multiple unresolved bugs # and version bump pending.  Removal requested by the maintainer. # Removal on 2024-11-17.  Bug #941436. net-misc/electron-cash -- Best regards, Michał Górny signature.asc Description: This is a

[gentoo-dev] Last rites: dev-python/sentry-sdk

2024-10-18 Thread Michał Górny
# Michał Górny (2024-10-18) # Causing issues since forever.  We are already deselecting a lot # of tests because of cryptic failures.  On top of that, upstream shows # no interest in porting to >=dev-python/pytest-8.  No (non-optional) # revdeps left. # Removal on 2024-11-17.  Bug #937896.

Re: [gentoo-dev] Slotting PyPy

2024-10-17 Thread Michał Górny
On Thu, 2024-10-17 at 08:47 -0400, Jérôme Carretero wrote: > On Thu, 2024-10-17 at 14:12 +0200, Michał Górny wrote: > > Hello, > > > > Given that you've expressed your preference for dev-lang/python > > remaining slotted, I'd like to open another can

[gentoo-dev] Slotting PyPy

2024-10-17 Thread Michał Górny
g to combine dev-python/pypy*-exe dev-python/pypy*-exe-bin to some degree, but that's a minor point, since they are implementation details. WDYT? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-13 Thread Michał Górny
dev-lang/python3_14 > > dev-lang/python3_14t > > > > It's worth noting that we *do* this for pypy, but we retain > dev-python/pypy3. I'm not a huge fan of it there but I know why we have > it -- so that one can test new versions of pypy in parallel even when &g

[gentoo-dev] [PATCH 5/5] dev-lang/python: Use sigstore in 3.13.0 (example)

2024-10-12 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-lang/python/Manifest | 2 +- dev-lang/python/python-3.13.0.ebuild | 8 +--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest index daddb0dad1f4..7663f0072d2a 100644 --- a/dev

[gentoo-dev] [PATCH 4/5] verify-sig.eclass: Add support for verifying sigstore signatures

2024-10-12 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/verify-sig.eclass | 54 1 file changed, 49 insertions(+), 5 deletions(-) diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index 9886e3352db7..f97c4a276865 100644 --- a/eclass/verify-sig.eclass +++ b

[gentoo-dev] [PATCH 3/5] verify-sig.eclass: Error out on invalid method+function combos

2024-10-12 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/verify-sig.eclass | 9 + 1 file changed, 9 insertions(+) diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index d601c7838a00..9886e3352db7 100644 --- a/eclass/verify-sig.eclass +++ b/eclass/verify-sig.eclass @@ -173,6 +173,9

[gentoo-dev] [PATCH 2/5] verify-sig.eclass: Refactor code to use extra_args for all types

2024-10-12 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/verify-sig.eclass | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass index b74ed78290aa..d601c7838a00 100644 --- a/eclass/verify-sig.eclass +++ b/eclass/verify-sig.eclass

[gentoo-dev] [PATCH 1/5] sec-keys/sigstore-trusted-root: New package, v0_p20241010

2024-10-12 Thread Michał Górny
New package installing trusted_root.json for dev-python/sigstore, to verify signatures. Includes a test phase to verify if our root is up-to-date. Signed-off-by: Michał Górny --- sec-keys/sigstore-trusted-root/Manifest | 2 + sec-keys/sigstore-trusted-root/metadata.xml | 8

[gentoo-dev] [PATCH 0/5] verify-sig.eclass: sigstore support

2024-10-12 Thread Michał Górny
are implemented, and I have no clue if they are supported at all. 3. An example Python 3.13.0 patch to use it. That said, I don't think we will actually use it for existing versions, just when there are no PGP signatures anymore. Michał Górny (5): sec-keys/sigstore-trusted-root

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 10:12 +0200, Michał Górny wrote: > This naturally means that only the specific version requested (e.g. via > targets) would be installed, and no cross-slot autoupgrades would > happen. Ideally, I'd like to start doing that with Python 3.14 whose > first

Re: [gentoo-dev] Re: [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 17:30 +0500, Anna (cybertailor) Vyalkova wrote: > On 2024-10-12 11:13, Michał Górny wrote: > > On Sat, 2024-10-12 at 10:50 +0200, Luca Barbato wrote: > > > On 12/10/24 10:12, Michał Górny wrote: > > > > Comments? > > > > >

Re: [gentoo-dev] Re: [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 15:00 +0200, Luca Barbato wrote: > On 12/10/24 11:13, Michał Górny wrote: > > On Sat, 2024-10-12 at 10:50 +0200, Luca Barbato wrote: > > > On 12/10/24 10:12, Michał Górny wrote: > > > > Comments? > > > > > > > I'm a

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 07:23 -0400, Mitchell Dorrell wrote: > On Sat, Oct 12, 2024, 06:23 Michał Górny wrote: > > > On Sat, 2024-10-12 at 12:13 +0200, Ulrich Mueller wrote: > > > > > > > > On Sat, 12 Oct 2024, Michał Górny wrote: > > > > &g

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 12:13 +0200, Ulrich Mueller wrote: > > > > > > On Sat, 12 Oct 2024, Michał Górny wrote: > > > > IMHO this would abuse the package name for information that absolutely > > > doesn't belong there. It belongs in PV or SLOT. >

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
e package? > Isn't it ironic that I didn't manage to finish sending my reply about slots being abused and things bent so hard to make them fit slots, and you've already managed to propose adding more complexity in order to bend things even more into the wrong solution? -- B

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 11:59 +0200, Ulrich Mueller wrote: > > > > > > On Sat, 12 Oct 2024, Michał Górny wrote: > > > However, I think the cleanest way forward would be to stop slotting > > CPython like this, and instead have a separate package for each version, &

Re: [gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 11:49 +0200, Eray Aslan wrote: > On Sat, Oct 12, 2024 at 10:12:56AM +0200, Michał Górny wrote: > > > As a side notice, the existing versions would probably remain as-is > > until removal, since there's really no gain in splitting them, given

Re: [gentoo-dev] Re: [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
On Sat, 2024-10-12 at 10:50 +0200, Luca Barbato wrote: > On 12/10/24 10:12, Michał Górny wrote: > > Comments? > > > I'm afraid it would lead to way too many packages and I'm not sure the > overall experience would be an improvement. 5 are too many? > With

[gentoo-dev] [RFC] Splitting dev-lang/python into per-slot packages, starting with 3.14

2024-10-12 Thread Michał Górny
splitting them, given we'd have to retain compatibility with existing depstrings. Comments? -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] Last rites: dev-python/beagle

2024-10-10 Thread Michał Górny
# Michał Górny (2024-10-10) # Gentoo package not updated for 4 years now.  No tests upstream. # No revdeps. # Removal on 2024-11-09.  Bug #941245. dev-python/beagle -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

[gentoo-dev] [PATCH 9/9] distutils-r1.eclass: Do not use stable ABI wheels in freethreading

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index c3a7d112b03f..7ab8dcae3265 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1

[gentoo-dev] [PATCH 8/9] app-portage/gpyutils: Add python3.13t

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- app-portage/gpyutils/files/implementations.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/app-portage/gpyutils/files/implementations.txt b/app-portage/gpyutils/files/implementations.txt index 45705e04e3e1..95b321ec9437 100644 --- a/app-portage/gpyutils

[gentoo-dev] [PATCH 7/9] python-utils-r1.eclass: Support python3_13t (freethreading) target

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 10 +++--- eclass/tests/python-utils-r1.sh | 8 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 796be7ab456a..ffaa0708ed5b 100644

[gentoo-dev] [PATCH 6/9] install-qa-check.d: Support dev-lang/python-freethreading

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- metadata/install-qa-check.d/60python-site | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/install-qa-check.d/60python-site b/metadata/install-qa-check.d/60python-site index facfb54f1b3c..1a4ee0ca9f4e 100644 --- a/metadata/install-qa

[gentoo-dev] [PATCH 5/9] profiles: Add python3_13t (freethreading) target

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/base/package.use.force | 1 + profiles/base/use.stable.mask | 2 ++ profiles/desc/python_single_target.desc | 1 + profiles/desc/python_targets.desc | 1 + 4 files changed, 5 insertions(+) diff --git a/profiles/base

[gentoo-dev] [PATCH 4/9] dev-lang/python-freethreading: New package, 3.13.0

2024-10-09 Thread Michał Górny
A separate package installing the freethreading version of dev-lang/python. Closes: https://bugs.gentoo.org/940507 Signed-off-by: Michał Górny --- dev-lang/python-freethreading/Manifest| 3 + .../python-freethreading/files/pydoc.conf | 6 + .../python-freethreading/files

[gentoo-dev] [PATCH 3/9] profiles: Copy dev-lang/python entries for python-freethreading

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- profiles/arch/alpha/package.use.mask| 1 + profiles/arch/hppa/package.use.mask | 1 + profiles/arch/loong/package.use.mask| 1 + profiles/arch/m68k/package.mask | 1 + profiles/arch/m68k/package.use.mask | 1 + profiles

[gentoo-dev] [PATCH 2/9] dev-lang/python: Remove freethreading support

2024-10-09 Thread Michał Górny
Remove freethreading support from dev-lang/python in favor of a separate package. These two variations of Python are not ABI compatible and use separate installation trees. Signed-off-by: Michał Górny --- dev-lang/python/metadata.xml | 4 dev-lang/python/python-3.13.0.ebuild | 15

[gentoo-dev] [PATCH 1/9] dev-lang/python: Remove old

2024-10-09 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-lang/python/Manifest | 3 - dev-lang/python/python-3.13.0_rc3.ebuild | 665 --- 2 files changed, 668 deletions(-) delete mode 100644 dev-lang/python/python-3.13.0_rc3.ebuild diff --git a/dev-lang/python/Manifest b/dev

[gentoo-dev] [PATCH 0/9] Python 3.13 freethreading support

2024-10-09 Thread Michał Górny
y really clean way of avoiding this. Michał Górny (9): dev-lang/python: Remove old dev-lang/python: Remove freethreading support profiles: Copy dev-lang/python entries for python-freethreading dev-lang/python-freethreading: New package, 3.13.0 profiles: Add python3_13t (freethreading) targe

[gentoo-dev] Last rites: dev-python/brython

2024-09-29 Thread Michał Górny
# Michał Górny (2024-09-29) # This package has not been updated since Python 3.11.2.  It bundles # part of Python stdlib that's most likely vulnerable by now, as well # as some third-party packages.  And it really needs a dedicated # maintainer. # Removal on 2024-10-29.  Bug #910612. dev-p

Re: [gentoo-dev] libgssapi_krb5.so.2

2024-09-27 Thread Michał Górny
quiz, which in turn is prerequisite for having a developer status. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

Re: [gentoo-dev] [PATCH] distutils-r1.eclasS: Switch scikit-build-core to build.verbose

2024-09-24 Thread Michał Górny
On Tue, 2024-09-24 at 08:14 +0200, Michał Górny wrote: > Replace `cmake.verbose` with `build.verbose`, following the change > in scikit-build-core 0.10. > > Signed-off-by: Michał Górny > --- > eclass/distutils-r1.eclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion

[gentoo-dev] [PATCH] distutils-r1.eclasS: Switch scikit-build-core to build.verbose

2024-09-23 Thread Michał Górny
Replace `cmake.verbose` with `build.verbose`, following the change in scikit-build-core 0.10. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 5a6ebdcede8a

[gentoo-dev] Last rites: dev-python/pypy3_9, dev-python/pypy3_9-exe, dev-python/pypy3_9-exe-bin

2024-09-20 Thread Michał Górny
# Michał Górny (2024-09-21) # Discontinued upstream.  Since 7.3.17, only 2.7 and 3.10 are released. # Vulnerable. # Removal on 2024-10-21.  Bug #939951. dev-python/pypy3_9 dev-python/pypy3_9-exe dev-python/pypy3_9-exe-bin -- Best regards, Michał Górny signature.asc Description: This is a

[gentoo-dev] Last rites: dev-python/pytest-lazy-fixture

2024-09-20 Thread Michał Górny
# Michał Górny (2024-09-21) # Unmaintained.  Broken with >=dev-python/pytest-8. # Replaced by dev-python/pytest-lazy-fixtures.  No revdeps left. # Removal on 2024-10-21.  Bug #939420. dev-python/pytest-lazy-fixture -- Best regards, Michał Górny signature.asc Description: This is a digita

[gentoo-dev] Last rites: sci-physics/qmeq

2024-09-08 Thread Michał Górny
# Michał Górny (2024-09-08) # Does not build anymore.  No upstream activity since 2021. # Removal on 2024-10-08.  Bug #932532. sci-physics/qmeq -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part

  1   2   3   4   5   6   7   8   9   10   >