diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-02-20 11:57:05 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-02-20 11:57:05 -0800 |
commit | 476a8dd65631083f4e2ca8a68a027dcafebe4530 (patch) | |
tree | a576e69413e646bdf6ce2d12d9f2a75fbf09fa0d /dev-go | |
parent | app-admin/consul: add missing go-sys dep to 0.6.3 (bug 575204) (diff) | |
download | gentoo-476a8dd65631083f4e2ca8a68a027dcafebe4530.tar.gz gentoo-476a8dd65631083f4e2ca8a68a027dcafebe4530.tar.bz2 gentoo-476a8dd65631083f4e2ca8a68a027dcafebe4530.zip |
dev-go/go-sys: version bump to 0_pre20160204
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-sys/Manifest | 1 | ||||
-rw-r--r-- | dev-go/go-sys/go-sys-0_pre20160204.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest index c535cd48c758..acd75d8d07f4 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 000000000000..1bbddb0b7914 --- /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 +} |