Re: [gentoo-dev] Last rites: dev-php/pear and friends

2024-06-11 Thread Viorel Munteanu
La 11.06.2024 22:48, Michael Orlitzky a scris: On Tue, 2024-06-11 at 14:56 +0300, Arthur Zamarin wrote: Sounds good to me, then please make sure all that dependency tree needed for those targets are EAPI bumped, and most QA warnings from pkgcheck are handled. Currently those packages look unmain

Re: [gentoo-dev] Last rites: dev-php/pear and friends

2024-06-11 Thread Michael Orlitzky
On Tue, 2024-06-11 at 14:56 +0300, Arthur Zamarin wrote: > > Sounds good to me, then please make sure all that dependency tree needed > for those targets are EAPI bumped, and most QA warnings from pkgcheck > are handled. Currently those packages look unmaintained. > > When you (or anyone else) ha

[gentoo-dev] [PATCH 8/8] python-r1.eclass: Override PYTHON*_USEDEP in sub-phases

2024-06-11 Thread Michał Górny
Override the value of PYTHON_USEDEP and PYTHON_SINGLE_USEDEP to match the current implementation inside sub-phase function. This makes it possible to use them in has_version checks with conditional dependencies. Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 4 +++- 1 file changed, 3

[gentoo-dev] [PATCH 7/8] distutils-r1.eclass: Change "PEP 517" to "PEP517", for consistency

2024-06-11 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 afed1fa547d1..61c0a80323ec 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@

[gentoo-dev] [PATCH 6/8] distutils-r1.eclass: Remove distutils_install_for_testing

2024-06-11 Thread Michał Górny
Remove `distutils_install_for_testing` function. It is quite complex, and it was used only in the legacy eclass mode. All ebuilds using it in ::gentoo have been migrated to PEP517 build already, and the PEP517 build implement the same functionality better. Signed-off-by: Michał Górny --- eclas

[gentoo-dev] [PATCH 5/8] distutils-r1.eclass: Remove support for `d_e_t --install`

2024-06-11 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 3d72a5d3d554..f0d9d3a4b937 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils

[gentoo-dev] [PATCH 4/8] distutils-r1.eclass: Document BUILD_DIR for consistency

2024-06-11 Thread Michał Górny
Closes: https://bugs.gentoo.org/910661 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 16 1 file changed, 16 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 2b610a4d2ceb..3d72a5d3d554 100644 --- a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 3/8] distutils-r1.eclass: Doc DISTUTILS_IN_SOURCE_BUILD as deprecated

2024-06-11 Thread Michał Górny
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 392725d48121..2b610a4d2ceb 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -371,6 +371,7 @@

[gentoo-dev] [PATCH 2/8] distutils-r1.eclass: Doc DISTUTILS_OPTIONAL + DISTUTILS_SINGLE_IMPL

2024-06-11 Thread Michał Górny
Closes: https://bugs.gentoo.org/780807 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index eac4d592efaf..392725d48121 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/

[gentoo-dev] [PATCH 1/8] distutils-r1.eclass: Remove doc for DOCS, HTML_DOCS and PATCHES

2024-06-11 Thread Michał Górny
Remove the redundant (and outdated) documentation for the DOCS, HTML_DOCS and PATCHES variables. All these variables are handled through the default EAPI functions. Closes: https://bugs.gentoo.org/932802 Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 46 ---

[gentoo-dev] [PATCH 0/8] python-r1 + distutils-r1: PYTHON_USEDEP in phases and cleanup

2024-06-11 Thread Michał Górny
Hi, Here's a next batch of minor changes to distutils-r1 + a signifcant change to python-r1. For python-r1, the patch overrides PYTHON_USEDEP and PYTHON_SINGLE_USEDEP for phase function calls, similarly to how we do it for python_check_deps(). This makes it possible to easily perform has_version

[gentoo-dev] [PATCH v2 2/2] cargo.eclass: Enable cross-compiling by setting environment variables

2024-06-11 Thread James Le Cuirot
CARGO_BUILD_TARGET and CARGO_TARGET__LINKER are enough for pure Rust. The linker otherwise defaults to `cc`. This doesn't respect any linker specified in LDFLAGS, but this is also true for native builds. We would need to do something with RUSTFLAGS. The HOST_* variables are for the cc-rs crate, wh

[gentoo-dev] [PATCH v2 1/2] cargo.eclass: Drop EAPI 7 support

2024-06-11 Thread James Le Cuirot
It is going to inherit rust-toolchain, which is EAPI 8 only. Closes: https://bugs.gentoo.org/715890 Signed-off-by: James Le Cuirot --- eclass/cargo.eclass | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index a685

Re: [gentoo-dev] Last rites: dev-php/pear and friends

2024-06-11 Thread Arthur Zamarin
On 11/06/2024 14.54, Michael Orlitzky wrote: > On 2024-06-11 07:11:06, Viorel Munteanu wrote: >> >> # Viorel Munteanu (2024-06-11) >> # dev-php/pear, dev-php/PEAR-* and their reverse dependencies: mask for >> removal >> # in 30 days. >> # They are all unmaintained, most of the ebuilds are still E

Re: [gentoo-dev] Last rites: dev-php/pear and friends

2024-06-11 Thread Michael Orlitzky
On 2024-06-11 07:11:06, Viorel Munteanu wrote: > > # Viorel Munteanu (2024-06-11) > # dev-php/pear, dev-php/PEAR-* and their reverse dependencies: mask for > removal > # in 30 days. > # They are all unmaintained, most of the ebuilds are still EAPI 6, and > together > # they have around 40 bugs.