dev-go/go-sys: version bump to 0_pre20180816
authorZac Medico <zmedico@gentoo.org>
Sun, 19 Aug 2018 00:56:23 +0000 (17:56 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 19 Aug 2018 06:37:58 +0000 (23:37 -0700)
Package-Manager: Portage-2.3.47, Repoman-2.3.10

dev-go/go-sys/Manifest
dev-go/go-sys/go-sys-0_pre20180816.ebuild [new file with mode: 0644]

index f4e014a0c5b11709abd9e99ce114aff10595efd1..6ced79da8714515292ad5ff88aa9f336f87ff087 100644 (file)
@@ -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 (file)
index 0000000..e42e90c
--- /dev/null
@@ -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
+}