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: Sat, 02 May 2020 17:51:52
Message-Id: 1588441893.c2529c72b7bb30655b88e4b49bf49522be799530.slyfox@gentoo
1 commit: c2529c72b7bb30655b88e4b49bf49522be799530
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 2 17:49:05 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 2 17:51:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2529c72
7
8 dev-lang/crystal: drop old
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-lang/crystal/Manifest | 6 --
14 dev-lang/crystal/crystal-0.32.1.ebuild | 121 ---------------------------------
15 dev-lang/crystal/crystal-0.33.0.ebuild | 121 ---------------------------------
16 3 files changed, 248 deletions(-)
17
18 diff --git a/dev-lang/crystal/Manifest b/dev-lang/crystal/Manifest
19 index d0d69e11e9a..c95304892ed 100644
20 --- a/dev-lang/crystal/Manifest
21 +++ b/dev-lang/crystal/Manifest
22 @@ -1,9 +1,3 @@
23 -DIST crystal-0.32.1-1-linux-i686.tar.gz 30062609 BLAKE2B 658cd453465a1c4de44c0b010593aa19a68b93569482202baba948dc58f018d38cbefda083592145a141e7dfc574eddb7ccf0a41613a7a7d5ea8d12ed8f72d08 SHA512 34127ad25a1e290b8f17fa7de9465083955ae16a049bab8a927f90df4f2c87c7a59e2c8123f7ec0d0de691130e51749b104ccf11ea68005c267ab98c322156f3
24 -DIST crystal-0.32.1-1-linux-x86_64.tar.gz 27348617 BLAKE2B 96410f00843d21cea4ed6f8d4896438334f577b6e593e72a0be23d3e1a460199bffc456ddb675a257c5a973353c1a8d28f69263b8517e0009e54d2f2f19535fe SHA512 85524c38cd91fbe56ab7d14c3a05a1a3f3e3fc0f618e5fa5af010716f76b1dc0cc415cbc67e16c99fd2e8860412d7e2566f510c751de0ad4373361edbcee0475
25 -DIST crystal-0.32.1.tar.gz 2225383 BLAKE2B 81cdda508945ebea481c3ad784ecdccffe25e4726d2f63feb1a4995b48041fbf2cbe226bebcbf9f9627d2161d167ccb502626a9d51f787dc8e48fd607f310ff8 SHA512 d83575f4c7953054824f13516cdc04bd7576bf7165754d96a9f4970e2a6cbf779b4db6806d3eeac465ed0c223c203ef95fc3bda70d1ef9f7c96ec96cd076283d
26 -DIST crystal-0.33.0-1-linux-i686.tar.gz 29627750 BLAKE2B 284c300eb57e9192c367b1692c95a8da584820ecd068515cf59174106bdcd4341033e68ecdcc64a263dcf1c69ca58f9403e9b4b8e166c86b1b6747e4e0d2ea92 SHA512 8ff065555e5782a84575ddc8210f92bc6d5702692e2674be4fcef470dfeff3ec325954eb665b222cb3f332e335cae4ae49cc06ffe4ce939519d0947225b452b4
27 -DIST crystal-0.33.0-1-linux-x86_64.tar.gz 27553242 BLAKE2B c24ab3e1577c33de9e9de2fa03f0fe831821b70b72ee9fb421eab9aed8b0ba357547160be9fff20c30b2d52e6c6d75bbde19dc322638c5c3f33ba2aa14dbf4c4 SHA512 7c815335ff882effd9dfc22cbeec6cee6e014805bf048bedf4476b1ecdf3a87bd8d53543c78be3493f937659a88041cd5370814eba043c81f23e7ef707ccd834
28 -DIST crystal-0.33.0.tar.gz 2242162 BLAKE2B 0d9dbdd230bb190209772fafaeb1d59008cbe90b0bd33f851886bf90e7ac497c0bcef7609d6295dd4a4bad213fb687dea3d16c42ebe3bc92b3e06df156c53570 SHA512 41f518ec5c8f2f2cffb84105e0cc5096d4ba7ef64887ad0089aa37109fa5fa8e28747fe4f4ca8a74012e7b77d8c7a9d72cd9da787a330a4a62b5e55b40f0e57b
29 DIST crystal-0.34.0-1-linux-i686.tar.gz 30161592 BLAKE2B b53dd3c3fb36ae7654396bcca305dbdd32c90f72e3e549fd054517230df3fdadcc07056d4a53c600e1fbae14ce79b66268191a3a01f27e1d625451865a414774 SHA512 47874a6a349dcf42b92532c4d454f8c65f2f94d78240f2a5baa865063ed373410be0ff5e457d4d1c3483ce8965e894fa918973fa03ee934f226a56a8a544f8d0
30 DIST crystal-0.34.0-1-linux-x86_64.tar.gz 28036344 BLAKE2B dbd9305cadfda3a9d072672c91a0a7e9b230507d69c84735af900c40e602dbd6777b48ddce679935b87cff669d0534a8d65b09dc0fa6d8167f66117ba8468f8a SHA512 291713acb6291c106e60c2b7bcdab33a6df3d6f464c81392ea340b25d01d301c743c0d81f29eb9b32a2099203775a8fc2df9617f90c28699e4864bee16f4252e
31 DIST crystal-0.34.0.tar.gz 2270363 BLAKE2B bef2f09ef45ed9c7c9ffc5bcc9e8d6516c799b60ae3d87d5512fcd36634231091c1c534a708059362c3e5bc9db36a377dffd2dbca4290964362ea8740345e4f2 SHA512 6167ca5974d02167fe695cc51fe8ef95e56076a2af88eae39a12b07930b96ca0b30d53fd7c6e2296139d89a1c7eacfce5326f25a8fa3487cdb446ab592723f66
32
33 diff --git a/dev-lang/crystal/crystal-0.32.1.ebuild b/dev-lang/crystal/crystal-0.32.1.ebuild
34 deleted file mode 100644
35 index bc3abe915ac..00000000000
36 --- a/dev-lang/crystal/crystal-0.32.1.ebuild
37 +++ /dev/null
38 @@ -1,121 +0,0 @@
39 -# Copyright 1999-2019 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=7
43 -
44 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
45 -
46 -BV=${PV}-1
47 -BV_AMD64=${BV}-linux-x86_64
48 -BV_X86=${BV}-linux-i686
49 -
50 -DESCRIPTION="The Crystal Programming Language"
51 -HOMEPAGE="https://crystal-lang.org"
52 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
53 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
54 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
55 -
56 -LICENSE="Apache-2.0"
57 -SLOT="0"
58 -KEYWORDS="~amd64"
59 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
60 -
61 -RESTRICT=test # not stable for day-to-day runs
62 -
63 -LLVM_MAX_SLOT=9
64 -
65 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
66 -DEPEND="
67 - sys-devel/llvm:${LLVM_MAX_SLOT}
68 - dev-libs/boehm-gc[static-libs,threads]
69 - dev-libs/libatomic_ops
70 - dev-libs/libevent
71 - dev-libs/libpcre
72 - sys-libs/libunwind
73 - dev-libs/pcl
74 - dev-libs/gmp:0
75 -"
76 -RDEPEND="${DEPEND}
77 - xml? ( dev-libs/libxml2 )
78 - yaml? ( dev-libs/libyaml )
79 -"
80 -
81 -PATCHES=(
82 - "${FILESDIR}"/${PN}-0.31.0-verbose.patch
83 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
84 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
85 - #"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
86 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
87 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
88 - "${FILESDIR}"/${PN}-0.29.0-no-usr-lib.patch
89 -)
90 -
91 -src_prepare() {
92 - default
93 -
94 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
95 -}
96 -
97 -src_compile() {
98 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
99 - if [[ ! -d ${bootstrap_path} ]]; then
100 - eerror "Binary tarball does not contain expected directory:"
101 - die "'${bootstrap_path}' path does not exist."
102 - fi
103 -
104 - emake \
105 - $(usex debug "" release=1) \
106 - progress=true \
107 - stats=1 \
108 - threads=$(makeopts_jobs) \
109 - verbose=1 \
110 - \
111 - CC=$(tc-getCC) \
112 - CXX=$(tc-getCXX) \
113 - AR=$(tc-getAR) \
114 - \
115 - PATH="${bootstrap_path}:${PATH}" \
116 - CRYSTAL_PATH=src \
117 - CRYSTAL_CONFIG_VERSION=${PV} \
118 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
119 - use doc && emake docs
120 -}
121 -
122 -src_test() {
123 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
124 - # as part of full build:
125 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
126 - emake spec \
127 - $(usex debug "" release=1) \
128 - progress=true \
129 - stats=1 \
130 - threads=$(makeopts_jobs) \
131 - verbose=1 \
132 - \
133 - CC=$(tc-getCC) \
134 - CXX=$(tc-getCXX) \
135 - AR=$(tc-getAR) \
136 - \
137 - CRYSTAL_PATH=src \
138 - CRYSTAL_CONFIG_VERSION=${PV} \
139 - \
140 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
141 -}
142 -
143 -src_install() {
144 - insinto /usr/$(get_libdir)/crystal
145 - doins -r src/.
146 - dobin .build/crystal
147 -
148 - insinto /usr/share/zsh/site-functions
149 - newins etc/completion.zsh _crystal
150 -
151 - use examples && dodoc -r samples
152 -
153 - if use doc ; then
154 - docinto api
155 - dodoc -r docs/.
156 - fi
157 -
158 - newbashcomp etc/completion.bash ${PN}
159 -}
160
161 diff --git a/dev-lang/crystal/crystal-0.33.0.ebuild b/dev-lang/crystal/crystal-0.33.0.ebuild
162 deleted file mode 100644
163 index 5085b24c8b0..00000000000
164 --- a/dev-lang/crystal/crystal-0.33.0.ebuild
165 +++ /dev/null
166 @@ -1,121 +0,0 @@
167 -# Copyright 1999-2020 Gentoo Authors
168 -# Distributed under the terms of the GNU General Public License v2
169 -
170 -EAPI=7
171 -
172 -inherit bash-completion-r1 llvm multiprocessing toolchain-funcs
173 -
174 -BV=${PV}-1
175 -BV_AMD64=${BV}-linux-x86_64
176 -BV_X86=${BV}-linux-i686
177 -
178 -DESCRIPTION="The Crystal Programming Language"
179 -HOMEPAGE="https://crystal-lang.org"
180 -SRC_URI="https://github.com/crystal-lang/crystal/archive/${PV}.tar.gz -> ${P}.tar.gz
181 - amd64? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_AMD64}.tar.gz )
182 - x86? ( https://github.com/crystal-lang/crystal/releases/download/${BV/-*}/crystal-${BV_X86}.tar.gz )"
183 -
184 -LICENSE="Apache-2.0"
185 -SLOT="0"
186 -KEYWORDS="~amd64"
187 -IUSE="doc debug examples blocking-stdio-hack +xml +yaml"
188 -
189 -RESTRICT=test # not stable for day-to-day runs
190 -
191 -LLVM_MAX_SLOT=9
192 -
193 -# dev-libs/boehm-gc[static-libs] dependency problem, check the issue: https://github.com/manastech/crystal/issues/1382
194 -DEPEND="
195 - sys-devel/llvm:${LLVM_MAX_SLOT}
196 - dev-libs/boehm-gc[static-libs,threads]
197 - dev-libs/libatomic_ops
198 - dev-libs/libevent
199 - dev-libs/libpcre
200 - sys-libs/libunwind
201 - dev-libs/pcl
202 - dev-libs/gmp:0
203 -"
204 -RDEPEND="${DEPEND}
205 - xml? ( dev-libs/libxml2 )
206 - yaml? ( dev-libs/libyaml )
207 -"
208 -
209 -PATCHES=(
210 - "${FILESDIR}"/${PN}-0.31.0-verbose.patch
211 - "${FILESDIR}"/${PN}-0.26.1-gentoo-tests-sandbox.patch
212 - "${FILESDIR}"/${PN}-0.27.0-extra-spec-flags.patch
213 - #"${FILESDIR}"/${PN}-0.27.0-max-age-0-test.patch
214 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix.patch
215 - "${FILESDIR}"/${PN}-0.27.0-gentoo-tests-long-unix-2.patch
216 - "${FILESDIR}"/${PN}-0.29.0-no-usr-lib.patch
217 -)
218 -
219 -src_prepare() {
220 - default
221 -
222 - use blocking-stdio-hack && eapply "${FILESDIR}"/"${PN}"-0.22.0-blocking-stdio-hack.patch
223 -}
224 -
225 -src_compile() {
226 - local bootstrap_path=${WORKDIR}/${PN}-${BV}/bin
227 - if [[ ! -d ${bootstrap_path} ]]; then
228 - eerror "Binary tarball does not contain expected directory:"
229 - die "'${bootstrap_path}' path does not exist."
230 - fi
231 -
232 - emake \
233 - $(usex debug "" release=1) \
234 - progress=true \
235 - stats=1 \
236 - threads=$(makeopts_jobs) \
237 - verbose=1 \
238 - \
239 - CC=$(tc-getCC) \
240 - CXX=$(tc-getCXX) \
241 - AR=$(tc-getAR) \
242 - \
243 - PATH="${bootstrap_path}:${PATH}" \
244 - CRYSTAL_PATH=src \
245 - CRYSTAL_CONFIG_VERSION=${PV} \
246 - CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
247 - use doc && emake docs
248 -}
249 -
250 -src_test() {
251 - # EXTRA_SPEC_FLAGS is useful to debug individual tests
252 - # as part of full build:
253 - # USE=debug EXTRA_SPEC_FLAGS='-e parse_set_cookie' emerge -1 crystal
254 - emake spec \
255 - $(usex debug "" release=1) \
256 - progress=true \
257 - stats=1 \
258 - threads=$(makeopts_jobs) \
259 - verbose=1 \
260 - \
261 - CC=$(tc-getCC) \
262 - CXX=$(tc-getCXX) \
263 - AR=$(tc-getAR) \
264 - \
265 - CRYSTAL_PATH=src \
266 - CRYSTAL_CONFIG_VERSION=${PV} \
267 - \
268 - "EXTRA_SPEC_FLAGS=${EXTRA_SPEC_FLAGS}"
269 -}
270 -
271 -src_install() {
272 - insinto /usr/$(get_libdir)/crystal
273 - doins -r src/.
274 - dobin .build/crystal
275 -
276 - insinto /usr/share/zsh/site-functions
277 - newins etc/completion.zsh _crystal
278 -
279 - use examples && dodoc -r samples
280 -
281 - if use doc ; then
282 - docinto api
283 - dodoc -r docs/.
284 - fi
285 -
286 - newbashcomp etc/completion.bash ${PN}
287 -}