summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-08-10 15:20:06 -0700
committerZac Medico <zmedico@gentoo.org>2015-08-10 15:20:28 -0700
commit74865add03008ca1e42b24a38645aace1daf06f6 (patch)
tree4ca7d7dd110223b8bbbf8f3f5ef8af73ea5960b9 /dev-go
parentwww-servers/monkeyd: fix init script for 1.6.0. (diff)
downloadgentoo-74865add03008ca1e42b24a38645aace1daf06f6.tar.gz
gentoo-74865add03008ca1e42b24a38645aace1daf06f6.tar.bz2
gentoo-74865add03008ca1e42b24a38645aace1daf06f6.zip
dev-go/go-sys: 0_pre20150729 version bump
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-sys/Manifest1
-rw-r--r--dev-go/go-sys/go-sys-0_pre20150729.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest
index 885a5f9b0ad0..39649ff72b28 100644
--- a/dev-go/go-sys/Manifest
+++ b/dev-go/go-sys/Manifest
@@ -1 +1,2 @@
DIST go-sys-0_pre20150518.tar.gz 528445 SHA256 8b8af041e424a8bd04a955a1104313f4eb3b282f064c555ef4edc53b552ce753 SHA512 90565340fa64b625877444c84589e1ba870403a239cf43e99ba194b071e89e6a4877b4b04bb85ba5966401e9b6361eb1b1ffa88404d727eb9f02938313264a9c WHIRLPOOL 9bf6bf148b8d63bcd863cf64d16c4f999bc68dd8dc382167122afbc14499dbdf8ca0e5397f3106556cd1e3ebe62f0df31a394fed42d1a506a311aa3f9d232c37
+DIST go-sys-0_pre20150729.tar.gz 529002 SHA256 9f9e4a2bca96d9f9708770607e21395c3f4f873f9b6266cae1ba1da526729528 SHA512 f80afa938977f3945ab3f08462eaf5d8db430013240a11b1f8a43911948fd2a8a390192ea9ebf79434b348b2ca520267a0441b922110e70603fff4849e57c487 WHIRLPOOL 0b269666650f285521c9fd3486959957ad9279544baac7ab5caa21158fb10ed4de2b2e7c080ffca9aa352c8e5685f2035612d40a04c8f6c5f7093daf1a020029
diff --git a/dev-go/go-sys/go-sys-0_pre20150729.ebuild b/dev-go/go-sys/go-sys-0_pre20150729.ebuild
new file mode 100644
index 000000000000..13d3c5c96d7c
--- /dev/null
+++ b/dev-go/go-sys/go-sys-0_pre20150729.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 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="58da1121af381632b48b2843aeb16299f2e1dc50"
+ 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/${PV}"
+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
+}