Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bazel/
Date: Thu, 02 Aug 2018 16:39:59
Message-Id: 1533227870.4ee0404dc44b53b4ae97740b8a5de0645a26b399.perfinion@gentoo
1 commit: 4ee0404dc44b53b4ae97740b8a5de0645a26b399
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 2 13:32:23 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 2 16:37:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ee0404d
7
8 dev-util/bazel: drop old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-util/bazel/Manifest | 3 --
13 dev-util/bazel/bazel-0.10.1.ebuild | 79 --------------------------------------
14 dev-util/bazel/bazel-0.13.0.ebuild | 79 --------------------------------------
15 dev-util/bazel/bazel-0.7.0.ebuild | 78 -------------------------------------
16 4 files changed, 239 deletions(-)
17
18 diff --git a/dev-util/bazel/Manifest b/dev-util/bazel/Manifest
19 index 0141e83c4ba..3a560586453 100644
20 --- a/dev-util/bazel/Manifest
21 +++ b/dev-util/bazel/Manifest
22 @@ -1,7 +1,4 @@
23 -DIST bazel-0.10.1-dist.zip 92973197 BLAKE2B a1d681407e2c72a57b3dcbb5e2afc49e59670be65da3d7d038dc3b8593bc0ab5b4a06c8dd8fc8a617a92eef2fc26a049b6de9a1eab0d05f31efb2fbeeb9ce711 SHA512 1894c951fd39a084011f89dd0d458e182525c2bfd6c80da071865e981e21a8c2b8363530ab53af18e6deae4a488744d6d2b7a5a4acf04715c2e26560a01df707
24 -DIST bazel-0.13.0-dist.zip 90105262 BLAKE2B cb065025524123babef187bac2e1f54f43645d08cb1282a5fe8f8c8b090e595570646072e2380836e2c43403f7953f97321becc24b743d7b9ab43ad208cf2c2d SHA512 3c128e551cff1b685250a68892ca3e1ad6be8b152ee2b8eb527c94adbb8fd50c70e703a363bb938916275030ddb14d756c14e4dc238e7a7b40289c700c5d53c7
25 DIST bazel-0.14.1-dist.zip 89415405 BLAKE2B 7be5d4630d024d235a66f6bdf495c282b04a4034dde156c50d37a7e2eb3bf98df0caead7887f421b664fe92486e6baa5cd90e61b1e82b07b1691dc509ab93a68 SHA512 02c7125438f060d8e5e25b91ce3ca76fac6681b4f12033d807955a4ca5a5c22a3508a7229581b7349f35f343911f8408f43f8d78d54601277576dd32539e4681
26 DIST bazel-0.16.0-dist.zip 89720984 BLAKE2B be8ad9c94b13dd8d1d1de76ed67a3a695a2541327b8cb8a4d27b9279c065cb351d6b2d5785024d11a163bfd4697fb1375b350c8220387ab79db7e95537def5c3 SHA512 89cefed69df1cae7076673900546199427fab3508aad1f0347b9da38153b6b1566b19a4c205055f41ca431fd9444ec772c86bc32fbff0da0485a5e5f11728932
27 -DIST bazel-0.7.0-dist.zip 84669893 BLAKE2B 2f8bbe3a48224a797bdebdaad8f7c403c8b0232ada5eee8c8619f241e9670dda311b9280f48b5e2013079f959891d94f55aee2af0dfae9fc4f6a486663fa245d SHA512 039ab6a04fd4422bd14503187e6cc0d07301723b3ecae906606fa12ccea72190d82237899c103c1adfdf05dc8672887790780ddfb4cce87cd590adbde3d3f6d4
28 DIST google-desugar_jdk_libs-f5e6d80c6b4ec6b0a46603f72b015d45cf3c11cd.zip 1056996 BLAKE2B bf168c41a9958bcdc679a40d1e88911c6af0e47207362204326b712e0129b37348360a855f44af8b76acc46108ac89a707d0c0f793500c513a919070248939b9 SHA512 40cb9ffcaa3c57c69bcbec7b070fad5865e7317817049b7588dd42899054eb97cd17cb0019df99ad2324ed8e2efd8334cd83ace758a4c2d3f453503ccf54a91e
29 DIST zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz 53360827 BLAKE2B 2cf000a50950d839fec4a0ff871632a18a67e93ff31a430d8af92fb0bf40f11d0d45a4427ec546618620aa1c1fc1078a9e918c540315ef8e5fb3928c9b36019d SHA512 63c3989b97845d9a019be5f20e667d9c96550738502c148b0dbf6cd9c1553df077217cb6fa0a9517d555c53a7a6eadeb7403d94aebca01f67aee3d97517df4fd
30
31 diff --git a/dev-util/bazel/bazel-0.10.1.ebuild b/dev-util/bazel/bazel-0.10.1.ebuild
32 deleted file mode 100644
33 index bb11e0536ac..00000000000
34 --- a/dev-util/bazel/bazel-0.10.1.ebuild
35 +++ /dev/null
36 @@ -1,79 +0,0 @@
37 -# Copyright 1999-2018 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -inherit bash-completion-r1 java-pkg-2 multiprocessing
43 -
44 -DESCRIPTION="Fast and correct automated build system"
45 -HOMEPAGE="http://bazel.io/"
46 -SRC_URI="https://github.com/bazelbuild/bazel/releases/download/${PV}/${P}-dist.zip"
47 -
48 -LICENSE="Apache-2.0"
49 -SLOT="0"
50 -KEYWORDS="~amd64"
51 -IUSE="examples tools zsh-completion"
52 -# strip corrupts the bazel binary
53 -RESTRICT="strip"
54 -RDEPEND="virtual/jdk:1.8"
55 -DEPEND="${RDEPEND}
56 - app-arch/unzip
57 - app-arch/zip"
58 -
59 -S="${WORKDIR}"
60 -
61 -pkg_setup() {
62 - echo ${PATH} | grep -q ccache && \
63 - ewarn "${PN} usually fails to compile with ccache, you have been warned"
64 - java-pkg-2_pkg_setup
65 -}
66 -
67 -src_compile() {
68 - # F: fopen_wr
69 - # S: deny
70 - # P: /proc/self/setgroups
71 - # A: /proc/self/setgroups
72 - # R: /proc/24939/setgroups
73 - # C: /usr/lib/systemd/systemd
74 - addpredict /proc
75 - export EXTRA_BAZEL_ARGS="--jobs=$(makeopts_jobs)"
76 - VERBOSE=yes ./compile.sh || die
77 - # Use standalone strategy to deactivate the bazel sandbox, since it
78 - # conflicts with FEATURES=sandbox.
79 - echo "build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone" \
80 - "--jobs=$(makeopts_jobs)" > "${T}/bazelrc" || die
81 - output/bazel --bazelrc="${T}/bazelrc" build scripts:bazel-complete.bash || die
82 - mv bazel-bin/scripts/bazel-complete.bash output/ || die
83 -}
84 -
85 -src_test() {
86 - output/bazel test \
87 - --verbose_failures \
88 - --spawn_strategy=standalone \
89 - --genrule_strategy=standalone \
90 - --verbose_test_summary \
91 - examples/cpp:hello-success_test || die
92 -}
93 -
94 -src_install() {
95 - output/bazel shutdown
96 - dobin output/bazel
97 - newbashcomp output/bazel-complete.bash ${PN}
98 - bashcomp_alias ${PN} ibazel
99 - if use zsh-completion ; then
100 - insinto /usr/share/zsh/site-functions
101 - doins scripts/zsh_completion/_bazel
102 - fi
103 - if use examples; then
104 - docinto examples
105 - dodoc -r examples/*
106 - docompress -x /usr/share/doc/${PF}/examples
107 - fi
108 - # could really build tools but I don't know which ones
109 - # are actually used
110 - if use tools; then
111 - docinto tools
112 - dodoc -r tools/*
113 - docompress -x /usr/share/doc/${PF}/tools
114 - fi
115 -}
116
117 diff --git a/dev-util/bazel/bazel-0.13.0.ebuild b/dev-util/bazel/bazel-0.13.0.ebuild
118 deleted file mode 100644
119 index bb11e0536ac..00000000000
120 --- a/dev-util/bazel/bazel-0.13.0.ebuild
121 +++ /dev/null
122 @@ -1,79 +0,0 @@
123 -# Copyright 1999-2018 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -
128 -inherit bash-completion-r1 java-pkg-2 multiprocessing
129 -
130 -DESCRIPTION="Fast and correct automated build system"
131 -HOMEPAGE="http://bazel.io/"
132 -SRC_URI="https://github.com/bazelbuild/bazel/releases/download/${PV}/${P}-dist.zip"
133 -
134 -LICENSE="Apache-2.0"
135 -SLOT="0"
136 -KEYWORDS="~amd64"
137 -IUSE="examples tools zsh-completion"
138 -# strip corrupts the bazel binary
139 -RESTRICT="strip"
140 -RDEPEND="virtual/jdk:1.8"
141 -DEPEND="${RDEPEND}
142 - app-arch/unzip
143 - app-arch/zip"
144 -
145 -S="${WORKDIR}"
146 -
147 -pkg_setup() {
148 - echo ${PATH} | grep -q ccache && \
149 - ewarn "${PN} usually fails to compile with ccache, you have been warned"
150 - java-pkg-2_pkg_setup
151 -}
152 -
153 -src_compile() {
154 - # F: fopen_wr
155 - # S: deny
156 - # P: /proc/self/setgroups
157 - # A: /proc/self/setgroups
158 - # R: /proc/24939/setgroups
159 - # C: /usr/lib/systemd/systemd
160 - addpredict /proc
161 - export EXTRA_BAZEL_ARGS="--jobs=$(makeopts_jobs)"
162 - VERBOSE=yes ./compile.sh || die
163 - # Use standalone strategy to deactivate the bazel sandbox, since it
164 - # conflicts with FEATURES=sandbox.
165 - echo "build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone" \
166 - "--jobs=$(makeopts_jobs)" > "${T}/bazelrc" || die
167 - output/bazel --bazelrc="${T}/bazelrc" build scripts:bazel-complete.bash || die
168 - mv bazel-bin/scripts/bazel-complete.bash output/ || die
169 -}
170 -
171 -src_test() {
172 - output/bazel test \
173 - --verbose_failures \
174 - --spawn_strategy=standalone \
175 - --genrule_strategy=standalone \
176 - --verbose_test_summary \
177 - examples/cpp:hello-success_test || die
178 -}
179 -
180 -src_install() {
181 - output/bazel shutdown
182 - dobin output/bazel
183 - newbashcomp output/bazel-complete.bash ${PN}
184 - bashcomp_alias ${PN} ibazel
185 - if use zsh-completion ; then
186 - insinto /usr/share/zsh/site-functions
187 - doins scripts/zsh_completion/_bazel
188 - fi
189 - if use examples; then
190 - docinto examples
191 - dodoc -r examples/*
192 - docompress -x /usr/share/doc/${PF}/examples
193 - fi
194 - # could really build tools but I don't know which ones
195 - # are actually used
196 - if use tools; then
197 - docinto tools
198 - dodoc -r tools/*
199 - docompress -x /usr/share/doc/${PF}/tools
200 - fi
201 -}
202
203 diff --git a/dev-util/bazel/bazel-0.7.0.ebuild b/dev-util/bazel/bazel-0.7.0.ebuild
204 deleted file mode 100644
205 index 0a5efcceeb5..00000000000
206 --- a/dev-util/bazel/bazel-0.7.0.ebuild
207 +++ /dev/null
208 @@ -1,78 +0,0 @@
209 -# Copyright 1999-2018 Gentoo Foundation
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -EAPI=6
213 -
214 -inherit bash-completion-r1 java-pkg-2 multiprocessing
215 -
216 -DESCRIPTION="Fast and correct automated build system"
217 -HOMEPAGE="http://bazel.io/"
218 -SRC_URI="https://github.com/bazelbuild/bazel/releases/download/${PV}/${P}-dist.zip"
219 -
220 -LICENSE="Apache-2.0"
221 -SLOT="0"
222 -KEYWORDS="~amd64"
223 -IUSE="examples tools zsh-completion"
224 -# strip corrupts the bazel binary
225 -RESTRICT="strip"
226 -RDEPEND="virtual/jdk:1.8"
227 -DEPEND="${RDEPEND}
228 - app-arch/unzip
229 - app-arch/zip"
230 -
231 -S="${WORKDIR}"
232 -
233 -pkg_setup() {
234 - echo ${PATH} | grep -q ccache && \
235 - ewarn "${PN} usually fails to compile with ccache, you have been warned"
236 - java-pkg-2_pkg_setup
237 -}
238 -
239 -src_compile() {
240 - # F: fopen_wr
241 - # S: deny
242 - # P: /proc/self/setgroups
243 - # A: /proc/self/setgroups
244 - # R: /proc/24939/setgroups
245 - # C: /usr/lib/systemd/systemd
246 - addpredict /proc
247 - export EXTRA_BAZEL_ARGS="--jobs=$(makeopts_jobs)"
248 - VERBOSE=yes ./compile.sh || die
249 - # Use standalone strategy to deactivate the bazel sandbox, since it
250 - # conflicts with FEATURES=sandbox.
251 - echo "build --verbose_failures --spawn_strategy=standalone --genrule_strategy=standalone" \
252 - "--jobs=$(makeopts_jobs)" > "${T}/bazelrc" || die
253 - output/bazel --bazelrc="${T}/bazelrc" build scripts:bazel-complete.bash || die
254 - mv bazel-bin/scripts/bazel-complete.bash output/ || die
255 -}
256 -
257 -src_test() {
258 - output/bazel test \
259 - --verbose_failures \
260 - --spawn_strategy=standalone \
261 - --genrule_strategy=standalone \
262 - --verbose_test_summary \
263 - examples/cpp:hello-success_test || die
264 -}
265 -
266 -src_install() {
267 - output/bazel shutdown
268 - dobin output/bazel
269 - newbashcomp output/bazel-complete.bash ${PN}
270 - if use zsh-completion ; then
271 - insinto /usr/share/zsh/site-functions
272 - doins scripts/zsh_completion/_bazel
273 - fi
274 - if use examples; then
275 - docinto examples
276 - dodoc -r examples/*
277 - docompress -x /usr/share/doc/${PF}/examples
278 - fi
279 - # could really build tools but I don't know which ones
280 - # are actually used
281 - if use tools; then
282 - docinto tools
283 - dodoc -r tools/*
284 - docompress -x /usr/share/doc/${PF}/tools
285 - fi
286 -}