Re: [gentoo-dev] [PATCH 26/28] distutils-r1.eclass: Remove old FreeBSD compat hack

2021-06-20 Thread Michał Górny
On Sun, 2021-06-20 at 11:55 +0200, Michał Górny wrote: > Signed-off-by: Michał Górny > --- > eclass/distutils-r1.eclass | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass > index e74a68007179..a46b71431e48 100644

[gentoo-dev] [PATCH v2] python-utils-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index bab4be0f521d..4de550aa6a63 100644 --- a/eclass/python-utils-r1.eclass +++

Re: [gentoo-dev] [PATCH 02/28] python-utils-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Ulrich Mueller
> On Sun, 20 Jun 2021, Michał Górny wrote: > @@ -712,8 +714,13 @@ python_newexe() { > ) > > # install the wrapper > - _python_ln_rel "${ED%/}"/usr/lib/python-exec/python-exec2 \ > - "${ED%/}/${wrapd}/${newfn}" || die > + if [[ ${EAPI} != [67] ]]; then > +

[gentoo-dev] [PATCH v2] python-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index d464d3ef8f8a..08d3b744af81 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -846,7 +846,9 @@

[gentoo-dev] [PATCH v2] distutils-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e74a68007179..7501f6540bb6 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass

Re: [gentoo-dev] [PATCH 02/28] python-utils-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
On Sun, 2021-06-20 at 14:48 +0200, Ulrich Mueller wrote: > > > > > > On Sun, 20 Jun 2021, Michał Górny wrote: > > > @@ -712,8 +714,13 @@ python_newexe() { > >   ) > >   > >   # install the wrapper > > - _python_ln_rel "${ED%/}"/usr/lib/python-exec/python-exec2 \ > > -

[gentoo-dev] [PATCH v2 28/29] python-utils-r1.eclass: Remove _python_ln_rel

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 40 --- 1 file changed, 40 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 9c8b683a337f..d43311762f9f 100644 --- a/eclass/python-utils-r1.eclass +++

[gentoo-dev] Last rites: cannadic

2021-06-20 Thread David Seifert
# David Seifert (2021-06-20) # Abandoned upstream, last release 17 years ago, unmaintained, tons of # QA bugs, eclass is terrible. Bug #796878, removal in 30 days. app-dicts/canna-cannadic app-dicts/canna-2ch app-emacs/yc app-i18n/canna app-i18n/canfep app-i18n/im-canna cannadic.eclass: # @DEAD

[gentoo-dev] [PATCH 05/28] python-utils-r1.eclass: Eliminate local python_is_python3 uses

2021-06-20 Thread Michał Górny
Do not use python_is_python3 in eclass functions to ease banning it. Except for wrapper setup that is still used in py2 any-r1 context, we can unconditionally assume Python 3 everywhere. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 16 ++-- 1 file changed, 6

[gentoo-dev] [PATCH 08/28] python-utils-r1.eclass: Fix python_fix_shebang for py3.10+

2021-06-20 Thread Michał Górny
We should be safe until Python 3.99 now ;-). Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a3d5770b7c08..7f3a0f2566ca 100644 ---

[gentoo-dev] [PATCH 04/28] python-utils-r1.eclass: Rename *into vars to use underscores

2021-06-20 Thread Michał Górny
Rename helper variables used by *into to mark them private with underscores. The old names are leftovers from deprecated API that permitted setting them directly. It was last used in ::gentoo in 2016. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 12 ++-- 1 file

[gentoo-dev] [PATCH 09/28] python-utils-r1.eclass: Enable EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 7f3a0f2566ca..8be37cf544ff 100644 --- a/eclass/python-utils-r1.eclass +++

[gentoo-dev] [PATCH 07/28] python-utils-r1.eclass: Deprecated and EAPI8-ban python_is_python3

2021-06-20 Thread Michał Górny
There is no use for python_is_python3 anymore, as Python 2 is no longer supported at runtime and the remaining any-r1 uses are pure-2. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 3 +++ eclass/tests/python-utils-r1.sh | 4 2 files changed, 7 insertions(+) diff --git

[gentoo-dev] [PATCH 06/28] python-utils-r1.eclass: Ban py2 deps in python_gen* in EAPI 8

