From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28D67138334 for ; Sun, 19 Aug 2018 06:38:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAB13E07D7; Sun, 19 Aug 2018 06:38:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9A93E07D7 for ; Sun, 19 Aug 2018 06:38:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE548340FEF for ; Sun, 19 Aug 2018 06:38:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0A363A9 for ; Sun, 19 Aug 2018 06:38:09 +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: <1534660678.0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6.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_pre20180816.ebuild X-VCS-Directories: dev-go/go-sys/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6 X-VCS-Branch: master Date: Sun, 19 Aug 2018 06:38:09 +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: 036c40dd-27de-4dfe-981d-6afe32cf5437 X-Archives-Hash: d2f4227fd74ffa13689bb6044f97ac49 commit: 0a04bb4a4ba5f2a56361f4fb40fcbf70e531feb6 Author: Zac Medico gentoo org> AuthorDate: Sun Aug 19 00:56:23 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Aug 19 06:37:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a04bb4a dev-go/go-sys: version bump to 0_pre20180816 Package-Manager: Portage-2.3.47, Repoman-2.3.10 dev-go/go-sys/Manifest | 1 + dev-go/go-sys/go-sys-0_pre20180816.ebuild | 37 +++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest index f4e014a0c5b..6ced79da871 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 00000000000..e42e90c0451 --- /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 +}