[gentoo-dev] [PATCH v2 5/5] check-reqs.eclass: Repl. I_KNOW_WHAT_I_AM_DOING w/ CHECKREQS_DONOTHING

2021-07-22 Thread Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner --- eclass/check-reqs.eclass | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index 39e4bad1363..836dd0d4a1f 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.ecla

[gentoo-dev] [PATCH v2 4/5] check-reqs.eclass: Prefix internal functions w/ underscore

2021-07-22 Thread Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner --- eclass/check-reqs.eclass | 140 ++- 1 file changed, 123 insertions(+), 17 deletions(-) diff --git a/eclass/check-reqs.eclas

[gentoo-dev] [PATCH v2 3/5] check-reqs.eclass: Drop obsolete check_reqs(), errored out for >3yrs

2021-07-22 Thread Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner --- eclass/check-reqs.eclass | 7 --- 1 file changed, 7 deletions(-) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index c95ee0192c5..6b11794fbb2 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -68,13 +68,6 @@ _CH

[gentoo-dev] [PATCH v2 2/5] check-reqs.eclass: Drop EAPI-4 and EAPI-5 support

2021-07-22 Thread Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner --- eclass/check-reqs.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass index 27ab1513aab..c95ee0192c5 100644 --- a/eclass/check-reqs.eclass +++ b/eclass/check-reqs.eclass @@ -7,7

[gentoo-dev] [PATCH v2 1/5] check-reqs.eclass: Support EAPI-8

2021-07-22 Thread Andreas Sturmlechner
Move EAPI check and EXPORT_FUNCTIONS on top, before include guard. Standardise include guard. Signed-off-by: Andreas Sturmlechner --- eclass/check-reqs.eclass | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/eclass/check-reqs.eclass b/eclass/check-re

[gentoo-dev] [PATCH] optfeature.eclass: Drop support for EAPIs 0,1,2,3,4,5

2021-07-22 Thread Andreas Sturmlechner
Signed-off-by: Andreas Sturmlechner --- eclass/optfeature.eclass | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/optfeature.eclass b/eclass/optfeature.eclass index b853f61be32..f9870e04732 100644 --- a/eclass/optfeature.eclass +++ b/eclass/optfeature.eclass @@ -

Re: [gentoo-dev] [PATCH] eclass/vim-plugin.eclass: delete if has_version condition.

2021-07-22 Thread Patrice Clement
Thursday 22 Jul 2021 10:54:02, Patrice Clement wrote : > ... and replace it with a test against the REPLACING_VERSIONS variable. > > See https://projects.gentoo.org/pms/8/pms.html#x1-10900011.1. > > This is an updated version of the same patch discussed previously on this ML. > > Suggested by Ar

Re: [gentoo-dev] Packages up for grab

2021-07-22 Thread Peter Stuge
Marco Scardovi wrote: > mail-filter/bogofilter I'd like to proxy-maintain this. //Peter

Re: [gentoo-dev] [PATCH] eclass/postgres.eclass: migrate to GLEP 81

2021-07-22 Thread Michael Orlitzky
On Fri, 2021-07-23 at 00:20 +0200, Conrad Kostecki wrote: > This update drops the function 'postgres_new_user', which was used to > create the 'postgres' user and group. > > ... > > Since many other packages depend on the 'postgres' and 'postgres-multi' > eclass, adding the core acct-*/postgres p

[gentoo-dev] [PATCH] eclass/postgres.eclass: migrate to GLEP 81

2021-07-22 Thread Conrad Kostecki
This update drops the function 'postgres_new_user', which was used to create the 'postgres' user and group. Additionally, this function accepted an argument to create a specified user, which will be added to the 'postgres' group. This function is used by exactly one package: dev-db/pgpool2. With

Re: [gentoo-dev] [PATCH] eclass/vim-plugin.eclass: delete if has_version condition.

