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 56AEA1388C0 for ; Sat, 20 Feb 2016 19:57:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A71F821C0B9; Sat, 20 Feb 2016 19:57:41 +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 453B521C0B9 for ; Sat, 20 Feb 2016 19:57:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 110BB340CCD for ; Sat, 20 Feb 2016 19:57:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1FEC18EA for ; Sat, 20 Feb 2016 19:57:38 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1455998225.476a8dd65631083f4e2ca8a68a027dcafebe4530.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/go-sys/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-go/go-sys/Manifest dev-go/go-sys/go-sys-0_pre20160204.ebuild X-VCS-Directories: dev-go/go-sys/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 476a8dd65631083f4e2ca8a68a027dcafebe4530 X-VCS-Branch: master Date: Sat, 20 Feb 2016 19:57:38 +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: 3992ccd1-4f3c-42bb-a4cf-b4581eca4788 X-Archives-Hash: 36c5e1d024ec20673cb51940e1bc5a99 commit: 476a8dd65631083f4e2ca8a68a027dcafebe4530 Author: Zac Medico gentoo org> AuthorDate: Sat Feb 20 19:57:05 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Feb 20 19:57:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476a8dd6 dev-go/go-sys: version bump to 0_pre20160204 Package-Manager: portage-2.2.27 dev-go/go-sys/Manifest | 1 + dev-go/go-sys/go-sys-0_pre20160204.ebuild | 34 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest index c535cd4..acd75d8 100644 --- a/dev-go/go-sys/Manifest +++ b/dev-go/go-sys/Manifest @@ -1 +1,2 @@ DIST go-sys-0_pre20150729.tar.gz 529002 SHA256 9f9e4a2bca96d9f9708770607e21395c3f4f873f9b6266cae1ba1da526729528 SHA512 f80afa938977f3945ab3f08462eaf5d8db430013240a11b1f8a43911948fd2a8a390192ea9ebf79434b348b2ca520267a0441b922110e70603fff4849e57c487 WHIRLPOOL 0b269666650f285521c9fd3486959957ad9279544baac7ab5caa21158fb10ed4de2b2e7c080ffca9aa352c8e5685f2035612d40a04c8f6c5f7093daf1a020029 +DIST go-sys-0_pre20160204.tar.gz 542894 SHA256 0085192c44a60949a8c0c96f8d454d9d6fa1c06447a430ae38d965cc239dc720 SHA512 59db0ba47447869f2339ea60b8766e1464f48e22a619da2aecc07977b146a54feb4e3fa4e6076b8d1c2deb11ffab3c820e4a61602f2ce3121df7cb08e0267569 WHIRLPOOL f87756878ef6f8e4155f58941925e5c2bd7bc351d1a251161bff8a285d03bb21b842a55e4ffad91f4aa9726344d01279ab32a72b26829f151e610df8537aefd9 diff --git a/dev-go/go-sys/go-sys-0_pre20160204.ebuild b/dev-go/go-sys/go-sys-0_pre20160204.ebuild new file mode 100644 index 0000000..1bbddb0 --- /dev/null +++ b/dev-go/go-sys/go-sys-0_pre20160204.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +EGO_PN=golang.org/x/sys/... +EGO_SRC=golang.org/x/sys + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="50c6bc5e4292a1d4e65c6e9be5f53be28bcbe28e" + SRC_URI="https://github.com/golang/sys/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go packages for low-level interaction with the operating system" +HOMEPAGE="https://godoc.org/golang.org/x/sys" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="" +RDEPEND="" + +src_compile() { + # Create a writable GOROOT in order to avoid sandbox violations. + cp -sR "$(go env GOROOT)" "${T}/goroot" || die + rm -rf "${T}/goroot/src/${EGO_SRC}" || die + rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die + export GOROOT="${T}/goroot" + golang-build_src_compile +}