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 3F3AA138334 for ; Mon, 29 Apr 2019 16:36:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DF5FE08C8; Mon, 29 Apr 2019 16:36:02 +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 CC417E08C8 for ; Mon, 29 Apr 2019 16:36:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CFB7A34300B for ; Mon, 29 Apr 2019 16:35:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43C1B58A for ; Mon, 29 Apr 2019 16:35:58 +0000 (UTC) From: "William Hubbs" 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" Message-ID: <1556555430.167c53006749b6bbf952c80af0e0b5a7d31eca32.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-1.11.9.ebuild dev-lang/go/go-1.12.4.ebuild dev-lang/go/metadata.xml X-VCS-Directories: dev-lang/go/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 167c53006749b6bbf952c80af0e0b5a7d31eca32 X-VCS-Branch: master Date: Mon, 29 Apr 2019 16:35:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8f68e65c-655c-47d3-b6f7-5351d2eca0f5 X-Archives-Hash: bc096191188a72cedfc09570a81f0c76 commit: 167c53006749b6bbf952c80af0e0b5a7d31eca32 Author: William Hubbs gentoo org> AuthorDate: Mon Apr 29 16:24:04 2019 +0000 Commit: William Hubbs gentoo org> CommitDate: Mon Apr 29 16:30:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167c5300 dev-lang/go: add system-bootstrap use flag If a previous version of dev-lang/go is installed, you can use this use flag to skip downloading the bootstrap archives and bootstrap the new version using the already-installed version. For the initial installation of dev-lang/go, we have to download all of the bootstrap archives to make the go ebuild work under crossdev. For this reason, system-bootstrap cannot be turned on by default. Bug: https://bugs.gentoo.org/671394 closes: https://bugs.gentoo.org/684652 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Hubbs gentoo.org> dev-lang/go/go-1.11.9.ebuild | 19 ++++++++++++------- dev-lang/go/go-1.12.4.ebuild | 19 ++++++++++++------- dev-lang/go/metadata.xml | 7 ++++++- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/dev-lang/go/go-1.11.9.ebuild b/dev-lang/go/go-1.11.9.ebuild index 8fafeb455ba..a53df7c0956 100644 --- a/dev-lang/go/go-1.11.9.ebuild +++ b/dev-lang/go/go-1.11.9.ebuild @@ -48,20 +48,20 @@ case ${PV} in esac esac -# If gccgo is not being used to build Go, there is no way to know the -# architecture or operating system of the build machine, so we need to -# download all of our bootstrap archives to allow this ebuild to work -# under crossdev. +# If gccgo or a previously installed version of dev-lang/go is not being +# used to build Go, there is no way to know the architecture or operating system +# of the build machine, so we need to download all of our bootstrap +# archives to allow this ebuild to work under crossdev. # # https://bugs.gentoo.org/671394 -SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )" +SRC_URI+="!gccgo? ( !system-bootstrap? ( ${BOOTSTRAP_URI} ) )" DESCRIPTION="A concurrent garbage collected and typesafe programming language" HOMEPAGE="https://golang.org" LICENSE="BSD" SLOT="0/${PV}" -IUSE="gccgo" +IUSE="gccgo system-bootstrap" BDEPEND="gccgo? ( >=sys-devel/gcc-5[go] )" RDEPEND="! - Enable bootstrapping using gccgo + + Bootstrap using sys-devel/gcc[go] + + + Bootstrap using previously installed dev-lang/go +