From 64c589c1edbb77d6b22d027cf9584e2947e14535 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 18 Feb 2016 11:48:00 -0600 Subject: dev-lang/go: 1.6-r1 bump for eapi 6 and misc directory These changes were in the live ebuild and planned for go-1.6. This revision cleans up the installation of /usr/lib/go/misc and migrates to eapi 6. --- dev-lang/go/go-1.6-r1.ebuild | 211 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 211 insertions(+) create mode 100644 dev-lang/go/go-1.6-r1.ebuild (limited to 'dev-lang') diff --git a/dev-lang/go/go-1.6-r1.ebuild b/dev-lang/go/go-1.6-r1.ebuild new file mode 100644 index 00000000000..25fbae16065 --- /dev/null +++ b/dev-lang/go/go-1.6-r1.ebuild @@ -0,0 +1,211 @@ +# 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 + +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 ~arm ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos" + ;; + esac +fi + +DESCRIPTION="A concurrent garbage collected and typesafe programming language" +HOMEPAGE="http://www.golang.org" + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="" + +DEPEND=">=dev-lang/go-bootstrap-1.4.1" +RDEPEND="!