2021-06-20 Thread Michał Górny
Ban using -2 or python2* as an argument to python_gen_cond_dep and other functions using _python_impl_matches, in order to force cleaning up old entries, in EAPI 8. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 39 +++ 1 file changed, 26

[gentoo-dev] [PATCH 26/28] distutils-r1.eclass: Remove old FreeBSD compat hack

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e74a68007179..a46b71431e48 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@

[gentoo-dev] [PATCH 24/28] distutils-r1.eclass: Require >=pyproject2setuppy-15

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index d7a476f48586..1446d2cda749 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@

[gentoo-dev] [PATCH 27/28] distutils-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index a46b71431e48..314604e62660 100644 --- a/eclass/distutils-r1.eclass +++

[gentoo-dev] [PATCH 28/28] distutils-r1.eclass: Enable EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 314604e62660..0af1c85149f2 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@

[gentoo-dev] [PATCH 25/28] distutils-r1.eclass: Ban dift --via-home in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 1446d2cda749..e74a68007179 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -532,6 +532,7 @@

[gentoo-dev] last-rite: some java packages

2021-06-20 Thread Miroslav Šulc
# Volkmar W. Pogatzki (2021-06-20) # no consumer, removal in 30 days # see bug: https://bugs.gentoo.org/796587 # and https://bugs.gentoo.org/561504 dev-java/annogen dev-java/xml-xmlbeans java-virtuals/stax-api dev-java/jsr173 dev-java/jibx-tools

[gentoo-dev] [PATCH 15/28] python-single-r1.eclass: Enable EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 6dd0616aa219..dfe15e196764 100644 --- a/eclass/python-single-r1.eclass +++

[gentoo-dev] [PATCH 13/28] python-single-r1.eclass: Update doc for -2/-3 arg removal

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 36 +++--- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index 07db2d762ded..50ec69fa2ddb 100644 ---

[gentoo-dev] [PATCH 12/28] python-any-r1.eclass: Enable EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 2f38155c39fd..eaae5379b732 100644 --- a/eclass/python-any-r1.eclass +++

[gentoo-dev] [PATCH 11/28] python-any-r1.eclass: Remove obsolete PYTHON_USEDEP single-r1 hack

2021-06-20 Thread Michał Górny
Remove the QA hack for PYTHON_USEDEP that originally prevented python-r1 ebuilds from wrongly depending on python-single-r1 packages. Since the latter no longer define python_targets*, these dependencies are now caught without any hacks. Signed-off-by: Michał Górny ---

[gentoo-dev] [PATCH 10/28] python-any-r1.eclass: Remove obsolete eselect-python use

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-any-r1.eclass | 16 1 file changed, 16 deletions(-) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 49f639d5fac6..cb343b320f0c 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass

[gentoo-dev] [PATCH 14/28] python-single-r1.eclass: Ban PYTHON_MULTI_USEDEP in EAPI 8

2021-06-20 Thread Michał Górny
PYTHON_MULTI_USEDEP was a temporary transition measure, and is now equivalent to PYTHON_USEDEP. Ban it in EAPI 8 to clean up ebuilds. Signed-off-by: Michał Górny --- eclass/python-single-r1.eclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/eclass/python-single-r1.eclass

[gentoo-dev] [PATCH 22/28] distutils-r1.eclass: Refactor --install-scripts rewriting logic

2021-06-20 Thread Michał Górny
Refactor the --install-scripts rewriting logic in distutils-r1_python_install to be less horrid. Instead of using variable indirection, just inline the mydistutilsargs logic from esetup.py and rewrite the combined argument array. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 43

[gentoo-dev] [PATCH 23/28] distutils-r1.eclass: Replace mydistutilsargs with DISTUTILS_ARGS

2021-06-20 Thread Michał Górny
Add a new correctly-cased DISTUTILS_ARGS variable that replaces mydistutilsargs. Ban the latter in EAPI 8. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/eclass/distutils-r1.eclass

[gentoo-dev] [PATCH 21/28] python-r1.eclass: Enable EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 77709bfe7591..372b4d671fc9 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -7,7 +7,7 @@ #

[gentoo-dev] [PATCH 20/28] python-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index d464d3ef8f8a..77709bfe7591 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -846,7

[gentoo-dev] [PATCH 00/28] python-r1 suite EAPI 8 support/cleanup

