1 |
commit: e74ce802c8086d9aac8af5fd620caec511189cd2 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 20 00:28:36 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 20 00:29:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74ce802 |
7 |
|
8 |
dev-go/go-tools: remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.47, Repoman-2.3.10 |
11 |
|
12 |
dev-go/go-tools/Manifest | 3 - |
13 |
dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild | 99 --------------------- |
14 |
dev-go/go-tools/go-tools-0_pre20150902.ebuild | 98 --------------------- |
15 |
dev-go/go-tools/go-tools-0_pre20160121.ebuild | 105 ----------------------- |
16 |
4 files changed, 305 deletions(-) |
17 |
|
18 |
diff --git a/dev-go/go-tools/Manifest b/dev-go/go-tools/Manifest |
19 |
index f9fbac28648..3c8b3725c64 100644 |
20 |
--- a/dev-go/go-tools/Manifest |
21 |
+++ b/dev-go/go-tools/Manifest |
22 |
@@ -1,7 +1,4 @@ |
23 |
DIST github.com-golang-net-aaf60122140d3fcf75376d319f0554393160eb50.tar.gz 965206 BLAKE2B 018ab877bfa7208bb0ca9b4ede85077ed37c8ee3c7065569646e6c9704715d6810b0286276ea0fa9a271f12ffbe964b41f55ec762711c8a43ccea564607f3265 SHA512 d56f5608e64e8d883a782f0c460f08da20e7d01a97330fad35c8757420ac82fb84b657c3f64e3c4d90a08cc4d8905ab37225d6fab8472e8f1fd3d7be212df8b9 |
24 |
DIST go-favicon.ico 1150 BLAKE2B 7cef9e0c7031531ceaddc56b9e7cb8c09cf3ebf08bbdd53876edcf48d412c55968268190b1fe1814e21efc5669618a5e07d30d7bdbb73b4cbeca9a31b3185fc5 SHA512 194c4b3c360321a10f714b6755d9155de6129682b4070d19b52d0d5706fcbd1d244ea38c33fd77fe1dec85b3e39720dd0a62f5b126803036fbc8337a9d72fea6 |
25 |
-DIST go-tools-0_pre20150823.tar.gz 1633447 BLAKE2B 00866c14139099821fc883ab3908b47481a3ea5af323977fdd84622f43e8998a6fcf6c0a4cbf0c6bb98494d1f4b1fdd0d281447b67a0766af1e5b4f68cf24e27 SHA512 6d906bae8433182e7a105a46b92c4f64ac145196ccc72f8934376fc49e5d554182931745e92229c4571323a6eba9ce2f680b5add3844ecb593a194cbbc1b0b63 |
26 |
-DIST go-tools-0_pre20150902.tar.gz 1630401 BLAKE2B 5f23e4d05c614584bfd2ac77d15ad4b464f083b489b1a687a823d014d848ce38ac5006a379eb46f37e7aba0419b7f1b4d48c053aae89c6ac912366e5ddc487c3 SHA512 437d5178ce5bf6c4d39ad638259e7c18150d2574dffb632003fa0b83a61a9103e666e562aecc6e8412d995e4b5ffacda6bc12b1cfbbea0b22a5ff680a0a7e3e1 |
27 |
-DIST go-tools-0_pre20160121.tar.gz 1768660 BLAKE2B ebc7622967dbb82c6578591c108bba8c96cb7df56360d445b02de1da905ac64b4901057acd36e3d2ab5ec51e5e2ff206efae6a9f9523180e53434adcdad278e3 SHA512 ca4b213a6f398f9bb61a81784fb6dcb4a82994e2d7a95134fc5203ce0f65848d192b2d7c8975a59199db873942c23562866a5607347e060ac0af370d72e067e2 |
28 |
DIST go-tools-0_pre20160220.tar.gz 1827046 BLAKE2B 26b4080540958764c42fffc1cb6a1597705c0a7ea85357b5169f9a0bf6939d7c5475681f6fede8b46a88ef58c72afa9eaa9da3fb66a3bbbb19942d0a1887bbeb SHA512 95c9deb9b01b2f294818fcc847e457ab313d5831a839bf9cfeb1a00a0efd833de3fdfd3ecfe7ecfa2dd236ffcf963e73205d7b5b25fa41ab51c7601dc632bce1 |
29 |
DIST go-tools-0_pre20180817.tar.gz 2321169 BLAKE2B d1ba93b36b62bfbf53770cab6c96019d1a96db0ff6521f591577d866f74a1f65ec24e41a06f81d0040be7122f2e0da734e68d0a72591040265b5f95b324645fe SHA512 1af6c4a58f4d1985dc55e4342d9a4f26ada646ffe87fafdb5bdf876ad972a9f826da257ff9a10956c24dbc90ed9d6935bb78b4f7d30f9e50493c60f7ce92edb1 |
30 |
|
31 |
diff --git a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild b/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild |
32 |
deleted file mode 100644 |
33 |
index 3fcfd947ef6..00000000000 |
34 |
--- a/dev-go/go-tools/go-tools-0_pre20150823-r1.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,99 +0,0 @@ |
37 |
-# Copyright 1999-2015 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=5 |
41 |
-EGO_PN="golang.org/x/tools/..." |
42 |
-EGO_SRC="golang.org/x/tools" |
43 |
- |
44 |
-if [[ ${PV} = *9999* ]]; then |
45 |
- inherit golang-vcs |
46 |
-else |
47 |
- EGIT_COMMIT="6c9aff3" |
48 |
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
49 |
- KEYWORDS="~amd64" |
50 |
- inherit golang-vcs-snapshot |
51 |
-fi |
52 |
-inherit golang-build |
53 |
- |
54 |
-DESCRIPTION="Go Tools" |
55 |
-HOMEPAGE="https://godoc.org/golang.org/x/tools" |
56 |
-SRC_URI="${ARCHIVE_URI} |
57 |
- http://golang.org/favicon.ico -> go-favicon.ico" |
58 |
-LICENSE="BSD" |
59 |
-SLOT="0/${PVR}" |
60 |
-IUSE="" |
61 |
-DEPEND="dev-go/go-net:=" |
62 |
-RDEPEND="" |
63 |
- |
64 |
-src_prepare() { |
65 |
- # disable broken tests |
66 |
- sed -e 's:TestWeb(:_\0:' \ |
67 |
- -i src/${EGO_SRC}/cmd/godoc/godoc_test.go || die |
68 |
- sed -e 's:TestVet(:_\0:' \ |
69 |
- -i src/${EGO_SRC}/cmd/vet/vet_test.go || die |
70 |
- sed -e 's:TestImport(:_\0:' \ |
71 |
- -i src/${EGO_SRC}/go/gcimporter/gcimporter_test.go || die |
72 |
- sed -e 's:TestImportStdLib(:_\0:' \ |
73 |
- -i src/${EGO_SRC}/go/importer/import_test.go || die |
74 |
- sed -e 's:TestStdlib(:_\0:' \ |
75 |
- -i src/${EGO_SRC}/go/loader/stdlib_test.go || die |
76 |
- sed -e 's:TestStdlib(:_\0:' \ |
77 |
- -i src/${EGO_SRC}/go/ssa/stdlib_test.go || die |
78 |
- sed -e 's:TestGorootTest(:_\0:' \ |
79 |
- -e 's:TestFoo(:_\0:' \ |
80 |
- -e 's:TestTestmainPackage(:_\0:' \ |
81 |
- -i src/${EGO_SRC}/go/ssa/interp/interp_test.go || die |
82 |
- sed -e 's:TestBar(:_\0:' \ |
83 |
- -e 's:TestFoo(:_\0:' \ |
84 |
- -i src/${EGO_SRC}/go/ssa/interp/testdata/a_test.go || die |
85 |
- sed -e 's:TestCheck(:_\0:' \ |
86 |
- -i src/${EGO_SRC}/go/types/check_test.go || die |
87 |
- sed -e 's:TestStdlib(:_\0:' \ |
88 |
- -e 's:TestStdFixed(:_\0:' \ |
89 |
- -e 's:TestStdKen(:_\0:' \ |
90 |
- -i src/${EGO_SRC}/go/types/stdlib_test.go || die |
91 |
- sed -e 's:TestRepoRootForImportPath(:_\0:' \ |
92 |
- -i src/${EGO_SRC}/go/vcs/vcs_test.go || die |
93 |
- sed -e 's:TestStdlib(:_\0:' \ |
94 |
- -i src/${EGO_SRC}/refactor/lexical/lexical_test.go || die |
95 |
- |
96 |
- # Add favicon to the godoc web interface (bug 551030) |
97 |
- cp "${DISTDIR}"/go-favicon.ico "src/${EGO_SRC}/godoc/static/favicon.ico" || |
98 |
- die |
99 |
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \ |
100 |
- -i src/${EGO_SRC}/godoc/static/makestatic.go || die |
101 |
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \ |
102 |
- -i src/${EGO_SRC}/godoc/static/godoc.html || die |
103 |
-} |
104 |
- |
105 |
-src_compile() { |
106 |
- # Generate static.go with favicon included |
107 |
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die |
108 |
- go run makestatic.go || die |
109 |
- popd >/dev/null |
110 |
- |
111 |
- golang-build_src_compile |
112 |
-} |
113 |
- |
114 |
-src_install() { |
115 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
116 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
117 |
- |
118 |
- GOROOT="${T}/goroot" golang-build_src_install |
119 |
- |
120 |
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions |
121 |
- exeinto "$(go env GOROOT)/bin" |
122 |
- doexe bin/* "${T}/goroot/bin/godoc" |
123 |
- dodir /usr/bin |
124 |
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die |
125 |
- |
126 |
- if has_version '<dev-lang/go-1.5'; then |
127 |
- exeinto "$(go env GOTOOLDIR)" |
128 |
- exeopts -m0755 -p # preserve timestamps for bug 551486 |
129 |
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/cover" |
130 |
- doexe "${T}/goroot/pkg/tool/$(go env GOOS)_$(go env GOARCH)/vet" |
131 |
- else |
132 |
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} || |
133 |
- die "unable to remove cover and vet" |
134 |
- fi |
135 |
-} |
136 |
|
137 |
diff --git a/dev-go/go-tools/go-tools-0_pre20150902.ebuild b/dev-go/go-tools/go-tools-0_pre20150902.ebuild |
138 |
deleted file mode 100644 |
139 |
index 552b4705291..00000000000 |
140 |
--- a/dev-go/go-tools/go-tools-0_pre20150902.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,98 +0,0 @@ |
143 |
-# Copyright 1999-2015 Gentoo Foundation |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
- |
146 |
-EAPI=5 |
147 |
-EGO_PN="golang.org/x/tools/..." |
148 |
- |
149 |
-if [[ ${PV} = *9999* ]]; then |
150 |
- inherit golang-vcs |
151 |
-else |
152 |
- EGIT_COMMIT="1330b28" |
153 |
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
154 |
- KEYWORDS="~amd64" |
155 |
- inherit golang-vcs-snapshot |
156 |
-fi |
157 |
-inherit golang-build |
158 |
- |
159 |
-DESCRIPTION="Go Tools" |
160 |
-HOMEPAGE="https://godoc.org/golang.org/x/tools" |
161 |
-SRC_URI="${ARCHIVE_URI} |
162 |
- http://golang.org/favicon.ico -> go-favicon.ico" |
163 |
-LICENSE="BSD" |
164 |
-SLOT="0/${PVR}" |
165 |
-IUSE="" |
166 |
-DEPEND="dev-go/go-net:= |
167 |
- >=dev-lang/go-1.5" |
168 |
-RDEPEND="!<dev-lang/go-1.5" |
169 |
- |
170 |
-src_prepare() { |
171 |
- local go_src="${EGO_PN%/...}" |
172 |
- # disable broken tests |
173 |
- sed -e 's:TestWeb(:_\0:' \ |
174 |
- -i src/${go_src}/cmd/godoc/godoc_test.go || die |
175 |
- sed -e 's:TestVet(:_\0:' \ |
176 |
- -i src/${go_src}/cmd/vet/vet_test.go || die |
177 |
- sed -e 's:TestImport(:_\0:' \ |
178 |
- -i src/${go_src}/go/gcimporter/gcimporter_test.go || die |
179 |
- sed -e 's:TestImportStdLib(:_\0:' \ |
180 |
- -i src/${go_src}/go/importer/import_test.go || die |
181 |
- sed -e 's:TestStdlib(:_\0:' \ |
182 |
- -i src/${go_src}/go/loader/stdlib_test.go || die |
183 |
- sed -e 's:TestStdlib(:_\0:' \ |
184 |
- -i src/${go_src}/go/ssa/stdlib_test.go || die |
185 |
- sed -e 's:TestGorootTest(:_\0:' \ |
186 |
- -e 's:TestFoo(:_\0:' \ |
187 |
- -e 's:TestTestmainPackage(:_\0:' \ |
188 |
- -i src/${go_src}/go/ssa/interp/interp_test.go || die |
189 |
- sed -e 's:TestBar(:_\0:' \ |
190 |
- -e 's:TestFoo(:_\0:' \ |
191 |
- -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die |
192 |
- sed -e 's:TestCheck(:_\0:' \ |
193 |
- -i src/${go_src}/go/types/check_test.go || die |
194 |
- sed -e 's:TestStdlib(:_\0:' \ |
195 |
- -e 's:TestStdFixed(:_\0:' \ |
196 |
- -e 's:TestStdKen(:_\0:' \ |
197 |
- -i src/${go_src}/go/types/stdlib_test.go || die |
198 |
- sed -e 's:TestRepoRootForImportPath(:_\0:' \ |
199 |
- -i src/${go_src}/go/vcs/vcs_test.go || die |
200 |
- |
201 |
- # Add favicon to the godoc web interface (bug 551030) |
202 |
- cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" || |
203 |
- die |
204 |
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \ |
205 |
- -i src/${go_src}/godoc/static/makestatic.go || die |
206 |
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \ |
207 |
- -i src/${go_src}/godoc/static/godoc.html || die |
208 |
-} |
209 |
- |
210 |
-src_compile() { |
211 |
- # Generate static.go with favicon included |
212 |
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die |
213 |
- go run makestatic.go || die |
214 |
- popd >/dev/null |
215 |
- |
216 |
- golang-build_src_compile |
217 |
-} |
218 |
- |
219 |
-src_test() { |
220 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
221 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
222 |
- mkdir -p "${T}/goroot/test" || die |
223 |
- GOROOT="${T}/goroot" golang-build_src_test |
224 |
- rm -rf "${T}/goroot" |
225 |
-} |
226 |
- |
227 |
-src_install() { |
228 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
229 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
230 |
- |
231 |
- GOROOT="${T}/goroot" golang-build_src_install |
232 |
- |
233 |
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions |
234 |
- exeinto "$(go env GOROOT)/bin" |
235 |
- doexe bin/* "${T}/goroot/bin/godoc" |
236 |
- dodir /usr/bin |
237 |
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die |
238 |
- |
239 |
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die |
240 |
-} |
241 |
|
242 |
diff --git a/dev-go/go-tools/go-tools-0_pre20160121.ebuild b/dev-go/go-tools/go-tools-0_pre20160121.ebuild |
243 |
deleted file mode 100644 |
244 |
index 2ab6225e7db..00000000000 |
245 |
--- a/dev-go/go-tools/go-tools-0_pre20160121.ebuild |
246 |
+++ /dev/null |
247 |
@@ -1,105 +0,0 @@ |
248 |
-# Copyright 1999-2016 Gentoo Foundation |
249 |
-# Distributed under the terms of the GNU General Public License v2 |
250 |
- |
251 |
-EAPI=5 |
252 |
-EGO_PN="golang.org/x/tools/..." |
253 |
- |
254 |
-if [[ ${PV} = *9999* ]]; then |
255 |
- inherit golang-vcs |
256 |
-else |
257 |
- EGIT_COMMIT="f3a63969dd29f8cfa913fdaea22f30c1ed537cb3" |
258 |
- ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
259 |
- KEYWORDS="~amd64" |
260 |
- inherit golang-vcs-snapshot |
261 |
-fi |
262 |
-inherit golang-build |
263 |
- |
264 |
-DESCRIPTION="Go Tools" |
265 |
-HOMEPAGE="https://godoc.org/golang.org/x/tools" |
266 |
-SRC_URI="${ARCHIVE_URI} |
267 |
- http://golang.org/favicon.ico -> go-favicon.ico" |
268 |
-LICENSE="BSD" |
269 |
-SLOT="0/${PVR}" |
270 |
-IUSE="" |
271 |
-DEPEND="dev-go/go-net:= |
272 |
- >=dev-lang/go-1.5" |
273 |
-RDEPEND="!<dev-lang/go-1.5" |
274 |
- |
275 |
-src_prepare() { |
276 |
- local go_src="${EGO_PN%/...}" |
277 |
- # disable broken tests |
278 |
- sed -e 's:TestWeb(:_\0:' \ |
279 |
- -e 's:TestWebIndex(:_\0:' \ |
280 |
- -i src/${go_src}/cmd/godoc/godoc_test.go || die |
281 |
- sed -e 's:TestVet(:_\0:' \ |
282 |
- -e 's:TestDivergentPackagesExamples(:_\0:' \ |
283 |
- -e 's:TestIncompleteExamples(:_\0:' \ |
284 |
- -i src/${go_src}/cmd/vet/vet_test.go || die |
285 |
- sed -e 's:TestImport(:_\0:' \ |
286 |
- -i src/${go_src}/go/gcimporter/gcimporter_test.go || die |
287 |
- sed -e 's:TestImportStdLib(:_\0:' \ |
288 |
- -i src/${go_src}/go/gcimporter15/gcimporter_test.go || die |
289 |
- sed -e 's:TestImportStdLib(:_\0:' \ |
290 |
- -i src/${go_src}/go/importer/import_test.go || die |
291 |
- sed -e 's:TestStdlib(:_\0:' \ |
292 |
- -i src/${go_src}/go/loader/stdlib_test.go || die |
293 |
- sed -e 's:TestStdlib(:_\0:' \ |
294 |
- -i src/${go_src}/go/ssa/stdlib_test.go || die |
295 |
- sed -e 's:TestGorootTest(:_\0:' \ |
296 |
- -e 's:TestFoo(:_\0:' \ |
297 |
- -e 's:TestTestmainPackage(:_\0:' \ |
298 |
- -i src/${go_src}/go/ssa/interp/interp_test.go || die |
299 |
- sed -e 's:TestBar(:_\0:' \ |
300 |
- -e 's:TestFoo(:_\0:' \ |
301 |
- -i src/${go_src}/go/ssa/interp/testdata/a_test.go || die |
302 |
- sed -e 's:TestCheck(:_\0:' \ |
303 |
- -i src/${go_src}/go/types/check_test.go || die |
304 |
- sed -e 's:TestStdlib(:_\0:' \ |
305 |
- -e 's:TestStdFixed(:_\0:' \ |
306 |
- -e 's:TestStdKen(:_\0:' \ |
307 |
- -i src/${go_src}/go/types/stdlib_test.go || die |
308 |
- sed -e 's:TestRepoRootForImportPath(:_\0:' \ |
309 |
- -i src/${go_src}/go/vcs/vcs_test.go || die |
310 |
- |
311 |
- # Add favicon to the godoc web interface (bug 551030) |
312 |
- cp "${DISTDIR}"/go-favicon.ico "src/${go_src}/godoc/static/favicon.ico" || |
313 |
- die |
314 |
- sed -e 's:"example.html",:\0\n\t"favicon.ico",:' \ |
315 |
- -i src/${go_src}/godoc/static/makestatic.go || die |
316 |
- sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' \ |
317 |
- -i src/${go_src}/godoc/static/godoc.html || die |
318 |
-} |
319 |
- |
320 |
-src_compile() { |
321 |
- # Generate static.go with favicon included |
322 |
- pushd src/golang.org/x/tools/godoc/static >/dev/null || die |
323 |
- go run makestatic.go || die |
324 |
- popd >/dev/null |
325 |
- |
326 |
- golang-build_src_compile |
327 |
-} |
328 |
- |
329 |
-src_test() { |
330 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
331 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
332 |
- mkdir -p "${T}/goroot/test" || die |
333 |
- GOROOT="${T}/goroot" golang-build_src_test |
334 |
- rm -rf "${T}/goroot" |
335 |
-} |
336 |
- |
337 |
-src_install() { |
338 |
- # Create a writable GOROOT in order to avoid sandbox violations. |
339 |
- cp -sR "$(go env GOROOT)" "${T}/goroot" || die |
340 |
- cp -sR "$(get_golibdir_gopath)" "${T}/gopath" || die |
341 |
- |
342 |
- GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:${T}/gopath" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die |
343 |
- golang_install_pkgs |
344 |
- |
345 |
- # bug 558818: install binaries in $GOROOT/bin to avoid file collisions |
346 |
- exeinto "$(go env GOROOT)/bin" |
347 |
- doexe bin/* "${T}/goroot/bin/godoc" |
348 |
- dodir /usr/bin |
349 |
- ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die |
350 |
- |
351 |
- rm "${D}"$(go env GOROOT)/bin/{cover,vet} || die |
352 |
-} |