2021-07-22 Thread Sam James
> On 22 Jul 2021, at 09:32, Patrice Clement wrote: > > Thursday 22 Jul 2021 04:44:39, Sam James wrote : >> >>> [snip] >> >> The patch itself seems fine, but I have some suggestions while we're >> working on the eclass: >> >> [snip] >> Let me know if you need any assistance, etc. >> >> than

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Ulrich Mueller
Maybe this is a stupid question, but what is USE=deblob doing these days anyway? I thought that all nonfree firmware had been removed from the kernel tree (with version 4.14) and was provided separately by the sys-kernel/linux-firmware package? Also, if I grep for K_DEBLOB_AVAILABLE in sys-kernel,

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread David Seifert
On Fri, 2021-07-23 at 03:23 +0900, Alice wrote: > On 7/23/21 3:08 AM, David Seifert wrote: > > On Fri, 2021-07-23 at 02:56 +0900, Alice wrote: > > > On 7/23/21 2:29 AM, Michał Górny wrote: > > > > I'm saying that instead of printing ewarn for old kernels you > > > > should > > > > just disable the

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
On 7/23/21 3:08 AM, David Seifert wrote: On Fri, 2021-07-23 at 02:56 +0900, Alice wrote: On 7/23/21 2:29 AM, Michał Górny wrote: I'm saying that instead of printing ewarn for old kernels you should just disable the whole logic in eclass for old kernels. Disabling everything by K_DEBLOB_AVAILAB

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread David Seifert
On Fri, 2021-07-23 at 02:56 +0900, Alice wrote: > On 7/23/21 2:29 AM, Michał Górny wrote: > > I'm saying that instead of printing ewarn for old kernels you should > > just disable the whole logic in eclass for old kernels. > Disabling everything by K_DEBLOB_AVAILABLE = 0 is what I did at first, > b

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
On 7/23/21 2:29 AM, Michał Górny wrote: I'm saying that instead of printing ewarn for old kernels you should just disable the whole logic in eclass for old kernels. Disabling everything by K_DEBLOB_AVAILABLE = 0 is what I did at first, but I still prefer to warn the user until old ebuild get rem

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Michał Górny
On Fri, 2021-07-23 at 00:47 +0900, Alice wrote: > On 7/23/21 12:43 AM, Michał Górny wrote: > > On Fri, 2021-07-23 at 00:24 +0900, Alice wrote: > > > On 7/23/21 12:02 AM, Michał Górny wrote: > > > > Why are you adding the USE flag for these kernels then? It's misleading > > > > at best. > > > > >

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
On 7/23/21 12:43 AM, Michał Górny wrote: On Fri, 2021-07-23 at 00:24 +0900, Alice wrote: On 7/23/21 12:02 AM, Michał Górny wrote: Why are you adding the USE flag for these kernels then? It's misleading at best. ah I just understand what are you asking. that's right the USE flag on such kerne

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Michał Górny
On Fri, 2021-07-23 at 00:24 +0900, Alice wrote: > On 7/23/21 12:02 AM, Michał Górny wrote: > > Why are you adding the USE flag for these kernels then? It's misleading > > at best. > > ah I just understand what are you asking. > that's right the USE flag on such kernel should be removed, > but I t

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
On 7/23/21 12:21 AM, Alice wrote: On 7/23/21 12:02 AM, Michał Górny wrote: use deblob was already there I'm not adding it please ignore this OpenPGP_0x1D6802D75C10FEF6.asc Description: application/pgp-keys OpenPGP_signature Description: OpenPGP digital signature

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
On 7/23/21 12:02 AM, Michał Górny wrote: Why are you adding the USE flag for these kernels then? It's misleading at best. ah I just understand what are you asking. that's right the USE flag on such kernel should be removed, but I think is something that we can do in a next release of such kern

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
On 7/23/21 12:02 AM, Michał Górny wrote: use deblob was already there I'm not adding it OpenPGP_0x1D6802D75C10FEF6.asc Description: application/pgp-keys OpenPGP_signature Description: OpenPGP digital signature

Re: [gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Michał Górny
On Fri, 2021-07-23 at 00:00 +0900, Alice wrote: > Signed-off-by: Alice Ferrazzi > --- > eclass/kernel-2.eclass | 13 + > 1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass > index f94dd9c..05f8161 100644 > --- a/eclass/k

[gentoo-dev] [PATCH] Add deblob support only for python3

2021-07-22 Thread Alice
Signed-off-by: Alice Ferrazzi --- eclass/kernel-2.eclass | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index f94dd9c..05f8161 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -605,7 +605,7 @@

[gentoo-dev] [PATCH] eclass/vim-plugin.eclass: delete if has_version condition.

2021-07-22 Thread Patrice Clement
... and replace it with a test against the REPLACING_VERSIONS variable. See https://projects.gentoo.org/pms/8/pms.html#x1-10900011.1. This is an updated version of the same patch discussed previously on this ML. Suggested by Arfrever. --- eclass/vim-plugin.eclass | 12 ++-- 1 file chang

Re: [gentoo-dev] [PATCH] eclass/vim-plugin.eclass: delete if has_version condition.

2021-07-22 Thread Patrice Clement
Thursday 22 Jul 2021 04:44:39, Sam James wrote : > > > > On 21 Jul 2021, at 17:47, Patrice Clement wrote: > > > > ... and replace it with a test against the REPLACING_VERSIONS variable. > > > > See https://projects.gentoo.org/pms/8/pms.html#x1-10900011.1. > > > > Patch courtesy of Arfrever. >

Re: [gentoo-dev] [PATCH] eclass/vim-plugin.eclass: delete if has_version condition.

2021-07-22 Thread Patrice Clement
Wednesday 21 Jul 2021 19:16:36, Ulrich Mueller wrote : > > On Wed, 21 Jul 2021, Patrice Clement wrote: > > > + if [[ -n "${VIM_PLUGIN_HELPFILES}" ]]; then > > Quotation marks are not necessary here (and three more times below, > in the elif lines). Thanks, this has been mended.