summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-08-10 18:14:38 -0500
committerWilliam Hubbs <williamh@gentoo.org>2015-08-10 18:29:07 -0500
commitefa5791b3b5860d7bc9f84b6498e452bec76ea46 (patch)
treebc78a00c49bda70471a7363f7cd21836223e774e /dev-go
parentsys-kernel/gentoo-sources: Linux patch 3.14.50. (diff)
downloadgentoo-efa5791b3b5860d7bc9f84b6498e452bec76ea46.tar.gz
gentoo-efa5791b3b5860d7bc9f84b6498e452bec76ea46.tar.bz2
gentoo-efa5791b3b5860d7bc9f84b6498e452bec76ea46.zip
dev-go/go-crypto: remove old snapshot
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-crypto/Manifest1
-rw-r--r--dev-go/go-crypto/go-crypto-0_pre20150608.ebuild61
2 files changed, 0 insertions, 62 deletions
diff --git a/dev-go/go-crypto/Manifest b/dev-go/go-crypto/Manifest
index 6f4f1c60b008..8aeae64ec6d6 100644
--- a/dev-go/go-crypto/Manifest
+++ b/dev-go/go-crypto/Manifest
@@ -1,2 +1 @@
-DIST go-crypto-0_pre20150608.tar.gz 874125 SHA256 2980e16b13dbe52fd2f5128e06c664fe5712a52efa185fa3578d8abc6a124406 SHA512 6ad4e8ecf8c19c5428bd560b90a97bd7db084038e5afaa197a3d76349639e41ac3992e8bafe701b9f32e30ed63a6d0d511fd98cbcc2039f338f4bc174ad03e0e WHIRLPOOL d18fed06e4f2d4bdbde42aeaf02ece2a5c8264f1b222aadfe1c49f16ba814ab15f4d1d9f6050fbdd83825d7dec273e4f14ac95dae2db08ed7472a57fbb55e7bc
DIST go-crypto-0_pre20150808.tar.gz 876947 SHA256 9ff25a17515c6c7ff0d13fb076ba7a1df868ce30fca105277b3f0356ce801518 SHA512 86826102ff7242259d79a31e543a03192d6b68a06635b46ebac349111bb8451605df1ad9b249c08d75895c38fb4ebbbfc716d40c8c981485395164e87db5a519 WHIRLPOOL 5e1a0372d0a2f493e68c213ce866237cab316c1bf712f2c58a95c16c6864c48ea795e5a6e1346aad7459f666802170aeb0db8f781423fb1d8e252e5bced2e435
diff --git a/dev-go/go-crypto/go-crypto-0_pre20150608.ebuild b/dev-go/go-crypto/go-crypto-0_pre20150608.ebuild
deleted file mode 100644
index 959bd7bde2bd..000000000000
--- a/dev-go/go-crypto/go-crypto-0_pre20150608.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KEYWORDS="~amd64"
-DESCRIPTION="Go supplementary cryptography libraries"
-MY_PN=${PN##*-}
-GO_PN=golang.org/x/${MY_PN}
-HOMEPAGE="https://godoc.org/${GO_PN}"
-EGIT_COMMIT="1e856cbfdf9bc25eefca75f83f25d55e35ae72e0"
-SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-DEPEND=">=dev-lang/go-1.4"
-RDEPEND=""
-S="${WORKDIR}/src/${GO_PN}"
-EGIT_CHECKOUT_DIR="${S}"
-STRIP_MASK="*.a"
-
-src_unpack() {
- default
- mkdir -p src/${GO_PN%/*} || die
- mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
-}
-
-src_prepare() {
- # disable broken tests
- sed -e 's:TestAgentForward(:_\0:' -i 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 ssh/test/session_test.go || die
-}
-
-src_compile() {
- # Create a writable GOROOT in order to avoid sandbox violations.
- GOROOT="${WORKDIR}/goroot"
- cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
- rm -rf "${GOROOT}/src/${GO_PN%/*}" \
- "${GOROOT}/pkg/linux_${ARCH}/${GO_PN%/*}" || die
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
-}
-
-src_test() {
- GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -x -v ${GO_PN}/... || die $?
-}
-
-src_install() {
- insinto /usr/lib/go
- find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null
- insopts -m0644 -p # preserve timestamps for bug 551486
- doins -r "${WORKDIR}"/{pkg,src}
-}