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/nim/
Date: Tue, 01 Jan 2019 21:14:38
Message-Id: 1546377267.8ba5773ae1b8ac7849a66035310afdfd6b16ee05.slyfox@gentoo
1 commit: 8ba5773ae1b8ac7849a66035310afdfd6b16ee05
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 1 21:14:17 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 1 21:14:27 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba5773a
7
8 dev-lang/nim: drop old
9
10 Package-Manager: Portage-2.3.53, Repoman-2.3.12
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-lang/nim/Manifest | 4 ---
14 dev-lang/nim/nim-0.16.0.ebuild | 54 ----------------------------
15 dev-lang/nim/nim-0.17.0.ebuild | 51 --------------------------
16 dev-lang/nim/nim-0.17.2-r1.ebuild | 65 ---------------------------------
17 dev-lang/nim/nim-0.17.2.ebuild | 59 ------------------------------
18 dev-lang/nim/nim-0.18.0.ebuild | 75 ---------------------------------------
19 6 files changed, 308 deletions(-)
20
21 diff --git a/dev-lang/nim/Manifest b/dev-lang/nim/Manifest
22 index 7e9b9967b0f..627679b2b8d 100644
23 --- a/dev-lang/nim/Manifest
24 +++ b/dev-lang/nim/Manifest
25 @@ -1,6 +1,2 @@
26 -DIST nim-0.16.0.tar.xz 2907076 BLAKE2B 5f14bb2634da32deb810381edf817e3885382ffce0a35db0ae3faca818bb0f5646b1619609e971fbe93ef383f3c4060029bf51a12ef0b4df75ebf0dde12753b5 SHA512 6be1c00328b7e5bdaa9070e1cd0e3c6e1883c5bc1e44e9c574785f9bce93697f05753f598cf6fdaa6c5a66f08c2ad6f7afb8f6650fc3b1c8e461eb0cf80baabd
27 -DIST nim-0.17.0.tar.xz 25079320 BLAKE2B d01ade93ff299962aeea3dc9c90f0a8fe87acef8c2ee6d7d521d936c680aded0d8383221b7c11c3b2a8d6c28311c939456f271bbc90c1115acaae2c1987fa908 SHA512 90d709b39746fac5582b9df69d3eb9e3b7a39563a98f7a3002f00716b936e4e0d2be47d8b877878318692e6e2b85c08077dfcc20d9059573a1967402c244894b
28 -DIST nim-0.17.2.tar.xz 4083084 BLAKE2B c1a4134592bb6a57bfaf6174becb409e40075c77042964c639b39fe7b30f094bfc8d404d6e1e4e527a95333a8ee4597477f1052da1af58c3216042bb2f85c826 SHA512 7b4ed1eb1e9067ce72b76b95c43ec74eb38f04611776c174ba6a697254a9253fed61258712fb938f15e662bb3b0d36138194fc8fa89bbcb4d22888263e5e2880
29 -DIST nim-0.18.0.tar.xz 4412632 BLAKE2B f7286542daa4c3502f4edeb9d93e6a69169228a50248f1c5c02421cb8e70c0ab99bc84cc91b35a6227a4974345423eeb3b5ffecdb18e321b0a82eb8fd0879a16 SHA512 8f59cb4a8d44949cdd1154fb44df548005329da8255becf2f54083ce58323ff8d6cf7b2fdd86d4b1f446bd9f977e8eaf4b13c7ca6723da8a10c7b671954de772
30 DIST nim-0.19.0.tar.xz 3321644 BLAKE2B e1de3b8a4c756315bcd110ddc62c03eb1a379403d8c102eb4d6d131cccabe3dccdfdac33d46037fd8b3b241d727acb42f5cb0b616a4079830ea3abf63089f90a SHA512 f7f3c8e0e9a6509b6404e21da4693ceb279112dd7a7c39edc7e717f21554442914c9cf7d811bb4034ff244e34d77dabf6e09b5e3e77c37314adf99cc0c3b2311
31 DIST nim-0.19.2.tar.xz 21176300 BLAKE2B 85250ca174c2ef6ee77e8c1a2b35316bb9b21e591438d7d3bf560c0d38f1ba64c811ef99c0c3147acceddd6d27fcd5ff2dfccf65cb92218484649f1029e0dd1b SHA512 fc7ab034dcdf3cb5f1cc379595ee9ae6da7c6256eef4b294e3bf31ff559efd48598a9974ca9a0f41d899f01af6a916feb9c5eb7f888f637287ce357722d41421
32
33 diff --git a/dev-lang/nim/nim-0.16.0.ebuild b/dev-lang/nim/nim-0.16.0.ebuild
34 deleted file mode 100644
35 index 6f4bf09dcfa..00000000000
36 --- a/dev-lang/nim/nim-0.16.0.ebuild
37 +++ /dev/null
38 @@ -1,54 +0,0 @@
39 -# Copyright 1999-2017 Gentoo Foundation
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=6
43 -
44 -MY_PN=Nim
45 -MY_P=${MY_PN}-${PV}
46 -
47 -DESCRIPTION="compiled, garbage-collected systems programming language"
48 -HOMEPAGE="https://nim-lang.org/"
49 -SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~arm ~x86"
54 -IUSE="doc +readline test"
55 -
56 -DEPEND="
57 - readline? ( sys-libs/readline:0= )
58 -"
59 -RDEPEND="${DEPEND}"
60 -
61 -nim_use_enable() {
62 - [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
63 - use $1 && echo "-d:$2"
64 -}
65 -
66 -src_compile() {
67 - ./build.sh || die "build.sh failed"
68 -
69 - ./bin/nim c koch || die "csources nim failed"
70 - ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
71 -
72 - if use doc; then
73 - PATH="./bin:$PATH" ./koch web || die "koch web failed"
74 - fi
75 -}
76 -
77 -src_test() {
78 - PATH="./bin:$PATH" ./koch test || die "test suite failed"
79 -}
80 -
81 -src_install() {
82 - ./koch install "${D}/usr" || die "koch install failed"
83 - rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
84 -
85 - dodir /usr/bin
86 - dosym ../nim/bin/nim /usr/bin/nim
87 -
88 - if use doc; then
89 - insinto /usr/share/doc/${PF}
90 - dodoc doc/*.html
91 - fi
92 -}
93
94 diff --git a/dev-lang/nim/nim-0.17.0.ebuild b/dev-lang/nim/nim-0.17.0.ebuild
95 deleted file mode 100644
96 index be6d8989a30..00000000000
97 --- a/dev-lang/nim/nim-0.17.0.ebuild
98 +++ /dev/null
99 @@ -1,51 +0,0 @@
100 -# Copyright 1999-2017 Gentoo Foundation
101 -# Distributed under the terms of the GNU General Public License v2
102 -
103 -EAPI=6
104 -
105 -DESCRIPTION="compiled, garbage-collected systems programming language"
106 -HOMEPAGE="https://nim-lang.org/"
107 -SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
108 -
109 -LICENSE="MIT"
110 -SLOT="0"
111 -KEYWORDS="~amd64 ~arm ~x86"
112 -IUSE="doc +readline test"
113 -
114 -DEPEND="
115 - readline? ( sys-libs/readline:0= )
116 -"
117 -RDEPEND="${DEPEND}"
118 -
119 -nim_use_enable() {
120 - [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
121 - use $1 && echo "-d:$2"
122 -}
123 -
124 -src_compile() {
125 - ./build.sh || die "build.sh failed"
126 -
127 - ./bin/nim c koch || die "csources nim failed"
128 - ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
129 -
130 - if use doc; then
131 - PATH="./bin:$PATH" ./koch web || die "koch web failed"
132 - fi
133 -}
134 -
135 -src_test() {
136 - PATH="./bin:$PATH" ./koch test || die "test suite failed"
137 -}
138 -
139 -src_install() {
140 - ./koch install "${D}/usr" || die "koch install failed"
141 - rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
142 -
143 - dodir /usr/bin
144 - dosym ../nim/bin/nim /usr/bin/nim
145 -
146 - if use doc; then
147 - insinto /usr/share/doc/${PF}
148 - dodoc doc/*.html
149 - fi
150 -}
151
152 diff --git a/dev-lang/nim/nim-0.17.2-r1.ebuild b/dev-lang/nim/nim-0.17.2-r1.ebuild
153 deleted file mode 100644
154 index b5b88357cd2..00000000000
155 --- a/dev-lang/nim/nim-0.17.2-r1.ebuild
156 +++ /dev/null
157 @@ -1,65 +0,0 @@
158 -# Copyright 1999-2017 Gentoo Foundation
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=6
162 -
163 -inherit bash-completion-r1
164 -
165 -DESCRIPTION="compiled, garbage-collected systems programming language"
166 -HOMEPAGE="https://nim-lang.org/"
167 -SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
168 -
169 -LICENSE="MIT"
170 -SLOT="0"
171 -KEYWORDS="~amd64 ~arm ~x86"
172 -IUSE="doc +readline test"
173 -
174 -DEPEND="
175 - readline? ( sys-libs/readline:0= )
176 -"
177 -RDEPEND="${DEPEND}"
178 -
179 -nim_use_enable() {
180 - [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
181 - use $1 && echo "-d:$2"
182 -}
183 -
184 -src_compile() {
185 - ./build.sh || die "build.sh failed"
186 -
187 - ./bin/nim c koch || die "csources nim failed"
188 - ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
189 - # build nimble and friends
190 - PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
191 -
192 - if use doc; then
193 - PATH="./bin:$PATH" ./koch web || die "koch web failed"
194 - fi
195 -}
196 -
197 -src_test() {
198 - PATH="./bin:$PATH" ./koch test || die "test suite failed"
199 -}
200 -
201 -src_install() {
202 - PATH="./bin:$PATH" ./koch install "${ED}/usr" || die "koch install failed"
203 - rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
204 -
205 - dodir /usr/bin
206 - exeinto /usr/nim/bin
207 -
208 - local bin_exe
209 - for bin_exe in bin/*; do
210 - # './koch install' installs only 'nim' binary
211 - # but not the rest
212 - doexe "${bin_exe}"
213 - dosym ../nim/"${bin_exe}" /usr/"${bin_exe}"
214 - done
215 -
216 - if use doc; then
217 - insinto /usr/share/doc/${PF}
218 - dodoc doc/*.html
219 - fi
220 -
221 - newbashcomp tools/nim.bash-completion ${PN}
222 -}
223
224 diff --git a/dev-lang/nim/nim-0.17.2.ebuild b/dev-lang/nim/nim-0.17.2.ebuild
225 deleted file mode 100644
226 index 3942e4e7b58..00000000000
227 --- a/dev-lang/nim/nim-0.17.2.ebuild
228 +++ /dev/null
229 @@ -1,59 +0,0 @@
230 -# Copyright 1999-2017 Gentoo Foundation
231 -# Distributed under the terms of the GNU General Public License v2
232 -
233 -EAPI=6
234 -
235 -inherit bash-completion-r1
236 -
237 -DESCRIPTION="compiled, garbage-collected systems programming language"
238 -HOMEPAGE="https://nim-lang.org/"
239 -SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
240 -
241 -LICENSE="MIT"
242 -SLOT="0"
243 -KEYWORDS="~amd64 ~arm ~x86"
244 -IUSE="doc +readline test"
245 -
246 -DEPEND="
247 - readline? ( sys-libs/readline:0= )
248 -"
249 -RDEPEND="${DEPEND}"
250 -
251 -nim_use_enable() {
252 - [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
253 - use $1 && echo "-d:$2"
254 -}
255 -
256 -src_compile() {
257 - ./build.sh || die "build.sh failed"
258 -
259 - ./bin/nim c koch || die "csources nim failed"
260 - ./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
261 - PATH="./bin:$PATH" ./koch tools || die "koch tools failed"
262 -
263 - if use doc; then
264 - PATH="./bin:$PATH" ./koch web || die "koch web failed"
265 - fi
266 -}
267 -
268 -src_test() {
269 - PATH="./bin:$PATH" ./koch test || die "test suite failed"
270 -}
271 -
272 -src_install() {
273 - ./koch install "${ED}/usr" || die "koch install failed"
274 - rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
275 -
276 - dodir /usr/bin
277 - local exe
278 - for bin_exe in bin/*; do
279 - dosym ../nim/${bin_exe} /usr/${bin_exe}
280 - done
281 -
282 - if use doc; then
283 - insinto /usr/share/doc/${PF}
284 - dodoc doc/*.html
285 - fi
286 -
287 - newbashcomp tools/nim.bash-completion ${PN}
288 -}
289
290 diff --git a/dev-lang/nim/nim-0.18.0.ebuild b/dev-lang/nim/nim-0.18.0.ebuild
291 deleted file mode 100644
292 index 53766c3e8a0..00000000000
293 --- a/dev-lang/nim/nim-0.18.0.ebuild
294 +++ /dev/null
295 @@ -1,75 +0,0 @@
296 -# Copyright 1999-2018 Gentoo Foundation
297 -# Distributed under the terms of the GNU General Public License v2
298 -
299 -EAPI=6
300 -
301 -inherit bash-completion-r1 multiprocessing
302 -
303 -DESCRIPTION="compiled, garbage-collected systems programming language"
304 -HOMEPAGE="https://nim-lang.org/"
305 -SRC_URI="https://nim-lang.org/download/${P}.tar.xz"
306 -
307 -LICENSE="MIT"
308 -SLOT="0"
309 -KEYWORDS="~amd64 ~arm ~x86"
310 -IUSE="doc +readline test"
311 -
312 -RESTRICT=test # need to sort out depends and numerous failures
313 -
314 -RDEPEND="
315 - readline? ( sys-libs/readline:0= )
316 -"
317 -DEPEND="
318 - ${DEPEND}
319 - test? ( net-libs/nodejs )
320 -"
321 -
322 -_run() {
323 - echo "$@"
324 - "$@" || die "'$*' failed"
325 -}
326 -
327 -nim_use_enable() {
328 - [[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
329 - use $1 && echo "-d:$2"
330 -}
331 -
332 -src_compile() {
333 - _run ./build.sh
334 -
335 - _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch
336 - _run ./koch boot --parallelBuild:$(makeopts_jobs) -d:release $(nim_use_enable readline useGnuReadline)
337 - # build nimble and friends
338 - PATH="./bin:$PATH" _run ./koch tools
339 -
340 - if use doc; then
341 - PATH="./bin:$PATH" _run ./koch web
342 - fi
343 -}
344 -
345 -src_test() {
346 - PATH="./bin:$PATH" _run ./koch test
347 -}
348 -
349 -src_install() {
350 - PATH="./bin:$PATH" _run ./koch install "${ED}/usr"
351 - rm -r "${ED}/usr/nim/doc" || die "failed to remove 'doc'"
352 -
353 - dodir /usr/bin
354 - exeinto /usr/nim/bin
355 -
356 - local bin_exe
357 - for bin_exe in bin/*; do
358 - # './koch install' installs only 'nim' binary
359 - # but not the rest
360 - doexe "${bin_exe}"
361 - dosym ../nim/"${bin_exe}" /usr/"${bin_exe}"
362 - done
363 -
364 - if use doc; then
365 - insinto /usr/share/doc/${PF}
366 - dodoc doc/*.html
367 - fi
368 -
369 - newbashcomp tools/nim.bash-completion ${PN}
370 -}