2021-06-20 Thread Michał Górny
Hello, everyone. Here's the big batch of patches enabling EAPI 8 support in python-r1 eclass suite. This includes some generic fixes and cleanups. Generally: - all previously-deprecated stuff is now banned in EAPI 8 - some new stuff becomes deprecated and banned in EAPI 8 - some leftover

[gentoo-dev] [PATCH 02/28] python-utils-r1.eclass: Use 'dosym -r' in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index bab4be0f521d..e164b9c20eb9 100644 --- a/eclass/python-utils-r1.eclass +++

[gentoo-dev] [PATCH 03/28] python-utils-r1.eclass: Remove python_optimize support for py<3.5

2021-06-20 Thread Michał Górny
Remove the support code for Python 2.7, <3.5, as well as PyPy2.7. These are no longer supported at runtime, so byte-compiling should not be used for these impls. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[gentoo-dev] [PATCH 01/28] python-utils-r1.eclass: Ban private API in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass | 4 1 file changed, 4 insertions(+) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 3dbf221eac5d..bab4be0f521d 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@

[gentoo-dev] [PATCH 18/28] python-r1.eclass: Remove obsolete QA hack for PYTHON_USEDEP

2021-06-20 Thread Michał Górny
Remove the QA hack for PYTHON_USEDEP that originally prevented python-r1 ebuilds from wrongly depending on python-single-r1 packages. Since the latter no longer define python_targets*, these dependencies are now caught without any hacks. Signed-off-by: Michał Górny --- eclass/python-r1.eclass

[gentoo-dev] [PATCH 16/28] python-r1.eclass: Update doc for -2/-3 arg removal

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 63 ++--- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 1eb68270a0b3..00555e19d605 100644 --- a/eclass/python-r1.eclass +++

[gentoo-dev] [PATCH 17/28] multibuild.eclass: Enable EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/multibuild.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/multibuild.eclass b/eclass/multibuild.eclass index 8f9612bc747e..37568ebf87cc 100644 --- a/eclass/multibuild.eclass +++ b/eclass/multibuild.eclass @@ -1,4

[gentoo-dev] [PATCH 19/28] python-r1.eclass: Ban python_gen_usedep in EAPI 8

2021-06-20 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/python-r1.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass index 539076b5f748..d464d3ef8f8a 100644 --- a/eclass/python-r1.eclass +++ b/eclass/python-r1.eclass @@ -358,6 +358,7 @@

[gentoo-dev] Copyright lines in the profiles directory

2021-06-20 Thread Joshua Kinard
Doing some review/cleanups in the MIPS profiles and there's some degree of variability going on with the top copyright header, mainly in the beginning year. I'm wanting to fix all of those up, but what is the appropriate beginning year here? 1999, or the first year that the file appeared? I am

Re: [gentoo-dev] Copyright lines in the profiles directory

2021-06-20 Thread Michał Górny
On Sun, 2021-06-20 at 20:11 -0400, Joshua Kinard wrote: > Doing some review/cleanups in the MIPS profiles and there's some degree of > variability going on with the top copyright header, mainly in the beginning > year. I'm wanting to fix all of those up, but what is the appropriate > beginning

Re: [gentoo-dev] Copyright lines in the profiles directory

2021-06-20 Thread Ulrich Mueller
> On Mon, 21 Jun 2021, Joshua Kinard wrote: > Doing some review/cleanups in the MIPS profiles and there's some > degree of variability going on with the top copyright header, mainly > in the beginning year. I'm wanting to fix all of those up, but what is > the appropriate beginning year here?

Re: [gentoo-dev] Copyright lines in the profiles directory

2021-06-20 Thread Sam James
> On 21 Jun 2021, at 01:11, Joshua Kinard wrote: > > Doing some review/cleanups in the MIPS profiles and there's some degree of > variability going on with the top copyright header, mainly in the beginning > year. I'm wanting to fix all of those up, but what is the appropriate > beginning year

Re: [gentoo-dev] Copyright lines in the profiles directory

2021-06-20 Thread Joshua Kinard
On 6/21/2021 01:36, Ulrich Mueller wrote: >> On Mon, 21 Jun 2021, Joshua Kinard wrote: > >> Doing some review/cleanups in the MIPS profiles and there's some >> degree of variability going on with the top copyright header, mainly >> in the beginning year. I'm wanting to fix all of those up,