Gentoo Archives: gentoo-commits

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