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: Sun, 02 Jun 2019 16:39:44
Message-Id: 1559493572.acaeab588bd506e8ecbd0b858695b2ae08a2b810.slyfox@gentoo
1 commit: acaeab588bd506e8ecbd0b858695b2ae08a2b810
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 2 16:39:11 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 2 16:39:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acaeab58
7
8 dev-lang/crystal: drop old
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.13
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-lang/crystal/Manifest | 11 ---
14 dev-lang/crystal/crystal-0.24.2.ebuild | 104 ----------------------------
15 dev-lang/crystal/crystal-0.25.0.ebuild | 104 ----------------------------
16 dev-lang/crystal/crystal-0.26.0.ebuild | 105 ----------------------------
17 dev-lang/crystal/crystal-0.27.0.ebuild | 122 ---------------------------------
18 dev-lang/crystal/crystal-0.27.1.ebuild | 121 --------------------------------
19 6 files changed, 567 deletions(-)
20
21 diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
22 index 92669e2c36c..47eb9642169 100644
23 --- a/dev-lang/crystal/Manifest
24 +++ b/dev-lang/crystal/Manifest
25 @@ -1,19 +1,8 @@
26 -DIST crystal-0.23.0-1-linux-i686.tar.gz 18498501 BLAKE2B 7a8e4e5a2b1425b6effe0a634b74b28c340c4d23c4bfccc0abac4e5d47473e10421d025e68e1fb1fa5b0ba8296108e36cd17d393fb143b8012168d595e5852f9 SHA512 8745114c4824d2859c569ed1bd1057d6d649d57b10d41d22c17627f623704eb98ec2e3ab2bf06622de624906f53e053975a6b9d852aeaafeae4f43585609de28
27 -DIST crystal-0.23.0-1-linux-x86_64.tar.gz 18729061 BLAKE2B bfca07702b2f7c7d6b11aac864475316cabe86bdba90b1819ecd5cb45769b2b7fd9fb4c9f80e46301785209cc5b35fe39bf689163b9376a32b24f8a685a6281b SHA512 6a4e427b4ab3c3be6efcfaee5c1a19eff04eaf00db949d1e1ba8f29c3277affe96a7aba4273d93fd05251453d5b5b937aa792bc448ff2f6d6aa7f2b17d175f75
28 -DIST crystal-0.24.2-1-linux-i686.tar.gz 17667007 BLAKE2B 73104ce088e161f03a7b4a191bb6dcdd86d0c65fe4058bb81f1177c6b7162aa48ca7732fbb410de8d3c9ca58830774913acdad9a89d8420a62e6526ecd309a2a SHA512 af0019fa1d140e653812a5d8a4fbb129ccf5d66ae55aa1a4e94ec3166058eb47abd2dd429a9d72a4baad4a6032abdaafc07bc22ca6380ac85e9d1c7168d7bf5d
29 -DIST crystal-0.24.2-1-linux-x86_64.tar.gz 35022853 BLAKE2B 5b101a27fef0dfbbf61920d826689a45f400c28afe7383320b69f8887512bcab65cbfe8a2cf35b0c598b06083d1ea5e338f4e2b910db03226ba05195483e4c89 SHA512 21d8e7fc34fc24ccb7e8e2c7aade0c3d6fe17e385f0f00534bb91e886788da0b27ff8276b634f7ae13d6342c7e22c6acd609562bcf1af8fddfdee5e256e1bcf0
30 -DIST crystal-0.24.2.tar.gz 1745462 BLAKE2B 8f3d5cf9e274558a5622aae44c6f7d54d0b3042d08810ddc650f181b91a536a3d0cc2d8fa726b677cce1f8a946319a55b803823596cef0d4d3e63832bfcea720 SHA512 db9fb973eeb2bc72ef91bb894b7c5aea73e727ff46e739aa431d68e556238f346a688a7a43de284afb4667b49366afce3ca423a523bea521180fa8f19ba6862d
31 -DIST crystal-0.25.0.tar.gz 1957613 BLAKE2B 4c2467e39a9bc6745b74c00f755490a2f726e775c2a0d15562af27d2a6771c95c44f79e6b59ad45f61a59566529854d75c980c55a6886538fa98663879477258 SHA512 20f2864919c7710e5aee8112e1c6ab54a2e50b244ac63d374edfed41ab659b11c062f76dbfc38e763a08bdbea9e0a39f3b5cac5e00bf453be3a31d3b0a023917
32 -DIST crystal-0.25.1-1-linux-i686.tar.gz 39882213 BLAKE2B 35d0045a72ced6ba7348105c9b88e564f85b075af78decd52c40b47b338cd1c7c1b01565430f9aa21251cfd1266041268e037eb616a24475acfa22b1b8ae1448 SHA512 79601b6c586184e064798c4daca3de77f7c81fbc4d0062a558824533f9272f04899c0041b17dce072757f20f7940c99303c6ff1143448b6452e8216ca4bb43dd
33 -DIST crystal-0.25.1-1-linux-x86_64.tar.gz 38004788 BLAKE2B 580ccad2227e6467c4c61ce9adf4aeb99c55f694c71a02b9d959c31deba66e428f5c5e7d920dd42d01524ccaef04b9eae3b068f2c6ff16414fa3fd36f462414f SHA512 ec33781b767f8f9f0a6d00f73109fbe9d683a23fca9cc8b462acda3eb024fc970d0daf8c36fb2239297f77510d2e3f544f58ec1cf53d08ea856bc6307f81d1dd
34 DIST crystal-0.26.0-1-linux-i686.tar.gz 39814913 BLAKE2B 8c73e33b52a7c5d9ae24ead5d5adbd038f63fc76f904b20ec8dc4da1b1ed6f53283970b06ec7af7ecac7f58c55dc911fe56bcb9897a44a86fc88deb43249a5af SHA512 f0ba602a07b608ac7b3c0f841cbcc70b44d42ce87f405ce9d1a09df7b8c1764e13bca9471b2499a51d22cebc8228e949086893fd3c946d17e7b36ae4e8ac4f75
35 DIST crystal-0.26.0-1-linux-x86_64.tar.gz 37986465 BLAKE2B dc8e05519653f82d09d8bd3a84fedd9f4720880bc61a110709643850bbcfa95738292cca8168a8c5c550abe9b178ce28fd59321c66862a1cc81007cc1cb22223 SHA512 c252d2d585fe49c755397b8f8c7965c855e8f8102598b34a83cc6e5ae821a22f3dccce8b7787dd0f00fa39fad3d2dffc23c6105c9cefe525da7855550c790ab2
36 -DIST crystal-0.26.0.tar.gz 1992091 BLAKE2B dfc96e3e9a71dbec07235a982bbb34ea81bb3adbb39f6c8f8c9bb855ac97e5faf4d47d4a78901317798941b84117399aeee6af53c6c06ae21b9504ca617a2899 SHA512 45a62a2496d477cd72666e98b36bdcbfff958a8f5f0e71f04101f2ba72fc87117d53c8c098a72edb55e9be192b68b73529d5f76e4c660033332ed6e88a372519
37 DIST crystal-0.26.1.tar.gz 1994987 BLAKE2B 2292fbdf119e181313000e035802581ae206083aa5c9651a01e131d74e701ea75dc713b44274769decfc9f0f300d8fc2e6c24a94f60380b79c3cdb1a10e73369 SHA512 5e020b0f262f9bedaaae60010f669d7987a77d3416bf0dd057e29eb11adbe8fceb1c4f55a822e623d32e302a01ccc99218d2c3fe474d4ce0dde4312c196ccfa6
38 DIST crystal-0.27.0-1-linux-i686.tar.gz 39751745 BLAKE2B 22adf22a2e423f4b0fddda1d8d9bbfb68a4b51f18da9705b6515a500610781251561577dd25c6509aa2b6860b1b329bc7e3d213743330b91206b50239e053a89 SHA512 4fb819a67f3e2c965b454af53cf0bad9606a6a13f85f1bfbe59057291ea293099892344cd31127f5b35e3b25fc6e3f591bda508587fc32f5ef1433aeff0ca706
39 DIST crystal-0.27.0-1-linux-x86_64.tar.gz 37933811 BLAKE2B 76bb57b556f14ae8ce219ef490e58ff03571f36fcb4343672ff10ddd6e275e9c5c26a028d63f0592c1a081f2f5dc8241106d8a99add1a7936f52b9e3a57f96e6 SHA512 c403c4080830b928621da07f409ba5433109ee0fc81589f87e79d2e04fcbce8facfa205b7e8c78ab9bb772b4444c938b3bcf691596ee0b2d54c3f3d97150e008
40 -DIST crystal-0.27.0.tar.gz 2025777 BLAKE2B 0a5cc02a516586b033c65efd8e28a13ac0ed67fddbd1a1f0a88a484dff825bec8f6b03b16938c750e99e0c7c1c12a3fd3fc87e61d038b25b7707e0e7f2913fae SHA512 02b0e1d43d699d1dd91f4b979c8ab8909264e5f1fcc344f6110bebb808c0ee764a943368cce9d33a258adb9631ed4f445e1f771d5a9e50fcd337fc8b319616cf
41 -DIST crystal-0.27.1.tar.gz 2061304 BLAKE2B 1776525925a25f72cf83f1a6076ab8b2bf1602c9d8c6a1fff8869c200faa35de008655f046ff60fb3733c8c3577f3544184080ee39acedfde006b9fd63d6c844 SHA512 8c6dd9489aff5d4b3e119ef6f531a3248c20f3da97c44dd3febe551adc67f5d87aa4f7679cbcc0dcde0374f3f5a3c523da6dff32a7ac95a9db1406102e980822
42 DIST crystal-0.27.2.tar.gz 2061466 BLAKE2B 49f4d2c33412589e7ea131460508a8716d10285d6e248d4e6f9287acc559a864737af2317f2a50332b68704d9d0bf6d3e4d13ad5e5a66e433dbbdd1bc8e523bc SHA512 dcb5948f373d4a7b17e6bdd45697a43e86ec7eb38bdafaade982df9adacbc5a24f2b08f327e41b853bb8f6ec8272411d14defee4e510c430c5dd1370afca42ae
43 DIST crystal-0.28.0-1-linux-i686.tar.gz 31888259 BLAKE2B a2f72a5e05abbcc7f4a6003f22ad059e07de59660f114d8e5d0fa225ac51d2465174c41cc81dd7c561f52832ffd9203a0a1cf5606e8633e36fcecd3899463775 SHA512 bc0fcb199abacc068e907f0e8fc8feeecfda4e5312201b4a6af96e76730df3130f6d9f40141c3182c9e99c0600455124cb33ef60194fb4e47ea3826d7090e755
44 DIST crystal-0.28.0-1-linux-x86_64.tar.gz 30088308 BLAKE2B e12b0cc9aa5ef354e0f06423a8d3be54ba42eee358cdfd7c6632d5ea08c2ed7e441eb4e162224cf8780bd3ba33e02916f1a7d061a48577d8a4d0eed4578723b3 SHA512 13b7b889ee6d17b905375883baa883fc4d631f6a22c2399aafba1020142e96072670f46584264445b531ece87c6f4b3e89367c62b0c2587c119dd6242ec06762
45
46 diff --git a/dev-lang/crystal/crystal-0.24.2.ebuild b/dev-lang/crystal/crystal-0.24.2.ebuild
47 deleted file mode 100644
48 index 84884cb69fb..00000000000
49 --- a/dev-lang/crystal/crystal-0.24.2.ebuild
50 +++ /dev/null
51 @@ -1,104 +0,0 @@
52 -# Copyright 1999-2018 Gentoo Foundation
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=6
56 -
57 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
58 -
59 -BV=0.23.0-1
60 -BV_AMD64=${BV}-linux-x86_64
61 -BV_X86=${BV}-linux-i686
62 -
63 -DESCRIPTION="The Crystal Programming Language"
64 -HOMEPAGE="https://crystal-lang.org"
65 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
66 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_AMD64}.tar.gz )
67 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${PV}/crystal-${BV_X86}.tar.gz )"
68 -
69 -LICENSE="Apache-2.0"
70 -SLOT="0"
71 -KEYWORDS="~amd64"
72 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
73 -
74 -LLVM_MAX_SLOT=5
75 -
76 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
77 -DEPEND="
78 - sys-devel/llvm:${LLVM_MAX_SLOT}
79 - dev-libs/boehm-gc[static-libs,threads]
80 - dev-libs/libatomic_ops
81 - dev-libs/libevent
82 - dev-libs/libpcre
83 - sys-libs/libunwind
84 - dev-libs/pcl
85 - dev-libs/gmp:0
86 -"
87 -RDEPEND="${DEPEND}
88 - xml? ( dev-libs/libxml2 )
89 - yaml? ( dev-libs/libyaml )
90 -"
91 -
92 -PATCHES=(
93 - "${FILESDIR}"/${PN}-0.24.0-verbose-LDFLAGS.patch
94 - "${FILESDIR}"/${PN}-0.24.2-gentoo-tests-sandbox.patch
95 - "${FILESDIR}"/${PN}-0.24.2-gentoo-tests-network-sandbox.patch
96 -)
97 -
98 -src_prepare() {
99 - default
100 -
101 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
102 -}
103 -
104 -src_compile() {
105 - emake \
106 - $(usex debug "" release=1) \
107 - progress=true \
108 - stats=1 \
109 - threads=$(makeopts_jobs) \
110 - verbose=1 \
111 - \
112 - CC=$(tc-getCC) \
113 - CXX=$(tc-getCXX) \
114 - AR=$(tc-getAR) \
115 - \
116 - PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
117 - CRYSTAL_PATH=src \
118 - CRYSTAL_CONFIG_VERSION=${PV} \
119 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
120 - use doc && emake docs
121 -}
122 -
123 -src_test() {
124 - emake spec \
125 - $(usex debug "" release=1) \
126 - progress=true \
127 - stats=1 \
128 - threads=$(makeopts_jobs) \
129 - verbose=1 \
130 - \
131 - CC=$(tc-getCC) \
132 - CXX=$(tc-getCXX) \
133 - AR=$(tc-getAR) \
134 - \
135 - CRYSTAL_PATH=src \
136 - CRYSTAL_CONFIG_VERSION=${PV}
137 -}
138 -
139 -src_install() {
140 - insinto /usr/$(get_libdir)/crystal
141 - doins -r src/.
142 - dobin .build/crystal
143 -
144 - insinto /usr/share/zsh/site-functions
145 - newins etc/completion.zsh _crystal
146 -
147 - use examples && dodoc -r samples
148 -
149 - if use doc ; then
150 - docinto api
151 - dodoc -r docs/.
152 - fi
153 -
154 - newbashcomp etc/completion.bash ${PN}
155 -}
156
157 diff --git a/dev-lang/crystal/crystal-0.25.0.ebuild b/dev-lang/crystal/crystal-0.25.0.ebuild
158 deleted file mode 100644
159 index 2dbfe3e736d..00000000000
160 --- a/dev-lang/crystal/crystal-0.25.0.ebuild
161 +++ /dev/null
162 @@ -1,104 +0,0 @@
163 -# Copyright 1999-2018 Gentoo Foundation
164 -# Distributed under the terms of the GNU General Public License v2
165 -
166 -EAPI=6
167 -
168 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
169 -
170 -BV=0.24.2
171 -BV_AMD64=${BV}-1-linux-x86_64
172 -BV_X86=${BV}-1-linux-i686
173 -
174 -DESCRIPTION="The Crystal Programming Language"
175 -HOMEPAGE="https://crystal-lang.org"
176 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
177 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/}/crystal-${BV_AMD64}.tar.gz )
178 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV}/crystal-${BV_X86}.tar.gz )"
179 -
180 -LICENSE="Apache-2.0"
181 -SLOT="0"
182 -KEYWORDS="~amd64"
183 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
184 -
185 -LLVM_MAX_SLOT=6
186 -
187 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
188 -DEPEND="
189 - sys-devel/llvm:${LLVM_MAX_SLOT}
190 - dev-libs/boehm-gc[static-libs,threads]
191 - dev-libs/libatomic_ops
192 - dev-libs/libevent
193 - dev-libs/libpcre
194 - sys-libs/libunwind
195 - dev-libs/pcl
196 - dev-libs/gmp:0
197 -"
198 -RDEPEND="${DEPEND}
199 - xml? ( dev-libs/libxml2 )
200 - yaml? ( dev-libs/libyaml )
201 -"
202 -
203 -PATCHES=(
204 - "${FILESDIR}"/${PN}-0.25.0-verbose.patch
205 - "${FILESDIR}"/${PN}-0.24.2-gentoo-tests-sandbox.patch
206 - "${FILESDIR}"/${PN}-0.24.2-gentoo-tests-network-sandbox.patch
207 -)
208 -
209 -src_prepare() {
210 - default
211 -
212 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
213 -}
214 -
215 -src_compile() {
216 - emake \
217 - $(usex debug "" release=1) \
218 - progress=true \
219 - stats=1 \
220 - threads=$(makeopts_jobs) \
221 - verbose=1 \
222 - \
223 - CC=$(tc-getCC) \
224 - CXX=$(tc-getCXX) \
225 - AR=$(tc-getAR) \
226 - \
227 - PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
228 - CRYSTAL_PATH=src \
229 - CRYSTAL_CONFIG_VERSION=${PV} \
230 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
231 - use doc && emake docs
232 -}
233 -
234 -src_test() {
235 - emake spec \
236 - $(usex debug "" release=1) \
237 - progress=true \
238 - stats=1 \
239 - threads=$(makeopts_jobs) \
240 - verbose=1 \
241 - \
242 - CC=$(tc-getCC) \
243 - CXX=$(tc-getCXX) \
244 - AR=$(tc-getAR) \
245 - \
246 - CRYSTAL_PATH=src \
247 - CRYSTAL_CONFIG_VERSION=${PV}
248 -}
249 -
250 -src_install() {
251 - insinto /usr/$(get_libdir)/crystal
252 - doins -r src/.
253 - dobin .build/crystal
254 -
255 - insinto /usr/share/zsh/site-functions
256 - newins etc/completion.zsh _crystal
257 -
258 - use examples && dodoc -r samples
259 -
260 - if use doc ; then
261 - docinto api
262 - dodoc -r docs/.
263 - fi
264 -
265 - newbashcomp etc/completion.bash ${PN}
266 -}
267
268 diff --git a/dev-lang/crystal/crystal-0.26.0.ebuild b/dev-lang/crystal/crystal-0.26.0.ebuild
269 deleted file mode 100644
270 index 59268e937a6..00000000000
271 --- a/dev-lang/crystal/crystal-0.26.0.ebuild
272 +++ /dev/null
273 @@ -1,105 +0,0 @@
274 -# Copyright 1999-2018 Gentoo Foundation
275 -# Distributed under the terms of the GNU General Public License v2
276 -
277 -EAPI=6
278 -
279 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
280 -
281 -BV=0.25.1-1
282 -BV_AMD64=${BV}-linux-x86_64
283 -BV_X86=${BV}-linux-i686
284 -
285 -DESCRIPTION="The Crystal Programming Language"
286 -HOMEPAGE="https://crystal-lang.org"
287 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
288 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
289 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
290 -
291 -LICENSE="Apache-2.0"
292 -SLOT="0"
293 -KEYWORDS="~amd64"
294 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
295 -
296 -LLVM_MAX_SLOT=6
297 -
298 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
299 -DEPEND="
300 - sys-devel/llvm:${LLVM_MAX_SLOT}
301 - dev-libs/boehm-gc[static-libs,threads]
302 - dev-libs/libatomic_ops
303 - dev-libs/libevent
304 - dev-libs/libpcre
305 - sys-libs/libunwind
306 - dev-libs/pcl
307 - dev-libs/gmp:0
308 -"
309 -RDEPEND="${DEPEND}
310 - xml? ( dev-libs/libxml2 )
311 - yaml? ( dev-libs/libyaml )
312 -"
313 -
314 -PATCHES=(
315 - "${FILESDIR}"/${PN}-0.25.0-verbose.patch
316 - "${FILESDIR}"/${PN}-0.24.2-gentoo-tests-sandbox.patch
317 - "${FILESDIR}"/${PN}-0.24.2-gentoo-tests-network-sandbox.patch
318 - "${FILESDIR}"/${PN}-0.26.0-gentoo-tests-network-sandbox-2.patch
319 -)
320 -
321 -src_prepare() {
322 - default
323 -
324 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
325 -}
326 -
327 -src_compile() {
328 - emake \
329 - $(usex debug "" release=1) \
330 - progress=true \
331 - stats=1 \
332 - threads=$(makeopts_jobs) \
333 - verbose=1 \
334 - \
335 - CC=$(tc-getCC) \
336 - CXX=$(tc-getCXX) \
337 - AR=$(tc-getAR) \
338 - \
339 - PATH="${WORKDIR}"/${PN}-${BV}/bin:"${PATH}" \
340 - CRYSTAL_PATH=src \
341 - CRYSTAL_CONFIG_VERSION=${PV} \
342 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
343 - use doc && emake docs
344 -}
345 -
346 -src_test() {
347 - emake spec \
348 - $(usex debug "" release=1) \
349 - progress=true \
350 - stats=1 \
351 - threads=$(makeopts_jobs) \
352 - verbose=1 \
353 - \
354 - CC=$(tc-getCC) \
355 - CXX=$(tc-getCXX) \
356 - AR=$(tc-getAR) \
357 - \
358 - CRYSTAL_PATH=src \
359 - CRYSTAL_CONFIG_VERSION=${PV}
360 -}
361 -
362 -src_install() {
363 - insinto /usr/$(get_libdir)/crystal
364 - doins -r src/.
365 - dobin .build/crystal
366 -
367 - insinto /usr/share/zsh/site-functions
368 - newins etc/completion.zsh _crystal
369 -
370 - use examples && dodoc -r samples
371 -
372 - if use doc ; then
373 - docinto api
374 - dodoc -r docs/.
375 - fi
376 -
377 - newbashcomp etc/completion.bash ${PN}
378 -}
379
380 diff --git a/dev-lang/crystal/crystal-0.27.0.ebuild b/dev-lang/crystal/crystal-0.27.0.ebuild
381 deleted file mode 100644
382 index cb040059d96..00000000000
383 --- a/dev-lang/crystal/crystal-0.27.0.ebuild
384 +++ /dev/null
385 @@ -1,122 +0,0 @@
386 -# Copyright 1999-2018 Gentoo Authors
387 -# Distributed under the terms of the GNU General Public License v2
388 -
389 -EAPI=6
390 -
391 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
392 -
393 -BV=0.27.0-1
394 -BV_AMD64=${BV}-linux-x86_64
395 -BV_X86=${BV}-linux-i686
396 -
397 -DESCRIPTION="The Crystal Programming Language"
398 -HOMEPAGE="https://crystal-lang.org"
399 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
400 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
401 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
402 -
403 -LICENSE="Apache-2.0"
404 -SLOT="0"
405 -KEYWORDS="~amd64"
406 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
407 -
408 -# Not compatible with llvm-7
409 -LLVM_MAX_SLOT=6
410 -
411 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
412 -DEPEND="
413 - sys-devel/llvm:${LLVM_MAX_SLOT}
414 - dev-libs/boehm-gc[static-libs,threads]
415 - dev-libs/libatomic_ops
416 - dev-libs/libevent
417 - dev-libs/libpcre
418 - sys-libs/libunwind
419 - dev-libs/pcl
420 - dev-libs/gmp:0
421 -"
422 -RDEPEND="${DEPEND}
423 - xml? ( dev-libs/libxml2 )
424 - yaml? ( dev-libs/libyaml )
425 -"
426 -
427 -PATCHES=(
428 - "${FILESDIR}"/${PN}-0.25.0-verbose.patch
429 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
430 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
431 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
432 - "${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
433 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-network-sandbox.patch
434 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
435 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
436 - "${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
437 -)
438 -
439 -src_prepare() {
440 - default
441 -
442 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
443 -}
444 -
445 -src_compile() {
446 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
447 - if [[ ! -d ${bootstrap_path} ]]; then
448 - eerror "Binary tarball does not contain expected directory:"
449 - die "'${bootstrap_path}' path does not exist."
450 - fi
451 -
452 - emake \
453 - $(usex debug "" release=1) \
454 - progress=true \
455 - stats=1 \
456 - threads=$(makeopts_jobs) \
457 - verbose=1 \
458 - \
459 - CC=$(tc-getCC) \
460 - CXX=$(tc-getCXX) \
461 - AR=$(tc-getAR) \
462 - \
463 - PATH="${bootstrap_path}:${PATH}" \
464 - CRYSTAL_PATH=src \
465 - CRYSTAL_CONFIG_VERSION=${PV} \
466 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
467 - use doc && emake docs
468 -}
469 -
470 -src_test() {
471 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
472 - # as part of full build:
473 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
474 - emake spec \
475 - $(usex debug "" release=1) \
476 - progress=true \
477 - stats=1 \
478 - threads=$(makeopts_jobs) \
479 - verbose=1 \
480 - \
481 - CC=$(tc-getCC) \
482 - CXX=$(tc-getCXX) \
483 - AR=$(tc-getAR) \
484 - \
485 - CRYSTAL_PATH=src \
486 - CRYSTAL_CONFIG_VERSION=${PV} \
487 - \
488 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
489 -}
490 -
491 -src_install() {
492 - insinto /usr/$(get_libdir)/crystal
493 - doins -r src/.
494 - dobin .build/crystal
495 -
496 - insinto /usr/share/zsh/site-functions
497 - newins etc/completion.zsh _crystal
498 -
499 - use examples && dodoc -r samples
500 -
501 - if use doc ; then
502 - docinto api
503 - dodoc -r docs/.
504 - fi
505 -
506 - newbashcomp etc/completion.bash ${PN}
507 -}
508
509 diff --git a/dev-lang/crystal/crystal-0.27.1.ebuild b/dev-lang/crystal/crystal-0.27.1.ebuild
510 deleted file mode 100644
511 index d1888dfde89..00000000000
512 --- a/dev-lang/crystal/crystal-0.27.1.ebuild
513 +++ /dev/null
514 @@ -1,121 +0,0 @@
515 -# Copyright 1999-2019 Gentoo Authors
516 -# Distributed under the terms of the GNU General Public License v2
517 -
518 -EAPI=6
519 -
520 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
521 -
522 -BV=0.27.0-1
523 -BV_AMD64=${BV}-linux-x86_64
524 -BV_X86=${BV}-linux-i686
525 -
526 -DESCRIPTION="The Crystal Programming Language"
527 -HOMEPAGE="https://crystal-lang.org"
528 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
529 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
530 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
531 -
532 -LICENSE="Apache-2.0"
533 -SLOT="0"
534 -KEYWORDS="~amd64"
535 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
536 -
537 -# Not compatible with llvm-7
538 -LLVM_MAX_SLOT=6
539 -
540 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
541 -DEPEND="
542 - sys-devel/llvm:${LLVM_MAX_SLOT}
543 - dev-libs/boehm-gc[static-libs,threads]
544 - dev-libs/libatomic_ops
545 - dev-libs/libevent
546 - dev-libs/libpcre
547 - sys-libs/libunwind
548 - dev-libs/pcl
549 - dev-libs/gmp:0
550 -"
551 -RDEPEND="${DEPEND}
552 - xml? ( dev-libs/libxml2 )
553 - yaml? ( dev-libs/libyaml )
554 -"
555 -
556 -PATCHES=(
557 - "${FILESDIR}"/${PN}-0.27.1-verbose.patch
558 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
559 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-network-sandbox-3.patch
560 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
561 - "${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
562 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
563 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
564 - "${FILESDIR}"/${PN}-0.27.0-tcp-server-test.patch
565 -)
566 -
567 -src_prepare() {
568 - default
569 -
570 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
571 -}
572 -
573 -src_compile() {
574 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
575 - if [[ ! -d ${bootstrap_path} ]]; then
576 - eerror "Binary tarball does not contain expected directory:"
577 - die "'${bootstrap_path}' path does not exist."
578 - fi
579 -
580 - emake \
581 - $(usex debug "" release=1) \
582 - progress=true \
583 - stats=1 \
584 - threads=$(makeopts_jobs) \
585 - verbose=1 \
586 - \
587 - CC=$(tc-getCC) \
588 - CXX=$(tc-getCXX) \
589 - AR=$(tc-getAR) \
590 - \
591 - PATH="${bootstrap_path}:${PATH}" \
592 - CRYSTAL_PATH=src \
593 - CRYSTAL_CONFIG_VERSION=${PV} \
594 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
595 - use doc && emake docs
596 -}
597 -
598 -src_test() {
599 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
600 - # as part of full build:
601 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
602 - emake spec \
603 - $(usex debug "" release=1) \
604 - progress=true \
605 - stats=1 \
606 - threads=$(makeopts_jobs) \
607 - verbose=1 \
608 - \
609 - CC=$(tc-getCC) \
610 - CXX=$(tc-getCXX) \
611 - AR=$(tc-getAR) \
612 - \
613 - CRYSTAL_PATH=src \
614 - CRYSTAL_CONFIG_VERSION=${PV} \
615 - \
616 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
617 -}
618 -
619 -src_install() {
620 - insinto /usr/$(get_libdir)/crystal
621 - doins -r src/.
622 - dobin .build/crystal
623 -
624 - insinto /usr/share/zsh/site-functions
625 - newins etc/completion.zsh _crystal
626 -
627 - use examples && dodoc -r samples
628 -
629 - if use doc ; then
630 - docinto api
631 - dodoc -r docs/.
632 - fi
633 -
634 - newbashcomp etc/completion.bash ${PN}
635 -}