From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 587421388C0 for ; Sat, 20 Feb 2016 20:21:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A4CB21C014; Sat, 20 Feb 2016 20:21:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25F0B21C014 for ; Sat, 20 Feb 2016 20:21:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB94F340AF7 for ; Sat, 20 Feb 2016 20:21:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E47F8EA for ; Sat, 20 Feb 2016 20:21:42 +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: <1455999629.e546fea047be2fa5404ddf62258bb55148359f5a.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/go-crypto/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-go/go-crypto/Manifest dev-go/go-crypto/go-crypto-0_pre20160126.ebuild X-VCS-Directories: dev-go/go-crypto/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e546fea047be2fa5404ddf62258bb55148359f5a X-VCS-Branch: master Date: Sat, 20 Feb 2016 20:21:42 +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: ddddc491-1ac0-4eff-8184-c9dc95042f55 X-Archives-Hash: b2ea876555eb76658d55047489a3671f commit: e546fea047be2fa5404ddf62258bb55148359f5a Author: Zac Medico gentoo org> AuthorDate: Sat Feb 20 20:20:29 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Feb 20 20:20:29 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e546fea0 dev-go/go-crypto: version bump to 0_pre20160126 Package-Manager: portage-2.2.27 dev-go/go-crypto/Manifest | 1 + dev-go/go-crypto/go-crypto-0_pre20160126.ebuild | 48 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-go/go-crypto/Manifest b/dev-go/go-crypto/Manifest index 8aeae64..174c962 100644 --- a/dev-go/go-crypto/Manifest +++ b/dev-go/go-crypto/Manifest @@ -1 +1,2 @@ DIST go-crypto-0_pre20150808.tar.gz 876947 SHA256 9ff25a17515c6c7ff0d13fb076ba7a1df868ce30fca105277b3f0356ce801518 SHA512 86826102ff7242259d79a31e543a03192d6b68a06635b46ebac349111bb8451605df1ad9b249c08d75895c38fb4ebbbfc716d40c8c981485395164e87db5a519 WHIRLPOOL 5e1a0372d0a2f493e68c213ce866237cab316c1bf712f2c58a95c16c6864c48ea795e5a6e1346aad7459f666802170aeb0db8f781423fb1d8e252e5bced2e435 +DIST go-crypto-0_pre20160126.tar.gz 902001 SHA256 c1efa4d05d59ef64db60e872fd80afe4e0060cf4cd6924bb51940ef98b45e4ff SHA512 168129ab9581b7348fb3285e045d99a0a837ac7bd65bf9f5e7a220fffbb9e2abf76da5f521c66eea7179eba0ad8da68d6f41cd9624ea40a9da25a18838427846 WHIRLPOOL dbe3067085b5a08c4dd2e13385691aadeda35336c479140684fdb2b08de27ab9447b63cf404c14b9a69520c585a09051f21374c81101599671be091b24fc92d5 diff --git a/dev-go/go-crypto/go-crypto-0_pre20160126.ebuild b/dev-go/go-crypto/go-crypto-0_pre20160126.ebuild new file mode 100644 index 0000000..79bc5a2 --- /dev/null +++ b/dev-go/go-crypto/go-crypto-0_pre20160126.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +EGO_PN=golang.org/x/crypto/... +EGO_SRC=golang.org/x/crypto + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT="1f22c0103821b9390939b6776727195525381532" + SRC_URI="https://github.com/golang/crypto/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="Go supplementary cryptography libraries" +HOMEPAGE="https://godoc.org/golang.org/x/crypto" +LICENSE="BSD" +SLOT="0/${PVR}" +IUSE="" +DEPEND="" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestAgentForward(:_\0:' \ + -i src/${EGO_SRC}/ssh/test/agent_unix_test.go || die + sed -e 's:TestRunCommandSuccess(:_\0:' \ + -e 's:TestRunCommandStdin(:_\0:' \ + -e 's:TestRunCommandStdinError(:_\0:' \ + -e 's:TestRunCommandWeClosed(:_\0:' \ + -e 's:TestFuncLargeRead(:_\0:' \ + -e 's:TestKeyChange(:_\0:' \ + -e 's:TestValidTerminalMode(:_\0:' \ + -i src/${EGO_SRC}/ssh/test/session_test.go || die +} + +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 +}