Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/crystal/
Date: Tue, 24 Sep 2019 19:17:34
Message-Id: 1569352643.ce507bbe73b22f9ba085b1e7b51d05893c1df096.slyfox@gentoo
1 commit: ce507bbe73b22f9ba085b1e7b51d05893c1df096
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 24 19:12:54 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 24 19:17:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce507bbe
7
8 dev-lang/crystal: drop old
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-lang/crystal/Manifest | 6 --
14 dev-lang/crystal/crystal-0.28.0.ebuild | 123 -----------------------------
15 dev-lang/crystal/crystal-0.29.0-r1.ebuild | 124 ------------------------------
16 dev-lang/crystal/crystal-0.29.0.ebuild | 123 -----------------------------
17 4 files changed, 376 deletions(-)
18
19 diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
20 index 282ef378f8f..8cfe6ffe0ba 100644
21 --- a/dev-lang/crystal/Manifest
22 +++ b/dev-lang/crystal/Manifest
23 @@ -1,9 +1,3 @@
24 -DIST crystal-0.28.0-1-linux-i686.tar.gz 31888259 BLAKE2B a2f72a5e05abbcc7f4a6003f22ad059e07de59660f114d8e5d0fa225ac51d2465174c41cc81dd7c561f52832ffd9203a0a1cf5606e8633e36fcecd3899463775 SHA512 bc0fcb199abacc068e907f0e8fc8feeecfda4e5312201b4a6af96e76730df3130f6d9f40141c3182c9e99c0600455124cb33ef60194fb4e47ea3826d7090e755
25 -DIST crystal-0.28.0-1-linux-x86_64.tar.gz 30088308 BLAKE2B e12b0cc9aa5ef354e0f06423a8d3be54ba42eee358cdfd7c6632d5ea08c2ed7e441eb4e162224cf8780bd3ba33e02916f1a7d061a48577d8a4d0eed4578723b3 SHA512 13b7b889ee6d17b905375883baa883fc4d631f6a22c2399aafba1020142e96072670f46584264445b531ece87c6f4b3e89367c62b0c2587c119dd6242ec06762
26 -DIST crystal-0.28.0.tar.gz 2108702 BLAKE2B 75b743c65ae2063ecbcff7514a3fac53ecc0e25866dd91a34368bdb1bf2a72e9b8e9b6c8325f1b0589693efa78c93bd246f1e764569307519375f7d7429bea55 SHA512 ea0d0938fa90db1b8e395e1daf777c36be5366046c1df7764409e14cf490b4e5f502c62a567e1cf1375684fac58afb71ccc39a5d5974eb29ef9bb5be59fa0a10
27 -DIST crystal-0.29.0-1-linux-i686.tar.gz 31865927 BLAKE2B 1150dd12f4102501bf72a000d6f01e57445966c88de9c9dd2d39e13001067ae97ac3b039db05cb3c02265c3f14fc02b02bc6bd46ad2d4e98da617f668f89176c SHA512 3e3a22b04a5ebd40dfc944c5ba210f230c636634480c836c788db58b4b402b4ce939655a4989ef0ad554fab67d8ecf330d5fd9bd384aad70f78e2dcb16cb2ba6
28 -DIST crystal-0.29.0-1-linux-x86_64.tar.gz 30069384 BLAKE2B cba30b6337654aba0bd081198f30987891a26fe010ecf82413b9be0d965e14a4d7fade0a9fc496985555fd9b24baa5c1bcc3ae6f4a8b6e9fc82fdc1f1b096614 SHA512 81f1652a1a7b9de20644bebc6d4a31c6d2d4681d29662d733d9a5238f5087fcfc1c3f437fb4b81b0a89d7f29492296c4e65706e2aedcae6e34b1902675d80b9b
29 -DIST crystal-0.29.0.tar.gz 2122890 BLAKE2B 17ef4c3c07d326b73bb015a1cd9207c716630877da323e79a59dccb026699e48ec5559039dcad391e775f64324ca9eddeb22f053acb12f5019976f94013d039f SHA512 690183878c1d4f8bea2be419238aae78b40fe06fbfef6b23a31162eab8edec726bd5f87b3e39dbb76d5c3b82dde5d0fcb79ed34474bf62d1ea17c0901ff63337
30 DIST crystal-0.30.0-1-linux-i686.tar.gz 31962470 BLAKE2B e913122b8e6fa472b7766c865916a8d6d588fccf1ad85f2c5a7b31334cb5631773e7672eb8fdd1c9bfbefa720b7bef6ea8884e225a29be2a8d8203fa1e2e3455 SHA512 84fd9d66355d069e02805d2f8cc3544ecc90bf6bbbf27b0e5df133264507396cef378f4238e28aff8fc9c8c21cd938d687d11b1924d2530cf5c95b1078eb772b
31 DIST crystal-0.30.0-1-linux-x86_64.tar.gz 30157495 BLAKE2B b7e684242f90b7dc0bc93bb2c90e255c65554bfc514616cff645578f1d0956cb9f61262294d3399618bf50c4828e6e83fabd09515d3b7268cbcd96952cba58a4 SHA512 34e5a70ce2305b492bad57cdbcf77603e46052d89cb3b92012cb546ec22af9dbc80c91963b1725e6e1095548e43da766d39fefc2bee827e194d889ccd20c044f
32 DIST crystal-0.30.0.tar.gz 2151397 BLAKE2B 8b32d12e6f45d18c5ef23dce0520d7669076295324bcb100e0120779c986ecf9081a23207eaa3696b661dd566c37aada1644d2b5acf2e5ddf447be11b8dabe8a SHA512 9c3da09b8ed57d1fd6942350cefe3be7cf6f1ab32a86329c0eda24138e30f44b822161b8eb3bca057bd8e7b0a47fefbe566af1284f486643080a967c1cb79483
33
34 diff --git a/dev-lang/crystal/crystal-0.28.0.ebuild b/dev-lang/crystal/crystal-0.28.0.ebuild
35 deleted file mode 100644
36 index fa78117f9c5..00000000000
37 --- a/dev-lang/crystal/crystal-0.28.0.ebuild
38 +++ /dev/null
39 @@ -1,123 +0,0 @@
40 -# Copyright 1999-2019 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=6
44 -
45 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
46 -
47 -BV=0.28.0-1
48 -BV_AMD64=${BV}-linux-x86_64
49 -BV_X86=${BV}-linux-i686
50 -
51 -DESCRIPTION="The Crystal Programming Language"
52 -HOMEPAGE="https://crystal-lang.org"
53 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
54 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
55 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
56 -
57 -LICENSE="Apache-2.0"
58 -SLOT="0"
59 -KEYWORDS="~amd64"
60 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
61 -
62 -RESTRICT=test # not stable for day-to-day runs
63 -
64 -# Not compatible with llvm-7
65 -LLVM_MAX_SLOT=6
66 -
67 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
68 -DEPEND="
69 - sys-devel/llvm:${LLVM_MAX_SLOT}
70 - dev-libs/boehm-gc[static-libs,threads]
71 - dev-libs/libatomic_ops
72 - dev-libs/libevent
73 - dev-libs/libpcre
74 - sys-libs/libunwind
75 - dev-libs/pcl
76 - dev-libs/gmp:0
77 -"
78 -RDEPEND="${DEPEND}
79 - xml? ( dev-libs/libxml2 )
80 - yaml? ( dev-libs/libyaml )
81 -"
82 -
83 -PATCHES=(
84 - "${FILESDIR}"/${PN}-0.27.1-verbose.patch
85 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
86 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
87 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
88 - #"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
89 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
90 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
91 - "${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
92 -)
93 -
94 -src_prepare() {
95 - default
96 -
97 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
98 -}
99 -
100 -src_compile() {
101 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
102 - if [[ ! -d ${bootstrap_path} ]]; then
103 - eerror "Binary tarball does not contain expected directory:"
104 - die "'${bootstrap_path}' path does not exist."
105 - fi
106 -
107 - emake \
108 - $(usex debug "" release=1) \
109 - progress=true \
110 - stats=1 \
111 - threads=$(makeopts_jobs) \
112 - verbose=1 \
113 - \
114 - CC=$(tc-getCC) \
115 - CXX=$(tc-getCXX) \
116 - AR=$(tc-getAR) \
117 - \
118 - PATH="${bootstrap_path}:${PATH}" \
119 - CRYSTAL_PATH=src \
120 - CRYSTAL_CONFIG_VERSION=${PV} \
121 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
122 - use doc && emake docs
123 -}
124 -
125 -src_test() {
126 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
127 - # as part of full build:
128 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
129 - emake spec \
130 - $(usex debug "" release=1) \
131 - progress=true \
132 - stats=1 \
133 - threads=$(makeopts_jobs) \
134 - verbose=1 \
135 - \
136 - CC=$(tc-getCC) \
137 - CXX=$(tc-getCXX) \
138 - AR=$(tc-getAR) \
139 - \
140 - CRYSTAL_PATH=src \
141 - CRYSTAL_CONFIG_VERSION=${PV} \
142 - \
143 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
144 -}
145 -
146 -src_install() {
147 - insinto /usr/$(get_libdir)/crystal
148 - doins -r src/.
149 - dobin .build/crystal
150 -
151 - insinto /usr/share/zsh/site-functions
152 - newins etc/completion.zsh _crystal
153 -
154 - use examples && dodoc -r samples
155 -
156 - if use doc ; then
157 - docinto api
158 - dodoc -r docs/.
159 - fi
160 -
161 - newbashcomp etc/completion.bash ${PN}
162 -}
163
164 diff --git a/dev-lang/crystal/crystal-0.29.0-r1.ebuild b/dev-lang/crystal/crystal-0.29.0-r1.ebuild
165 deleted file mode 100644
166 index 44419942b72..00000000000
167 --- a/dev-lang/crystal/crystal-0.29.0-r1.ebuild
168 +++ /dev/null
169 @@ -1,124 +0,0 @@
170 -# Copyright 1999-2019 Gentoo Authors
171 -# Distributed under the terms of the GNU General Public License v2
172 -
173 -EAPI=6
174 -
175 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
176 -
177 -BV=0.29.0-1
178 -BV_AMD64=${BV}-linux-x86_64
179 -BV_X86=${BV}-linux-i686
180 -
181 -DESCRIPTION="The Crystal Programming Language"
182 -HOMEPAGE="https://crystal-lang.org"
183 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
184 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
185 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
186 -
187 -LICENSE="Apache-2.0"
188 -SLOT="0"
189 -KEYWORDS="~amd64"
190 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
191 -
192 -RESTRICT=test # not stable for day-to-day runs
193 -
194 -# Not compatible with llvm-7 or llvm-8
195 -LLVM_MAX_SLOT=6
196 -
197 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
198 -DEPEND="
199 - sys-devel/llvm:${LLVM_MAX_SLOT}
200 - dev-libs/boehm-gc[static-libs,threads]
201 - dev-libs/libatomic_ops
202 - dev-libs/libevent
203 - dev-libs/libpcre
204 - sys-libs/libunwind
205 - dev-libs/pcl
206 - dev-libs/gmp:0
207 -"
208 -RDEPEND="${DEPEND}
209 - xml? ( dev-libs/libxml2 )
210 - yaml? ( dev-libs/libyaml )
211 -"
212 -
213 -PATCHES=(
214 - "${FILESDIR}"/${PN}-0.27.1-verbose.patch
215 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
216 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
217 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
218 - #"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
219 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
220 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
221 - "${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
222 - "${FILESDIR}"/${PN}-0.29.0-no-usr-lib.patch
223 -)
224 -
225 -src_prepare() {
226 - default
227 -
228 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
229 -}
230 -
231 -src_compile() {
232 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
233 - if [[ ! -d ${bootstrap_path} ]]; then
234 - eerror "Binary tarball does not contain expected directory:"
235 - die "'${bootstrap_path}' path does not exist."
236 - fi
237 -
238 - emake \
239 - $(usex debug "" release=1) \
240 - progress=true \
241 - stats=1 \
242 - threads=$(makeopts_jobs) \
243 - verbose=1 \
244 - \
245 - CC=$(tc-getCC) \
246 - CXX=$(tc-getCXX) \
247 - AR=$(tc-getAR) \
248 - \
249 - PATH="${bootstrap_path}:${PATH}" \
250 - CRYSTAL_PATH=src \
251 - CRYSTAL_CONFIG_VERSION=${PV} \
252 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
253 - use doc && emake docs
254 -}
255 -
256 -src_test() {
257 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
258 - # as part of full build:
259 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
260 - emake spec \
261 - $(usex debug "" release=1) \
262 - progress=true \
263 - stats=1 \
264 - threads=$(makeopts_jobs) \
265 - verbose=1 \
266 - \
267 - CC=$(tc-getCC) \
268 - CXX=$(tc-getCXX) \
269 - AR=$(tc-getAR) \
270 - \
271 - CRYSTAL_PATH=src \
272 - CRYSTAL_CONFIG_VERSION=${PV} \
273 - \
274 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
275 -}
276 -
277 -src_install() {
278 - insinto /usr/$(get_libdir)/crystal
279 - doins -r src/.
280 - dobin .build/crystal
281 -
282 - insinto /usr/share/zsh/site-functions
283 - newins etc/completion.zsh _crystal
284 -
285 - use examples && dodoc -r samples
286 -
287 - if use doc ; then
288 - docinto api
289 - dodoc -r docs/.
290 - fi
291 -
292 - newbashcomp etc/completion.bash ${PN}
293 -}
294
295 diff --git a/dev-lang/crystal/crystal-0.29.0.ebuild b/dev-lang/crystal/crystal-0.29.0.ebuild
296 deleted file mode 100644
297 index b40924b3e3f..00000000000
298 --- a/dev-lang/crystal/crystal-0.29.0.ebuild
299 +++ /dev/null
300 @@ -1,123 +0,0 @@
301 -# Copyright 1999-2019 Gentoo Authors
302 -# Distributed under the terms of the GNU General Public License v2
303 -
304 -EAPI=6
305 -
306 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
307 -
308 -BV=0.29.0-1
309 -BV_AMD64=${BV}-linux-x86_64
310 -BV_X86=${BV}-linux-i686
311 -
312 -DESCRIPTION="The Crystal Programming Language"
313 -HOMEPAGE="https://crystal-lang.org"
314 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
315 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
316 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
317 -
318 -LICENSE="Apache-2.0"
319 -SLOT="0"
320 -KEYWORDS="~amd64"
321 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
322 -
323 -RESTRICT=test # not stable for day-to-day runs
324 -
325 -# Not compatible with llvm-7 or llvm-8
326 -LLVM_MAX_SLOT=6
327 -
328 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
329 -DEPEND="
330 - sys-devel/llvm:${LLVM_MAX_SLOT}
331 - dev-libs/boehm-gc[static-libs,threads]
332 - dev-libs/libatomic_ops
333 - dev-libs/libevent
334 - dev-libs/libpcre
335 - sys-libs/libunwind
336 - dev-libs/pcl
337 - dev-libs/gmp:0
338 -"
339 -RDEPEND="${DEPEND}
340 - xml? ( dev-libs/libxml2 )
341 - yaml? ( dev-libs/libyaml )
342 -"
343 -
344 -PATCHES=(
345 - "${FILESDIR}"/${PN}-0.27.1-verbose.patch
346 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
347 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
348 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
349 - #"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
350 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
351 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
352 - "${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
353 -)
354 -
355 -src_prepare() {
356 - default
357 -
358 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
359 -}
360 -
361 -src_compile() {
362 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
363 - if [[ ! -d ${bootstrap_path} ]]; then
364 - eerror "Binary tarball does not contain expected directory:"
365 - die "'${bootstrap_path}' path does not exist."
366 - fi
367 -
368 - emake \
369 - $(usex debug "" release=1) \
370 - progress=true \
371 - stats=1 \
372 - threads=$(makeopts_jobs) \
373 - verbose=1 \
374 - \
375 - CC=$(tc-getCC) \
376 - CXX=$(tc-getCXX) \
377 - AR=$(tc-getAR) \
378 - \
379 - PATH="${bootstrap_path}:${PATH}" \
380 - CRYSTAL_PATH=src \
381 - CRYSTAL_CONFIG_VERSION=${PV} \
382 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
383 - use doc && emake docs
384 -}
385 -
386 -src_test() {
387 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
388 - # as part of full build:
389 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
390 - emake spec \
391 - $(usex debug "" release=1) \
392 - progress=true \
393 - stats=1 \
394 - threads=$(makeopts_jobs) \
395 - verbose=1 \
396 - \
397 - CC=$(tc-getCC) \
398 - CXX=$(tc-getCXX) \
399 - AR=$(tc-getAR) \
400 - \
401 - CRYSTAL_PATH=src \
402 - CRYSTAL_CONFIG_VERSION=${PV} \
403 - \
404 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
405 -}
406 -
407 -src_install() {
408 - insinto /usr/$(get_libdir)/crystal
409 - doins -r src/.
410 - dobin .build/crystal
411 -
412 - insinto /usr/share/zsh/site-functions
413 - newins etc/completion.zsh _crystal
414 -
415 - use examples && dodoc -r samples
416 -
417 - if use doc ; then
418 - docinto api
419 - dodoc -r docs/.
420 - fi
421 -
422 - newbashcomp etc/completion.bash ${PN}
423 -}