From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4990138334 for ; Tue, 10 Sep 2019 01:15:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5ACCE0970; Tue, 10 Sep 2019 01:15:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65D89E0932 for ; Tue, 10 Sep 2019 01:15:15 +0000 (UTC) Received: from katipo2.lan (unknown [203.86.205.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kentnl) by smtp.gentoo.org (Postfix) with ESMTPSA id 2234A34AF2C for ; Tue, 10 Sep 2019 01:15:12 +0000 (UTC) Date: Tue, 10 Sep 2019 13:15:04 +1200 From: Kent Fredric To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] rfc: go 1.13 and go modules Message-ID: <20190910131504.24f2ab02@katipo2.lan> In-Reply-To: <20190909214616.GA32528@whubbs1.dev.av1.gaikai.org> References: <20190909173418.GA30003@whubbs1.dev.av1.gaikai.org> <20190910083517.1877fd18@katipo2.lan> <20190909214616.GA32528@whubbs1.dev.av1.gaikai.org> Organization: Gentoo X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/DEy6ZufejGvP8dwGN0ltXhC"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: ec18b402-81c2-4e16-88ae-fae40f4e6f45 X-Archives-Hash: 3edf46448484ce4d64afff0c73797575 --Sig_/DEy6ZufejGvP8dwGN0ltXhC Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 9 Sep 2019 16:46:16 -0500 William Hubbs 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=3D( 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. --Sig_/DEy6ZufejGvP8dwGN0ltXhC Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgdrME8Lrmai3DXYJda6SGagVg7UFAl12+RgACgkQda6SGagV g7UqYA/8CBwof/ZjFXMalvJpYHdF7aXPpBK2IQqd+4yHwXIlCQC+lmIISq4rJz1x m7FWuRsXqDCQcMci4kX5HoyLwtM7hV2+wk7GhRYKSSBij/IZ6mKTYLZpw5gUEiuJ pXUkI0Om2JQILN3jm2A9Yr+fa1oRyJGJqowRxYH8Iaph6QZI1S4V61DqGCocHqgR EFqbY6f3r9EVRpliJZNuGyCRocrCoql85AZ8S5ndehWkGCme4uMqVM+oIAhcyFfy xJ/wEEFM4AIClE0NrJyY9RWYXat51HNNTtPWmry1P/jaNp/3kp5muH8VkZbOb3/8 8OvHz0Ur/8gdOwkh72hvCKPgZeLJHP9ro8UsdNEk4OJuV99HyWLSl7YFQMCqbZC2 UFqZz7L6stirnDHyn30dS7PohYUm9J1WwDnsh1kr9MLelTPIKGr+bNjmvjlVsz6z gFYmXPR0UUiyEvmrfEL2WfspOS9SHy7GUJqDcq6+0TcnFzGzrHc8lGA2mRkhu0TA kL1O21rnu0wbIcfglzJ7qnqoSJUExkTWc2djtboxcG5QqCtiNHIQGO68FIQxbU3s z0HhZ8Een7mKC7VZRn5CXfYVt1smYGIKWSBc3eSBYRaiUeRfTVFXDtqYODLHn3jU RYfrm688h2pXT32xEjd4o1mq7oDQL8f8buMv9ZkUl2QsSEUh+P0= =+voY -----END PGP SIGNATURE----- --Sig_/DEy6ZufejGvP8dwGN0ltXhC--