From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1544694-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 47EA615800A for <garchives@archives.gentoo.org>; Thu, 10 Aug 2023 22:55:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7985C2BC015; Thu, 10 Aug 2023 22:55:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A7D72BC015 for <gentoo-commits@lists.gentoo.org>; Thu, 10 Aug 2023 22:55:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E6FD335DEC for <gentoo-commits@lists.gentoo.org>; Thu, 10 Aug 2023 22:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8192FF4A for <gentoo-commits@lists.gentoo.org>; Thu, 10 Aug 2023 22:55:15 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org> Message-ID: <1691708071.2274fac977f810fd41285ceb5811a69c5243c741.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/go/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/go/go-9999.ebuild X-VCS-Directories: dev-lang/go/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 2274fac977f810fd41285ceb5811a69c5243c741 X-VCS-Branch: master Date: Thu, 10 Aug 2023 22:55:15 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7135a6ce-287e-47e7-a68c-5b33bffbc86f X-Archives-Hash: 7fc0a42d44d895d8b47b3bebe50507f0 commit: 2274fac977f810fd41285ceb5811a69c5243c741 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Thu Aug 10 22:54:31 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Thu Aug 10 22:54:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2274fac9 dev-lang/go: sync live Signed-off-by: William Hubbs <williamh <AT> gentoo.org> dev-lang/go/go-9999.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index ee74dcbc30da..68b33c5e0315 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -121,6 +121,10 @@ go_cross_compile() { [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] } +PATCHES=( + "${FILESDIR}"/go-never-download-newer-toolchains.patch +) + src_compile() { if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" @@ -167,15 +171,14 @@ src_test() { } src_install() { - # There is a known issue which requires the source tree to be installed [1]. - # Once this is fixed, we can consider using the doc use flag to control - # installing the doc and src directories. - # The use of cp is deliberate in order to retain permissions - # [1] https://golang.org/issue/2775 dodir /usr/lib/go + # The use of cp is deliberate in order to retain permissions cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go einstalldocs + insinto /usr/lib/go +doins go.env VERSION + # testdata directories are not needed on the installed system rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)