From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 505F81388C0 for ; Tue, 23 Feb 2016 20:01:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11492E07F5; Tue, 23 Feb 2016 20:01:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 948A8E07F5 for ; Tue, 23 Feb 2016 20:01:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 988B9340B10 for ; Tue, 23 Feb 2016 20:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 353F016C5 for ; Tue, 23 Feb 2016 20:01:28 +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: <1456257648.fb31b281fd2b9a50af15dfea5d2997448629d993.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.6-r2.ebuild X-VCS-Directories: dev-lang/go/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: fb31b281fd2b9a50af15dfea5d2997448629d993 X-VCS-Branch: master Date: Tue, 23 Feb 2016 20:01:28 +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-Archives-Salt: 66b6dfb8-f508-4e87-a380-2444d4d49d23 X-Archives-Hash: e8fdac994fb393465b2484965d26eaa9 commit: fb31b281fd2b9a50af15dfea5d2997448629d993 Author: William Hubbs gentoo org> AuthorDate: Tue Feb 23 19:59:13 2016 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Feb 23 20:00:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb31b281 dev-lang/go: revbump to 1.6-r2 to use our provided bootstrap tarballs dev-lang/go/go-1.6-r2.ebuild | 237 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 237 insertions(+) diff --git a/dev-lang/go/go-1.6-r2.ebuild b/dev-lang/go/go-1.6-r2.ebuild new file mode 100644 index 0000000..8db9b01 --- /dev/null +++ b/dev-lang/go/go-1.6-r2.ebuild @@ -0,0 +1,237 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} + +MY_PV=${PV/_/} + +inherit toolchain-funcs + +BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist" +SRC_URI=" +kernel_Darwin? ( + x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-bootstrap.tbz ) +) +kernel_FreeBSD? ( +amd64-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-amd64-bootstrap.tbz ) +x86-fbsd? ( ${BOOTSTRAP_DIST}/go-freebsd-386-bootstrap.tbz ) +) +kernel_linux? ( + amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap.tbz ) + arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-bootstrap.tbz ) + arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap.tbz ) + ppc64? ( ${BOOTSTRAP_DIST}/go-linux-ppc64-bootstrap.tbz ) + x86? ( ${BOOTSTRAP_DIST}/go-linux-386-bootstrap.tbz ) +) +" + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="git://github.com/golang/go.git" + inherit git-r3 +else + SRC_URI+="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz" + # go-bootstrap-1.4 only supports go on amd64, arm and x86 architectures. + # Allowing other bootstrap options would enable arm64 and ppc64 builds. + case ${PV} in + *9999*|*_rc*) ;; + *) + KEYWORDS="-* ~amd64" + ;; + esac +fi + +DESCRIPTION="A concurrent garbage collected and typesafe programming language" +HOMEPAGE="http://www.golang.org" + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="" + +DEPEND="" +RDEPEND="!