On Mon, 9 Sep 2019 16:46:16 -0500
William Hubbs <willi...@gentoo.org> wrote:

> will list the dependencies of a module, but that doesn't look like it
> can be translated into src_uri format.

If you use the mirror as mentioned in 
https://blog.golang.org/module-mirror-launch

Then you should be able to do it in a straight-forward way.

You could even encode the dependencies in a bash array like:

GO_MODULES=(
     Foo@v0.2.3
)

Which would be expanded by the ebuild during "use go" or whatever, to

  https://proxy.golang.org/${PN}/foo/@v/v0.2.3.zip -> ${PN}-foo-v0.2.3.zip

Or something like that.


Attachment: pgpRYoG4C_AFY.pgp
Description: OpenPGP digital signature

Reply via email to