1 |
commit: 4369b8cb64751a5ce205276e944f8e663f23b14b |
2 |
Author: William Hubbs <william.hubbs <AT> sony <DOT> com> |
3 |
AuthorDate: Mon Mar 9 15:42:15 2020 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 9 15:47:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4369b8cb |
7 |
|
8 |
dev-lang/go: remove unstable 1.13.x versions |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
dev-lang/go/Manifest | 2 - |
13 |
dev-lang/go/go-1.13.6.ebuild | 197 ------------------------------------------- |
14 |
dev-lang/go/go-1.13.7.ebuild | 197 ------------------------------------------- |
15 |
3 files changed, 396 deletions(-) |
16 |
|
17 |
diff --git a/dev-lang/go/Manifest b/dev-lang/go/Manifest |
18 |
index 0c734f62b86..a2d85794942 100644 |
19 |
--- a/dev-lang/go/Manifest |
20 |
+++ b/dev-lang/go/Manifest |
21 |
@@ -12,7 +12,5 @@ DIST go-solaris-amd64-bootstrap-1.8.tbz 54926326 BLAKE2B 0a45312f090d81ebf46fe59 |
22 |
DIST go1.12.13.src.tar.gz 21980338 BLAKE2B 205bee35a947ccd08f36547530e3de7928f5f3970be89580ddff80f7710dd1dcf4f292c10ec93c27717ce25ce2575f7151129430b80d1fb927872f891166d8db SHA512 a8210ba909c1bb26799625bbf648204dbef5a9f91af323277f76caee489f5912a08e9de686b71fe97d30c7dc171d5f4bcf8a2c2227d02353cfbb7d292c9efc22 |
23 |
DIST go1.12.15.src.tar.gz 20726294 BLAKE2B d123fc2328bf9db8f7337108e3d6857c31e10829096d47fb58519861b68bc0e2bdc9f032fc076666124ab418d3f37026107d6a853021fecbf26138bf00963572 SHA512 887e331c73b9d174e4a707a85be389fa0de43c77bc191ef5e0fe326ac7285374404450ca081cb8e92514a973d25d0314ca74eb17c8e53f8386e1798edd9d41aa |
24 |
DIST go1.12.17.src.tar.gz 20725913 BLAKE2B 2eef7374195302656268a42409619445dfeb3ede1f9218ae4eab195916876b97f7510cc62585a0bfdd9f86dddf8a74000032a84b29bc9891d84fc69db94f0274 SHA512 069f8f445d9d2268ebb14b2446fab34843d56283c04561636d122fd8b4c1ea0b63640a84437db7a7be71039440ffe170cd3f8025b03b0acf95f2a56fa2febec6 |
25 |
-DIST go1.13.6.src.tar.gz 21631050 BLAKE2B 8923021d5ff785f5422ee204ee81c986fc066a878a347bc73625974f05045689f694f76147c9bf7956dc59d6e3d3a543f0970e0716df8cd4f6556c28fe23808b SHA512 dffb6e06eea0b1541901dfbed8d28e8cc1eac3184dc40a19ed3637737df796a67a2e7170b228e1003d36b14e6f0f13bb8be9d2a702834a9c06228d1821659528 |
26 |
-DIST go1.13.7.src.tar.gz 21631267 BLAKE2B 9c3096e7c7658e03be52b76298dd409de292929d95448cb8945fe6f263fda774d9d13e124bb978c91b51a3770c0ca81302098b0e915015cfcac5f26256987796 SHA512 f87dd04befbe32c7ff1eb617a756fcc7d85e4236d4b063bbf6091d8911ef147c070808f7f7db536e7a3b3990f61f6fb4666e665217b0807e7e0703e00c5491fa |
27 |
DIST go1.13.8.src.tar.gz 21631178 BLAKE2B 1752a4ecc4fd9409ebbb129f6b6edaacb7d9e140e3b0a8cbbb9b16b64b481a375b4fbe2a4814e2a272be4fdb5929e5d40f40778a07d6ff0b814230b2d4ed9697 SHA512 5df45c4701631e7a70f4f25b07ed00dc9a56bdebeb5ead2d04e0e6b000e8a9f00d193247e626ef5b1e6b7fc54bf27fbc5e8fb21b23ab52ec397f2238c5dfa000 |
28 |
DIST go1.14.src.tar.gz 22377333 BLAKE2B 94ba8bac1cffd4ee71051a3ac4a1366f0fcbd0ccf71dad2152e77851593e2a3e8807c0d1f5b6dc396c217b9e7e9c3eeb788760c671b439ee244f8f856406598f SHA512 b04f2a90b9693f2c7a0b5c7048f186318937f3dd3831162c4130d88e2b185a5047db15e284041c70f1f42da512f42e5e85c13256018982cf2739244a31874328 |
29 |
|
30 |
diff --git a/dev-lang/go/go-1.13.6.ebuild b/dev-lang/go/go-1.13.6.ebuild |
31 |
deleted file mode 100644 |
32 |
index f7c4c78376b..00000000000 |
33 |
--- a/dev-lang/go/go-1.13.6.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,197 +0,0 @@ |
36 |
-# Copyright 1999-2020 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-export CBUILD=${CBUILD:-${CHOST}} |
42 |
-export CTARGET=${CTARGET:-${CHOST}} |
43 |
- |
44 |
-MY_PV=${PV/_/} |
45 |
- |
46 |
-inherit toolchain-funcs |
47 |
- |
48 |
-case ${PV} in |
49 |
-*9999*) |
50 |
- EGIT_REPO_URI="https://github.com/golang/go.git" |
51 |
- inherit git-r3 |
52 |
- ;; |
53 |
-*) |
54 |
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " |
55 |
- S="${WORKDIR}"/go |
56 |
- case ${PV} in |
57 |
- *_beta*|*_rc*) ;; |
58 |
- *) |
59 |
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
60 |
- # The upstream tests fail under portage but pass if the build is |
61 |
- # run according to their documentation [1]. |
62 |
- # I am restricting the tests on released versions until this is |
63 |
- # solved. |
64 |
- # [1] https://golang.org/issues/18442 |
65 |
- RESTRICT="test" |
66 |
- ;; |
67 |
- esac |
68 |
-esac |
69 |
- |
70 |
-DESCRIPTION="A concurrent garbage collected and typesafe programming language" |
71 |
-HOMEPAGE="https://golang.org" |
72 |
- |
73 |
-LICENSE="BSD" |
74 |
-SLOT="0/${PV}" |
75 |
- |
76 |
-BDEPEND="|| ( |
77 |
- dev-lang/go |
78 |
- dev-lang/go-bootstrap )" |
79 |
-RDEPEND="!<dev-go/go-tools-0_pre20150902" |
80 |
- |
81 |
-# These test data objects have writable/executable stacks. |
82 |
-QA_EXECSTACK=" |
83 |
- usr/lib/go/src/debug/elf/testdata/*.obj |
84 |
- usr/lib/go/src/*.gox |
85 |
- " |
86 |
- |
87 |
-# Do not complain about CFLAGS, etc, since Go doesn't use them. |
88 |
-QA_FLAGS_IGNORED='.*' |
89 |
- |
90 |
-REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*" |
91 |
- |
92 |
-# The tools in /usr/lib/go should not cause the multilib-strict check to fail. |
93 |
-QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" |
94 |
- |
95 |
-# Do not strip this package. Stripping is unsupported upstream and may |
96 |
-# fail. |
97 |
-RESTRICT+=" strip" |
98 |
- |
99 |
-DOCS=( |
100 |
-AUTHORS |
101 |
-CONTRIBUTING.md |
102 |
-CONTRIBUTORS |
103 |
-PATENTS |
104 |
-README.md |
105 |
-) |
106 |
- |
107 |
-go_arch() |
108 |
-{ |
109 |
- # By chance most portage arch names match Go |
110 |
- local portage_arch=$(tc-arch $@) |
111 |
- case "${portage_arch}" in |
112 |
- x86) echo 386;; |
113 |
- x64-*) echo amd64;; |
114 |
- ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; |
115 |
- s390) echo s390x ;; |
116 |
- *) echo "${portage_arch}";; |
117 |
- esac |
118 |
-} |
119 |
- |
120 |
-go_arm() |
121 |
-{ |
122 |
- case "${1:-${CHOST}}" in |
123 |
- armv5*) echo 5;; |
124 |
- armv6*) echo 6;; |
125 |
- armv7*) echo 7;; |
126 |
- *) |
127 |
- die "unknown GOARM for ${1:-${CHOST}}" |
128 |
- ;; |
129 |
- esac |
130 |
-} |
131 |
- |
132 |
-go_os() |
133 |
-{ |
134 |
- case "${1:-${CHOST}}" in |
135 |
- *-linux*) echo linux;; |
136 |
- *-darwin*) echo darwin;; |
137 |
- *-freebsd*) echo freebsd;; |
138 |
- *-netbsd*) echo netbsd;; |
139 |
- *-openbsd*) echo openbsd;; |
140 |
- *-solaris*) echo solaris;; |
141 |
- *-cygwin*|*-interix*|*-winnt*) |
142 |
- echo windows |
143 |
- ;; |
144 |
- *) |
145 |
- die "unknown GOOS for ${1:-${CHOST}}" |
146 |
- ;; |
147 |
- esac |
148 |
-} |
149 |
- |
150 |
-go_tuple() |
151 |
-{ |
152 |
- echo "$(go_os $@)_$(go_arch $@)" |
153 |
-} |
154 |
- |
155 |
-go_cross_compile() |
156 |
-{ |
157 |
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] |
158 |
-} |
159 |
- |
160 |
-src_compile() |
161 |
-{ |
162 |
- if has_version -b dev-lang/go; then |
163 |
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" |
164 |
- elif has_version -b dev-lang/go-bootstrap; then |
165 |
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" |
166 |
- else |
167 |
- eerror "Go cannot be built without go or go-bootstrap installed" |
168 |
- die "Should not be here, please report a bug" |
169 |
- fi |
170 |
- |
171 |
- export GOROOT_FINAL="${EPREFIX}"/usr/lib/go |
172 |
- export GOROOT="$(pwd)" |
173 |
- export GOBIN="${GOROOT}/bin" |
174 |
- |
175 |
- # Go's build script does not use BUILD/HOST/TARGET consistently. :( |
176 |
- export GOHOSTARCH=$(go_arch ${CBUILD}) |
177 |
- export GOHOSTOS=$(go_os ${CBUILD}) |
178 |
- export CC=$(tc-getBUILD_CC) |
179 |
- |
180 |
- export GOARCH=$(go_arch) |
181 |
- export GOOS=$(go_os) |
182 |
- export CC_FOR_TARGET=$(tc-getCC) |
183 |
- export CXX_FOR_TARGET=$(tc-getCXX) |
184 |
- if [[ ${ARCH} == arm ]]; then |
185 |
- export GOARM=$(go_arm) |
186 |
- fi |
187 |
- |
188 |
- cd src |
189 |
- ./make.bash || die "build failed" |
190 |
-} |
191 |
- |
192 |
-src_test() |
193 |
-{ |
194 |
- go_cross_compile && return 0 |
195 |
- |
196 |
- cd src |
197 |
- PATH="${GOBIN}:${PATH}" \ |
198 |
- ./run.bash -no-rebuild || die "tests failed" |
199 |
-} |
200 |
- |
201 |
-src_install() |
202 |
-{ |
203 |
- local bin_path f x |
204 |
- |
205 |
- dodir /usr/lib/go |
206 |
- |
207 |
- # There is a known issue which requires the source tree to be installed [1]. |
208 |
- # Once this is fixed, we can consider using the doc use flag to control |
209 |
- # installing the doc and src directories. |
210 |
- # [1] https://golang.org/issue/2775 |
211 |
- # |
212 |
- # deliberately use cp to retain permissions |
213 |
- cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go |
214 |
- if go_cross_compile; then |
215 |
- bin_path="bin/$(go_tuple)" |
216 |
- else |
217 |
- bin_path=bin |
218 |
- fi |
219 |
- for x in ${bin_path}/*; do |
220 |
- f=${x##*/} |
221 |
- dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} |
222 |
- done |
223 |
- einstalldocs |
224 |
- |
225 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
226 |
- # fix install_name for test object (binutils_test) on Darwin, it |
227 |
- # is never used in real circumstances |
228 |
- local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/ |
229 |
- libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64 |
230 |
- install_name_tool -id "${libmac64}" "${D}${libmac64}" |
231 |
- fi |
232 |
-} |
233 |
|
234 |
diff --git a/dev-lang/go/go-1.13.7.ebuild b/dev-lang/go/go-1.13.7.ebuild |
235 |
deleted file mode 100644 |
236 |
index f7c4c78376b..00000000000 |
237 |
--- a/dev-lang/go/go-1.13.7.ebuild |
238 |
+++ /dev/null |
239 |
@@ -1,197 +0,0 @@ |
240 |
-# Copyright 1999-2020 Gentoo Authors |
241 |
-# Distributed under the terms of the GNU General Public License v2 |
242 |
- |
243 |
-EAPI=7 |
244 |
- |
245 |
-export CBUILD=${CBUILD:-${CHOST}} |
246 |
-export CTARGET=${CTARGET:-${CHOST}} |
247 |
- |
248 |
-MY_PV=${PV/_/} |
249 |
- |
250 |
-inherit toolchain-funcs |
251 |
- |
252 |
-case ${PV} in |
253 |
-*9999*) |
254 |
- EGIT_REPO_URI="https://github.com/golang/go.git" |
255 |
- inherit git-r3 |
256 |
- ;; |
257 |
-*) |
258 |
- SRC_URI="https://storage.googleapis.com/golang/go${MY_PV}.src.tar.gz " |
259 |
- S="${WORKDIR}"/go |
260 |
- case ${PV} in |
261 |
- *_beta*|*_rc*) ;; |
262 |
- *) |
263 |
- KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" |
264 |
- # The upstream tests fail under portage but pass if the build is |
265 |
- # run according to their documentation [1]. |
266 |
- # I am restricting the tests on released versions until this is |
267 |
- # solved. |
268 |
- # [1] https://golang.org/issues/18442 |
269 |
- RESTRICT="test" |
270 |
- ;; |
271 |
- esac |
272 |
-esac |
273 |
- |
274 |
-DESCRIPTION="A concurrent garbage collected and typesafe programming language" |
275 |
-HOMEPAGE="https://golang.org" |
276 |
- |
277 |
-LICENSE="BSD" |
278 |
-SLOT="0/${PV}" |
279 |
- |
280 |
-BDEPEND="|| ( |
281 |
- dev-lang/go |
282 |
- dev-lang/go-bootstrap )" |
283 |
-RDEPEND="!<dev-go/go-tools-0_pre20150902" |
284 |
- |
285 |
-# These test data objects have writable/executable stacks. |
286 |
-QA_EXECSTACK=" |
287 |
- usr/lib/go/src/debug/elf/testdata/*.obj |
288 |
- usr/lib/go/src/*.gox |
289 |
- " |
290 |
- |
291 |
-# Do not complain about CFLAGS, etc, since Go doesn't use them. |
292 |
-QA_FLAGS_IGNORED='.*' |
293 |
- |
294 |
-REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*" |
295 |
- |
296 |
-# The tools in /usr/lib/go should not cause the multilib-strict check to fail. |
297 |
-QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" |
298 |
- |
299 |
-# Do not strip this package. Stripping is unsupported upstream and may |
300 |
-# fail. |
301 |
-RESTRICT+=" strip" |
302 |
- |
303 |
-DOCS=( |
304 |
-AUTHORS |
305 |
-CONTRIBUTING.md |
306 |
-CONTRIBUTORS |
307 |
-PATENTS |
308 |
-README.md |
309 |
-) |
310 |
- |
311 |
-go_arch() |
312 |
-{ |
313 |
- # By chance most portage arch names match Go |
314 |
- local portage_arch=$(tc-arch $@) |
315 |
- case "${portage_arch}" in |
316 |
- x86) echo 386;; |
317 |
- x64-*) echo amd64;; |
318 |
- ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; |
319 |
- s390) echo s390x ;; |
320 |
- *) echo "${portage_arch}";; |
321 |
- esac |
322 |
-} |
323 |
- |
324 |
-go_arm() |
325 |
-{ |
326 |
- case "${1:-${CHOST}}" in |
327 |
- armv5*) echo 5;; |
328 |
- armv6*) echo 6;; |
329 |
- armv7*) echo 7;; |
330 |
- *) |
331 |
- die "unknown GOARM for ${1:-${CHOST}}" |
332 |
- ;; |
333 |
- esac |
334 |
-} |
335 |
- |
336 |
-go_os() |
337 |
-{ |
338 |
- case "${1:-${CHOST}}" in |
339 |
- *-linux*) echo linux;; |
340 |
- *-darwin*) echo darwin;; |
341 |
- *-freebsd*) echo freebsd;; |
342 |
- *-netbsd*) echo netbsd;; |
343 |
- *-openbsd*) echo openbsd;; |
344 |
- *-solaris*) echo solaris;; |
345 |
- *-cygwin*|*-interix*|*-winnt*) |
346 |
- echo windows |
347 |
- ;; |
348 |
- *) |
349 |
- die "unknown GOOS for ${1:-${CHOST}}" |
350 |
- ;; |
351 |
- esac |
352 |
-} |
353 |
- |
354 |
-go_tuple() |
355 |
-{ |
356 |
- echo "$(go_os $@)_$(go_arch $@)" |
357 |
-} |
358 |
- |
359 |
-go_cross_compile() |
360 |
-{ |
361 |
- [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] |
362 |
-} |
363 |
- |
364 |
-src_compile() |
365 |
-{ |
366 |
- if has_version -b dev-lang/go; then |
367 |
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" |
368 |
- elif has_version -b dev-lang/go-bootstrap; then |
369 |
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" |
370 |
- else |
371 |
- eerror "Go cannot be built without go or go-bootstrap installed" |
372 |
- die "Should not be here, please report a bug" |
373 |
- fi |
374 |
- |
375 |
- export GOROOT_FINAL="${EPREFIX}"/usr/lib/go |
376 |
- export GOROOT="$(pwd)" |
377 |
- export GOBIN="${GOROOT}/bin" |
378 |
- |
379 |
- # Go's build script does not use BUILD/HOST/TARGET consistently. :( |
380 |
- export GOHOSTARCH=$(go_arch ${CBUILD}) |
381 |
- export GOHOSTOS=$(go_os ${CBUILD}) |
382 |
- export CC=$(tc-getBUILD_CC) |
383 |
- |
384 |
- export GOARCH=$(go_arch) |
385 |
- export GOOS=$(go_os) |
386 |
- export CC_FOR_TARGET=$(tc-getCC) |
387 |
- export CXX_FOR_TARGET=$(tc-getCXX) |
388 |
- if [[ ${ARCH} == arm ]]; then |
389 |
- export GOARM=$(go_arm) |
390 |
- fi |
391 |
- |
392 |
- cd src |
393 |
- ./make.bash || die "build failed" |
394 |
-} |
395 |
- |
396 |
-src_test() |
397 |
-{ |
398 |
- go_cross_compile && return 0 |
399 |
- |
400 |
- cd src |
401 |
- PATH="${GOBIN}:${PATH}" \ |
402 |
- ./run.bash -no-rebuild || die "tests failed" |
403 |
-} |
404 |
- |
405 |
-src_install() |
406 |
-{ |
407 |
- local bin_path f x |
408 |
- |
409 |
- dodir /usr/lib/go |
410 |
- |
411 |
- # There is a known issue which requires the source tree to be installed [1]. |
412 |
- # Once this is fixed, we can consider using the doc use flag to control |
413 |
- # installing the doc and src directories. |
414 |
- # [1] https://golang.org/issue/2775 |
415 |
- # |
416 |
- # deliberately use cp to retain permissions |
417 |
- cp -R api bin doc lib pkg misc src test "${ED}"/usr/lib/go |
418 |
- if go_cross_compile; then |
419 |
- bin_path="bin/$(go_tuple)" |
420 |
- else |
421 |
- bin_path=bin |
422 |
- fi |
423 |
- for x in ${bin_path}/*; do |
424 |
- f=${x##*/} |
425 |
- dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} |
426 |
- done |
427 |
- einstalldocs |
428 |
- |
429 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
430 |
- # fix install_name for test object (binutils_test) on Darwin, it |
431 |
- # is never used in real circumstances |
432 |
- local libmac64="${EPREFIX}"/usr/lib/go/src/cmd/vendor/github.com/ |
433 |
- libmac64+=google/pprof/internal/binutils/testdata/lib_mac_64 |
434 |
- install_name_tool -id "${libmac64}" "${D}${libmac64}" |
435 |
- fi |
436 |
-} |