Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
Date: Thu, 23 Jan 2020 15:07:11
Message-Id: 1579792014.44cb78257db621e19b295b6cf83c3e13f336b800.williamh@gentoo
1 commit: 44cb78257db621e19b295b6cf83c3e13f336b800
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 23 15:06:00 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 15:06:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44cb7825
7
8 dev-lang/go-bootstrap: new package
9
10 This package is only referenced from BDEPEND in dev-lang/go so the ARCH
11 USE flags will always correspond to CBUILD. This allows us to reduce the
12 number of tarballs that must be fetched for bootstrap.
13
14 Once dev-lang/go is installed, this package may be depcleaned.
15
16 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
17 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
18
19 dev-lang/go-bootstrap/Manifest | 9 ++++++
20 dev-lang/go-bootstrap/go-bootstrap-1.13.6.ebuild | 35 ++++++++++++++++++++++++
21 dev-lang/go-bootstrap/metadata.xml | 12 ++++++++
22 3 files changed, 56 insertions(+)
23
24 diff --git a/dev-lang/go-bootstrap/Manifest b/dev-lang/go-bootstrap/Manifest
25 new file mode 100644
26 index 00000000000..f181e860a8a
27 --- /dev/null
28 +++ b/dev-lang/go-bootstrap/Manifest
29 @@ -0,0 +1,9 @@
30 +DIST go-darwin-amd64-bootstrap-1.13.6.tbz 119343506 BLAKE2B 005893a0d9c0aeb0fd75570564d097c5876483b1e57b5d74b04bd1b33faf916cad9337685d06d8920f2a7d1c79e67b671ce499a56b84259cc5fd48fe93cb5015 SHA512 1d45fffacbdbc2a89960d606c907d60b1ec175efedb109ad40236562e7e1a090f8be36aa790dbc7c31f4474cd94d4c5be25bbc68900a81a39393e753a5a06dcc
31 +DIST go-linux-386-bootstrap-1.13.6.tbz 116991833 BLAKE2B e15c4dd3c9bfb233f81d318591df5cb2a73e033a088cd652371f6933b8732c7d5c1292ec8110b23f85b30d5afdea97e798b264c61f5651db08c7ac903e8dcbb6 SHA512 114c2f670f21624f0dfefabb99b7263e2133e58c2072ce341a6ea604278e22361779f2e0d3771b7a427e979d7e34f3fc3afcd0f8297d778c3552858ce64ec0c8
32 +DIST go-linux-amd64-bootstrap-1.13.6.tbz 117191408 BLAKE2B 186212e85b67c5f756c9e85897e310bf9bda4445f8deae1e7a0249ac9d666723dba0796a41b9aee4487f214e1b579157b5a68f3f7aca8fc71199c8a75c5024ed SHA512 ff8f550eb98a2c6e8c046b232dc06ed9f40b99d5f4f9324ab0a6bff1b3402f6cfcb90ce77d8dcabba7a84ac643aad3daab9677b2861b03e72845c4fdd39dc383
33 +DIST go-linux-arm-bootstrap-1.13.6.tbz 112330829 BLAKE2B 027cf3af2c89cc82fddf23748351214e583539e2f6c39dfad86a1e19989f4f96e8b02d41efb0e3ff88ec1e1259e877afc36a5d9562bc30f2ef9c630b111a8e22 SHA512 051770f8ecb0dfc062bfb273e0d58c855ffc66e31b066c973b0745734c404a073d9b67cd36c1ca67977061e976b17bbe3109ac16a1f553ea2c8dd0625a3146b3
34 +DIST go-linux-arm64-bootstrap-1.13.6.tbz 110293216 BLAKE2B 7281235a73dbcaf9145f57ccf5a92d046bc3a055e0635f5462f11fb82b88c1a0c5a910a8c03afd46c818e35501869190a78de6190817758367e46c89858f084f SHA512 99d47d54648936692ca0b7e42aca6d3b5feabad1d9ef42959df63dc749c8b8602ba5aa34538142678dd8285e47f7a9e2dafe893a6784db6d7eba12af2257658c
35 +DIST go-linux-ppc64-bootstrap-1.13.6.tbz 110762916 BLAKE2B 19d44da5bcd1f4832772469beed509475f9a38ab55b386490faf1b270ffd7cc13d315dfe4746b3b9ca6a324c0e6f2e0144a3146d43bd6210d0479063f8627e34 SHA512 2a76c6168d7ba0c7eb020a1af4eccb2a5aee510a1f8e4bb438f5ea769677724c1450209c2fc9a4ccff1084f1a091a568e667ec33a5d537539a09ece426cf82d8
36 +DIST go-linux-ppc64le-bootstrap-1.13.6.tbz 110086770 BLAKE2B a3f2c1b840f85d7726336285a56d1850fd10f32d90341836a4124a7d181778c3a1cff1d576e4a19a4f3556e961d84fa77202891725b5237121040bdd020af339 SHA512 6c4bd54fafea65fbb16a3e6c57b721c10654a5f18879c164f6889a01ec6581b13b450622e83897032ab3ed43a9ff4a7edb6d30c56d41dd23991e8453c1bae359
37 +DIST go-linux-s390x-bootstrap-1.13.6.tbz 115641137 BLAKE2B 7ab94a8f7c839ee8fb58673ed5ad00a569a0bae7a13bb214098154aedb1c272837d0903c226cb87b5eb46475589ddcd56e1afafc81ddaea988ce3c3ddca686d1 SHA512 794b72f48634a7f7dfb41c64607d66974ef9413a68e39a3959a981e2aaf356fd2cec9e2eb0c25d1b7b3d179c0a72ce053dc9c69463bde0ec893ab472f7076204
38 +DIST go-solaris-amd64-bootstrap-1.13.6.tbz 116214396 BLAKE2B 3f5d6fcf2131a0944b2846eab2fc069f5d90fea1e7d98e8bd50ba5091d4b2ae01964fa71c29310fa7ff7c990ca0dd1afc83577174a46552d58d611716fedb854 SHA512 2d2c281c196729dd97f338fe3bd7396268c0b6fcfc8241b99a939f647201ed39929a5b0a096b9d1f7ffb20f79fd7b3cc25127d7a93f9836f6f0d1e5dbc2c6235
39
40 diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.13.6.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.13.6.ebuild
41 new file mode 100644
42 index 00000000000..5016ef7341e
43 --- /dev/null
44 +++ b/dev-lang/go-bootstrap/go-bootstrap-1.13.6.ebuild
45 @@ -0,0 +1,35 @@
46 +# Copyright 2020 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI=7
50 +
51 +DESCRIPTION="Bootstrap package for dev-lang/go"
52 +HOMEPAGE="https://golang.org"
53 +BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist"
54 +SRC_URI="
55 + amd64? ( ${BOOTSTRAP_DIST}/go-linux-amd64-bootstrap-${PV}.tbz )
56 + arm? ( ${BOOTSTRAP_DIST}/go-linux-arm-bootstrap-${PV}.tbz )
57 + arm64? ( ${BOOTSTRAP_DIST}/go-linux-arm64-bootstrap-${PV}.tbz )
58 + ppc64? (
59 + big-endian? ( ${BOOTSTRAP_DIST}/go-linux-ppc64-bootstrap-${PV}.tbz )
60 + !big-endian? ( ${BOOTSTRAP_DIST}/go-linux-ppc64le-bootstrap-${PV}.tbz )
61 + )
62 + s390? ( ${BOOTSTRAP_DIST}/go-linux-s390x-bootstrap-${PV}.tbz )
63 + x86? ( ${BOOTSTRAP_DIST}/go-linux-386-bootstrap-${PV}.tbz )
64 + x64-macos? ( ${BOOTSTRAP_DIST}/go-darwin-amd64-bootstrap-${PV}.tbz )
65 + x64-solaris? ( ${BOOTSTRAP_DIST}/go-solaris-amd64-bootstrap-${PV}.tbz )
66 +"
67 +
68 +LICENSE="BSD"
69 +SLOT="0"
70 +KEYWORDS="amd64 arm arm64 ppc64 ~s390 x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
71 +IUSE="big-endian"
72 +RESTRICT="strip"
73 +QA_PREBUILT="*"
74 +
75 +S="${WORKDIR}"
76 +
77 +src_install() {
78 + dodir /usr/lib
79 + mv go-*-bootstrap "${ED}/usr/lib/go-bootstrap" || die
80 +}
81
82 diff --git a/dev-lang/go-bootstrap/metadata.xml b/dev-lang/go-bootstrap/metadata.xml
83 new file mode 100644
84 index 00000000000..bf9239d9ce5
85 --- /dev/null
86 +++ b/dev-lang/go-bootstrap/metadata.xml
87 @@ -0,0 +1,12 @@
88 +<?xml version="1.0" encoding="UTF-8"?>
89 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
90 +<pkgmetadata>
91 + <maintainer type="person">
92 + <email>williamh@g.o</email>
93 + <name>William Hubbs</name>
94 + </maintainer>
95 + <longdescription lang="en">
96 + This package is used only to boot strap <pkg>dev-lang/go</pkg>.
97 + It is not meant to be used by end users directly.
98 + </longdescription>
99 +</pkgmetadata>