summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-08-18 17:56:23 -0700
committerZac Medico <zmedico@gentoo.org>2018-08-18 23:37:58 -0700
commit0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6 (patch)
tree59033147cb485ddefcffe93ceb458d9c17d4da71 /dev-go/go-sys
parentdev-go/go-text: version bump to 0.3.0 (diff)
downloadgentoo-0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6.tar.gz
gentoo-0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6.tar.bz2
gentoo-0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6.zip
dev-go/go-sys: version bump to 0_pre20180816
Package-Manager: Portage-2.3.47, Repoman-2.3.10
Diffstat (limited to 'dev-go/go-sys')
-rw-r--r--dev-go/go-sys/Manifest1
-rw-r--r--dev-go/go-sys/go-sys-0_pre20180816.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest
index f4e014a0c5b1..6ced79da8714 100644
--- a/dev-go/go-sys/Manifest
+++ b/dev-go/go-sys/Manifest
@@ -1,2 +1,3 @@
DIST go-sys-0_pre20150729.tar.gz 529002 BLAKE2B cc51b55c9bad7fffb9bf4d3c00ffb62dbff0e6765873f5a4b07ab4afdc0066a4f8c9d943fa7d8532345207f5bd1eb2b219922f9e7d33d25eb699902b4f5b960c SHA512 f80afa938977f3945ab3f08462eaf5d8db430013240a11b1f8a43911948fd2a8a390192ea9ebf79434b348b2ca520267a0441b922110e70603fff4849e57c487
DIST go-sys-0_pre20160204.tar.gz 542894 BLAKE2B 6f3969e8beb9311a742b61a188826b92fcbb211cc0159870a2dad389710681ae415506f667feed1f82940c2f223acdb21ba8e09a94a322c2ee07948598397937 SHA512 59db0ba47447869f2339ea60b8766e1464f48e22a619da2aecc07977b146a54feb4e3fa4e6076b8d1c2deb11ffab3c820e4a61602f2ce3121df7cb08e0267569
+DIST go-sys-0_pre20180816.tar.gz 994494 BLAKE2B 24132a6dc2b8e73a28209418d8e89c62da4620b3ceed30ac51bd2f4e06a9bb37c9402e50f0f18b77ff9b0c4106836db894bb7f8d9b2ea77bca621aeb5999f460 SHA512 ae95fa505beab9791824fec5e4a52590b21d54af314db3219ef7545ab93059a5b8d1a6d3f81353852c72d2f515ad6bc9d6a0b5ae28b5b17a82cedd241165a2e4
diff --git a/dev-go/go-sys/go-sys-0_pre20180816.ebuild b/dev-go/go-sys/go-sys-0_pre20180816.ebuild
new file mode 100644
index 000000000000..e42e90c0451b
--- /dev/null
+++ b/dev-go/go-sys/go-sys-0_pre20180816.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+EGO_PN=golang.org/x/sys/...
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64 ~arm ~x86"
+ EGIT_COMMIT="1c9583448a9c3aa0f9a6a5241bf73c0bd8aafded"
+ 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() {
+ GOPATH="${S}" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
+}
+
+src_test() {
+ GOPATH="${S}" \
+ go test -v -work -x "${EGO_PN}" || die
+}
+
+src_install() {
+ golang_install_pkgs
+}