1 |
commit: 80994fcc8e102731723ad95b5166c97b250b7135 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 18:12:53 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 18:13:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80994fcc |
7 |
|
8 |
dev-go/go-crypto: Remove old version 0_pre20160126 |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
dev-go/go-crypto/Manifest | 1 - |
14 |
dev-go/go-crypto/go-crypto-0_pre20160126.ebuild | 55 ------------------------- |
15 |
2 files changed, 56 deletions(-) |
16 |
|
17 |
diff --git a/dev-go/go-crypto/Manifest b/dev-go/go-crypto/Manifest |
18 |
index c6220f177ef..8f665122122 100644 |
19 |
--- a/dev-go/go-crypto/Manifest |
20 |
+++ b/dev-go/go-crypto/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST go-crypto-0_pre20160126.tar.gz 902001 BLAKE2B 54d38a9aea69e01485417cbf8a900135730dca4bc79c9d5d1187eadb11a8dfca9ef6e72056c4ed4ad4a34b172379d94e6beb82ece9031411b8aa12af85200fb2 SHA512 168129ab9581b7348fb3285e045d99a0a837ac7bd65bf9f5e7a220fffbb9e2abf76da5f521c66eea7179eba0ad8da68d6f41cd9624ea40a9da25a18838427846 |
23 |
DIST go-crypto-0_pre20180816.tar.gz 1637516 BLAKE2B 800787412e1e52f70bc3df5b1b638e86ed2c66de86522786d7e3d8959f18d02426270d1f577ebaa8077d7d98c84ca7a358bed951c862a44b9293de8edebb17b4 SHA512 d2b730ba75b49b96f35969802b7321cd2efc89dcd2e8c0b8eaca545cb18287b34ad1c9ecbd07c6b4ace8708575d4586fbe1139d032a7038cc7221ad010d08074 |
24 |
|
25 |
diff --git a/dev-go/go-crypto/go-crypto-0_pre20160126.ebuild b/dev-go/go-crypto/go-crypto-0_pre20160126.ebuild |
26 |
deleted file mode 100644 |
27 |
index 15990004032..00000000000 |
28 |
--- a/dev-go/go-crypto/go-crypto-0_pre20160126.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,55 +0,0 @@ |
31 |
-# Copyright 1999-2016 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
-EGO_PN=golang.org/x/crypto/... |
36 |
-EGO_SRC=golang.org/x/crypto |
37 |
- |
38 |
-if [[ ${PV} = *9999* ]]; then |
39 |
- inherit golang-vcs |
40 |
-else |
41 |
- KEYWORDS="~amd64 ~arm ~x86" |
42 |
- EGIT_COMMIT="1f22c0103821b9390939b6776727195525381532" |
43 |
- SRC_URI="https://github.com/golang/crypto/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
44 |
- inherit golang-vcs-snapshot |
45 |
-fi |
46 |
-inherit golang-build |
47 |
- |
48 |
-DESCRIPTION="Go supplementary cryptography libraries" |
49 |
-HOMEPAGE="https://godoc.org/golang.org/x/crypto" |
50 |
-LICENSE="BSD" |
51 |
-SLOT="0/${PVR}" |
52 |
-IUSE="" |
53 |
-DEPEND="" |
54 |
-RDEPEND="" |
55 |
- |
56 |
-src_prepare() { |
57 |
- # disable broken tests |
58 |
- sed -e 's:TestAgentForward(:_\0:' \ |
59 |
- -i src/${EGO_SRC}/ssh/test/agent_unix_test.go || die |
60 |
- sed -e 's:TestRunCommandSuccess(:_\0:' \ |
61 |
- -e 's:TestRunCommandStdin(:_\0:' \ |
62 |
- -e 's:TestRunCommandStdinError(:_\0:' \ |
63 |
- -e 's:TestRunCommandWeClosed(:_\0:' \ |
64 |
- -e 's:TestFuncLargeRead(:_\0:' \ |
65 |
- -e 's:TestKeyChange(:_\0:' \ |
66 |
- -e 's:TestValidTerminalMode(:_\0:' \ |
67 |
- -i src/${EGO_SRC}/ssh/test/session_test.go || die |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
72 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
73 |
- rm -rf "${T}/goroot/src/${EGO_SRC}" || die |
74 |
- rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || die |
75 |
- export GOROOT="${T}/goroot" |
76 |
- # Exclude $(get_golibdir_gopath) from GOPATH, for bug 577908 which may |
77 |
- # or may not manifest, depending on what libraries are installed. |
78 |
- export GOPATH="${WORKDIR}/${P}" |
79 |
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die |
80 |
-} |
81 |
- |
82 |
-src_test() { |
83 |
- # Exclude $(get_golibdir_gopath) from GOPATH |
84 |
- go test -v -work -x "${EGO_PN}" || die |
85 |
-} |