Re: [gentoo-dev] Re: [PATCH] go-module.eclass: add functions for use in custom src_unpack phase

2021-05-21 Thread Zac Medico
On 5/20/21 9:03 AM, William Hubbs wrote: > On Wed, May 19, 2021 at 01:57:38PM -0700, Zac Medico wrote: >> On 5/19/21 1:45 PM, Zac Medico wrote: +# @FUNCTION: go-module_setup_proxy +# @DESCRIPTION: +# If your ebuild redefines src_unpack and uses EGO_SUM you need to call +# this f

[gentoo-dev] [PATCH 2/2] go-module.eclass: add go-module_setup_proxy function

2021-05-21 Thread William Hubbs
This function is to be used in an ebuild that uses EGO_SUM and defines src_unpack. Signed-off-by: William Hubbs --- eclass/go-module.eclass | 41 + 1 file changed, 41 insertions(+) diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 9d64a

[gentoo-dev] [PATCH 1/2] go-module.eclass: fix GOPROXY export

2021-05-21 Thread William Hubbs
This variable should be exported in the go-module_set_globals function since it is not needed unless EGO_SUM is used. Signed-off-by: William Hubbs --- eclass/go-module.eclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/go-module.eclass b/eclass/go-module.ecla

[gentoo-dev] [PATCH 0/2] go-module.eclass cleanups

2021-05-21 Thread William Hubbs
This is an improvement to my previous patch. It is a patch series now because there are two separate changes: - GOPROXY is exported in go-module_set_globals since it is not needed if EGO_SUM is not set in the ebuild. - go-module_setup_proxy is added. This function sets up the go proxy directo

[gentoo-dev] [PATCH 3/3] dev-python/tox: Use dift --via-venv to unbreak two tests

2021-05-21 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/tox/tox-3.23.1.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/tox/tox-3.23.1.ebuild b/dev-python/tox/tox-3.23.1.ebuild index 938612131f77..2d37d0a62479 100644 --- a/dev-python/tox/tox-3.23.1.ebuild +++ b/dev-p

[gentoo-dev] [PATCH 2/3] dev-python/werkzeug: Reuse dift --via-venv

2021-05-21 Thread Michał Górny
Signed-off-by: Michał Górny --- dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild b/dev-python/werkzeug/werkzeug-2.0.1-r1.ebuild index 76e9a1859dab..0b427de76130 100644 --- a/

[gentoo-dev] [PATCH 1/3] distutils-r1.eclass: Introduce dift --via-venv install mode

2021-05-21 Thread Michał Górny
Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 96 -- 1 file changed, 62 insertions(+), 34 deletions(-) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index a02b6d059bd1..5412de8aba29 100644 --- a/eclass/distutils-r1.eclass

Re: [gentoo-dev] [pre-GLEP v2] Repository configuration file (layout.conf)

2021-05-21 Thread Michał Górny
Hi, Here's the second version. I've attempted to make the format section more readable, clarified the value types and added more examples all over the place. --- GLEP: Title: Repository configuration file (layout.conf) Author: Michał Górny Type: Standards Track Status: Draft Version: 1.0

Re: [gentoo-dev] [pre-GLEP] Repository configuration file (layout.conf)

2021-05-21 Thread Michał Górny
On Wed, 2021-05-19 at 11:22 -0400, Wolfgang E. Sanyer wrote: > On Wed, May 19, 2021 at 11:02 AM Michał Górny wrote: > > > > On Wed, 2021-05-19 at 10:37 -0400, Wolfgang E. Sanyer wrote: > > > See some comments in-line below. > > > > > > > > > On Wed, May 19, 2021 at 8:33 AM Michał Górny wrote:

Re: [gentoo-dev] [pre-GLEP] Repository configuration file (layout.conf)

2021-05-21 Thread Michał Górny
On Thu, 2021-05-20 at 21:33 -0500, John Helmert III wrote: > On Wed, May 19, 2021 at 02:32:27PM +0200, Michał Górny wrote: > > Hi, > > > > Please review the pre-GLEP inlined below. Its purpose is to formally > > define the format of layout.conf. It's pretty much inevitable these > > days, so we