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