Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/go-crypto/, profiles/
Date: Sun, 31 May 2020 10:25:31
Message-Id: 1590920703.5b426ca4581a3e97056d7f200150f2a2dab8b6f8.mgorny@gentoo
1 commit: 5b426ca4581a3e97056d7f200150f2a2dab8b6f8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 31 10:24:23 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 31 10:25:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b426ca4
7
8 dev-go/go-crypto: Remove last-rited pkg
9
10 Bug: https://bugs.gentoo.org/710142
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-go/go-crypto/Manifest | 1 -
14 dev-go/go-crypto/go-crypto-0_pre20180816.ebuild | 45 ----------------------
15 dev-go/go-crypto/go-crypto-9999.ebuild | 50 -------------------------
16 dev-go/go-crypto/metadata.xml | 10 -----
17 profiles/package.mask | 5 ---
18 5 files changed, 111 deletions(-)
19
20 diff --git a/dev-go/go-crypto/Manifest b/dev-go/go-crypto/Manifest
21 deleted file mode 100644
22 index 8f665122122..00000000000
23 --- a/dev-go/go-crypto/Manifest
24 +++ /dev/null
25 @@ -1 +0,0 @@
26 -DIST go-crypto-0_pre20180816.tar.gz 1637516 BLAKE2B 800787412e1e52f70bc3df5b1b638e86ed2c66de86522786d7e3d8959f18d02426270d1f577ebaa8077d7d98c84ca7a358bed951c862a44b9293de8edebb17b4 SHA512 d2b730ba75b49b96f35969802b7321cd2efc89dcd2e8c0b8eaca545cb18287b34ad1c9ecbd07c6b4ace8708575d4586fbe1139d032a7038cc7221ad010d08074
27
28 diff --git a/dev-go/go-crypto/go-crypto-0_pre20180816.ebuild b/dev-go/go-crypto/go-crypto-0_pre20180816.ebuild
29 deleted file mode 100644
30 index 180bb7b462a..00000000000
31 --- a/dev-go/go-crypto/go-crypto-0_pre20180816.ebuild
32 +++ /dev/null
33 @@ -1,45 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -EGO_PN=golang.org/x/crypto/...
39 -EGO_SRC=golang.org/x/crypto
40 -
41 -if [[ ${PV} = *9999* ]]; then
42 - inherit golang-vcs
43 -else
44 - KEYWORDS="~amd64 ~arm ~x86"
45 - EGIT_COMMIT="aabede6cba87e37f413b3e60ebfc214f8eeca1b0"
46 - SRC_URI="https://github.com/golang/crypto/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
47 - inherit golang-vcs-snapshot
48 -fi
49 -inherit golang-build
50 -
51 -DESCRIPTION="Go supplementary cryptography libraries"
52 -HOMEPAGE="https://godoc.org/golang.org/x/crypto"
53 -LICENSE="BSD"
54 -SLOT="0/${PVR}"
55 -IUSE=""
56 -DEPEND=">=dev-go/go-sys-0_pre20180816:="
57 -RDEPEND=""
58 -
59 -src_prepare() {
60 - default
61 - sed -e 's:TestLockOpenSSHAgent(:_\0:' \
62 - -i src/${EGO_SRC}/ssh/agent/client_test.go || die
63 -}
64 -
65 -src_compile() {
66 - # Exclude $(get_golibdir_gopath) from GOPATH, for bug 577908 which may
67 - # or may not manifest, depending on what libraries are installed.
68 - mkdir -p "${T}/golibdir/src/golang.org/x" || die
69 - ln -s "$(get_golibdir_gopath)/src/golang.org/x/sys" "${T}/golibdir/src/golang.org/x/sys" || die
70 - GOPATH="${S}:${T}/golibdir" \
71 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
72 -}
73 -
74 -src_test() {
75 - # Exclude $(get_golibdir_gopath) from GOPATH
76 - GOPATH="${S}:${T}/golibdir" \
77 - go test -v -work -x "${EGO_PN}" || die
78 -}
79
80 diff --git a/dev-go/go-crypto/go-crypto-9999.ebuild b/dev-go/go-crypto/go-crypto-9999.ebuild
81 deleted file mode 100644
82 index 6a2b21ad3cb..00000000000
83 --- a/dev-go/go-crypto/go-crypto-9999.ebuild
84 +++ /dev/null
85 @@ -1,50 +0,0 @@
86 -# Copyright 1999-2018 Gentoo Foundation
87 -# Distributed under the terms of the GNU General Public License v2
88 -
89 -EAPI=6
90 -EGO_SRC=golang.org/x/crypto
91 -EGO_PN=${EGO_SRC}/...
92 -
93 -if [[ ${PV} = *9999* ]]; then
94 - inherit golang-vcs
95 -else
96 - KEYWORDS="~amd64 ~arm ~x86"
97 - EGIT_COMMIT="aabede6cba87e37f413b3e60ebfc214f8eeca1b0"
98 - SRC_URI="https://github.com/golang/crypto/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
99 - inherit golang-vcs-snapshot
100 -fi
101 -inherit golang-build
102 -
103 -DESCRIPTION="Go supplementary cryptography libraries"
104 -HOMEPAGE="https://godoc.org/golang.org/x/crypto"
105 -LICENSE="BSD"
106 -SLOT="0/${PVR}"
107 -IUSE=""
108 -DEPEND=">=dev-go/go-sys-0_pre20180816:="
109 -RDEPEND=""
110 -
111 -src_prepare() {
112 - default
113 - sed -e 's:TestLockOpenSSHAgent(:_\0:' \
114 - -i src/${EGO_SRC}/ssh/agent/client_test.go || die
115 -}
116 -
117 -src_compile() {
118 - # Exclude $(get_golibdir_gopath) from GOPATH, for bug 577908 which may
119 - # or may not manifest, depending on what libraries are installed.
120 - mkdir -p "${T}/golibdir/src/golang.org/x" || die
121 - ln -s "$(get_golibdir_gopath)/src/golang.org/x/sys" "${T}/golibdir/src/golang.org/x/sys" || die
122 - GOPATH="${S}:${T}/golibdir" GOBIN="$(go env GOROOT)/bin" \
123 - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
124 -}
125 -
126 -src_test() {
127 - # Exclude $(get_golibdir_gopath) from GOPATH
128 - GOPATH="${S}:${T}/golibdir" GOBIN="$(go env GOROOT)/bin" \
129 - go test -v -work -x "${EGO_PN}" || die
130 -}
131 -
132 -src_install() {
133 - rm -rf "${S}/src/${EGO_SRC}/.git"* || die
134 - golang_install_pkgs
135 -}
136
137 diff --git a/dev-go/go-crypto/metadata.xml b/dev-go/go-crypto/metadata.xml
138 deleted file mode 100644
139 index 64985dedae2..00000000000
140 --- a/dev-go/go-crypto/metadata.xml
141 +++ /dev/null
142 @@ -1,10 +0,0 @@
143 -<?xml version="1.0" encoding="UTF-8"?>
144 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
145 -<pkgmetadata>
146 - <maintainer type="person">
147 - <email>zmedico@g.o</email>
148 - </maintainer>
149 - <upstream>
150 - <remote-id type="github">golang/crypto</remote-id>
151 - </upstream>
152 -</pkgmetadata>
153
154 diff --git a/profiles/package.mask b/profiles/package.mask
155 index 0437ee953a8..7bcb08ca9f4 100644
156 --- a/profiles/package.mask
157 +++ b/profiles/package.mask
158 @@ -262,11 +262,6 @@ dev-python/flower
159 # Removal in 30 days. Bug #718738.
160 www-client/seamonkey-bin
161
162 -# Zac Medico <zmedico@g.o> (2020-04-26)
163 -# Mask obsolete and vulnerable dev-go/go-crypto, along with obsolete
164 -# reverse dependencies. Removal in 30 days. Bug #710142.
165 -dev-go/go-crypto
166 -
167 # Michał Górny <mgorny@g.o> (2020-04-26)
168 # Unmaintained. Stuck on Python 3.6. No revdeps.
169 # Removal in 30 days. Bug #719604.