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

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

2021-05-20 Thread William Hubbs
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 function in src_unpack. > >> +# It sets up th

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

2021-05-19 Thread Zac Medico
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 function in src_unpack. >> +# It sets up the go module proxy in the appropriate location and exports >> +# the GOPR

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

2021-05-19 Thread Zac Medico
On 5/19/21 12:48 PM, William Hubbs wrote: > If an ebuild uses EGO_SUM and needs to define a custom src_unpack phase, > these functions will make that easier. > > go-module_setup_proxy is used to create a local file proxy of the > dependencies listed in EGO_SUM and go-module_filter_proxy is used to