Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/reason-parser/files/, dev-ml/reason-parser/
Date: Sat, 03 Jun 2017 15:13:48
Message-Id: 1496502806.c2a5b87143626597c611bff0e7793ddcb051af17.aballier@gentoo
1 commit: c2a5b87143626597c611bff0e7793ddcb051af17
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 2 10:50:17 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 3 15:13:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2a5b871
7
8 dev-ml/reason-parser: remove old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-ml/reason-parser/Manifest | 3 --
13 dev-ml/reason-parser/files/menhir.patch | 36 ----------------
14 dev-ml/reason-parser/reason-parser-1.13.3.ebuild | 50 ---------------------
15 dev-ml/reason-parser/reason-parser-1.13.4.ebuild | 55 ------------------------
16 dev-ml/reason-parser/reason-parser-1.13.5.ebuild | 50 ---------------------
17 5 files changed, 194 deletions(-)
18
19 diff --git a/dev-ml/reason-parser/Manifest b/dev-ml/reason-parser/Manifest
20 index 7715e648cbe..7f233690332 100644
21 --- a/dev-ml/reason-parser/Manifest
22 +++ b/dev-ml/reason-parser/Manifest
23 @@ -1,4 +1 @@
24 -DIST reason-parser-1.13.3.tar.gz 10253108 SHA256 b92840f8238dd6266c5678da3e4dc832776bcc98990ac47773020e34dce708a6 SHA512 82398fbbf72bcadfc868e5f33e8666ef80ef610f8313d08bc16593944569b7a16693fcc6397a117518bf8e32f71083f0ac4a416112f97cd220715f4293136b84 WHIRLPOOL a82dd8e28a012ed0716fba6bc79eee849110bfb42cd8221eb15847cadae90d62d909e635f3da465c6220382d6eee62f2f69a739d96d3d6a5baddc58623cd059e
25 -DIST reason-parser-1.13.4.tar.gz 6856260 SHA256 07b0f4a471b570b9f6ee699016d2fb9d98788d1ccfb428a2b2f20f1ee6f42b9e SHA512 ee2270ffbb3c3c818aafec2ef0f23f3741e66e5b077b3a84b49b357b003d24d639165c521bf0afe92bf81ef626ed6d863ea6d097b83a2e1b5a0349a679cc8c7f WHIRLPOOL ffc8b96ce5b653c1d78877f0422315cce3d42615b88bb6f09f52d3af9799fe30ed221094a5acbc49448f0d1e865b1702a2b5956a8d327a22b2db01eb33aa0da7
26 -DIST reason-parser-1.13.5.tar.gz 183248 SHA256 442266c4bdb0f5c11e56f1e239b042faa4d501291158c7bc82de1d4632e7a20a SHA512 a0ffebd80ecb0ba2a4b49bebe68e71589069e48a1992b07b122dd52495847971d23aba4d7ee7a3ad88fd75f45a758f80ebeea9acbef45b0eeab2966ec952475b WHIRLPOOL 98395a7c81003b3598b6cf730d01b867b6378dcaff9ecf0fd55151189cb8fa03b2ac8cbc733800b2ef8b0810908f88387ac6b8d0a6c1b6576e068336ba5b05da
27 DIST reason-parser-2.0.0.tar.gz 183562 SHA256 533c1a8d26f8b85b2eeec1a80b407de9ee17e3ecfb9b5f1170ce31aab9266edc SHA512 43d05367978a273625d43fbee33c554777a24003b3a843b610da2a73187f2c5ad7dc110fd2b50ba4671ca05e7fcff6ed63fdf52f79769752b31d0aec48fab84c WHIRLPOOL 479eee7afc20269954e0aca352cb17414d29e28997276301009fd19e133e99d69d4ae1134eef673da96ce89027c03d5f13131f8626aa55a73719fb11f5b59870
28
29 diff --git a/dev-ml/reason-parser/files/menhir.patch b/dev-ml/reason-parser/files/menhir.patch
30 deleted file mode 100644
31 index 6c028eee34b..00000000000
32 --- a/dev-ml/reason-parser/files/menhir.patch
33 +++ /dev/null
34 @@ -1,36 +0,0 @@
35 -commit 2c15b2f2783b6ab44fe09387019f0918146c2895
36 -Author: Jason Rose <jasoncrose+github_jasonrose@×××××.com>
37 -Date: Wed Apr 19 17:49:42 2017 -0700
38 -
39 - Supporting menhir.20170416 (#1226)
40 -
41 -diff --git a/reason-parser/src/reason_toolchain.ml b/reason-parser/src/reason_toolchain.ml
42 -index 6c70d93..7f98586 100644
43 ---- a/reason-parser/src/reason_toolchain.ml
44 -+++ b/reason-parser/src/reason_toolchain.ml
45 -@@ -506,20 +506,16 @@ module JS_syntax = struct
46 - if in_error then
47 - begin
48 - match supplier.last_token with
49 -+ | None -> assert false
50 - | Some triple ->
51 - (* We just recovered from the error state, try the original token again *)
52 - let checkpoint_with_previous_token = I.offer checkpoint triple in
53 -- let accept_new = I.loop_test
54 -- (fun _ _ -> true)
55 -- checkpoint_with_previous_token
56 -- false
57 -- in
58 -- if accept_new then
59 -- loop_handle_yacc supplier false checkpoint_with_previous_token
60 -- else
61 -+ match I.shifts checkpoint_with_previous_token with
62 -+ | None ->
63 - (* The original token still fail to be parsed, discard *)
64 - loop_handle_yacc supplier false checkpoint
65 -- | None -> assert false
66 -+ | Some env ->
67 -+ loop_handle_yacc supplier false checkpoint_with_previous_token
68 - end
69 - else
70 - let triple = read supplier in
71
72 diff --git a/dev-ml/reason-parser/reason-parser-1.13.3.ebuild b/dev-ml/reason-parser/reason-parser-1.13.3.ebuild
73 deleted file mode 100644
74 index e9a7ae9ee3b..00000000000
75 --- a/dev-ml/reason-parser/reason-parser-1.13.3.ebuild
76 +++ /dev/null
77 @@ -1,50 +0,0 @@
78 -# Copyright 1999-2017 Gentoo Foundation
79 -# Distributed under the terms of the GNU General Public License v2
80 -
81 -EAPI=6
82 -
83 -inherit findlib
84 -
85 -DESCRIPTION="Meta Language Toolchain"
86 -HOMEPAGE="https://github.com/facebook/reason"
87 -SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
88 -
89 -LICENSE="BSD"
90 -SLOT="0/${PV}"
91 -KEYWORDS="~amd64"
92 -IUSE="+ocamlopt"
93 -
94 -DEPEND="
95 - dev-lang/ocaml:=[ocamlopt?]
96 - dev-ml/menhir:=
97 - dev-ml/merlin-extend:=
98 - dev-ml/result:=
99 - dev-ml/topkg:=
100 - dev-ml/ocaml-migrate-parsetree:=
101 - dev-ml/ppx_tools_versioned:=
102 -"
103 -RDEPEND="${DEPEND}"
104 -DEPEND="${DEPEND}
105 - dev-ml/ocamlbuild
106 - dev-ml/opam
107 -"
108 -
109 -S="${WORKDIR}/reason-${PV}/${PN}"
110 -
111 -src_compile() {
112 - emake compile_error
113 - ocamlbuild -package topkg pkg/build.native || die
114 - ./build.native build \
115 - --native "$(usex ocamlopt true false)" \
116 - --native-dynlink "$(usex ocamlopt true false)" \
117 - || die
118 -}
119 -
120 -src_install() {
121 - opam-installer -i \
122 - --prefix="${ED}/usr" \
123 - --libdir="${D}/$(ocamlc -where)" \
124 - --docdir="${ED}/usr/share/doc/${PF}" \
125 - --mandir="${ED}/usr/share/man" \
126 - ${PN}.install || die
127 -}
128
129 diff --git a/dev-ml/reason-parser/reason-parser-1.13.4.ebuild b/dev-ml/reason-parser/reason-parser-1.13.4.ebuild
130 deleted file mode 100644
131 index c02afbc39bb..00000000000
132 --- a/dev-ml/reason-parser/reason-parser-1.13.4.ebuild
133 +++ /dev/null
134 @@ -1,55 +0,0 @@
135 -# Copyright 1999-2017 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=6
139 -
140 -inherit findlib eutils
141 -
142 -DESCRIPTION="Meta Language Toolchain"
143 -HOMEPAGE="https://github.com/facebook/reason"
144 -SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
145 -
146 -LICENSE="BSD"
147 -SLOT="0/${PV}"
148 -KEYWORDS="~amd64"
149 -IUSE="+ocamlopt"
150 -
151 -DEPEND="
152 - dev-lang/ocaml:=[ocamlopt?]
153 - >=dev-ml/menhir-20170418:=
154 - dev-ml/merlin-extend:=
155 - dev-ml/result:=
156 - dev-ml/topkg:=
157 - dev-ml/ocaml-migrate-parsetree:=
158 - dev-ml/ppx_tools_versioned:=
159 -"
160 -RDEPEND="${DEPEND}"
161 -DEPEND="${DEPEND}
162 - dev-ml/ocamlbuild
163 - dev-ml/opam
164 -"
165 -
166 -S="${WORKDIR}/reason-${PV}/${PN}"
167 -
168 -src_prepare() {
169 - epatch "${FILESDIR}/menhir.patch"
170 - default
171 -}
172 -
173 -src_compile() {
174 - emake compile_error
175 - ocamlbuild -package topkg pkg/build.native || die
176 - ./build.native build \
177 - --native "$(usex ocamlopt true false)" \
178 - --native-dynlink "$(usex ocamlopt true false)" \
179 - || die
180 -}
181 -
182 -src_install() {
183 - opam-installer -i \
184 - --prefix="${ED}/usr" \
185 - --libdir="${D}/$(ocamlc -where)" \
186 - --docdir="${ED}/usr/share/doc/${PF}" \
187 - --mandir="${ED}/usr/share/man" \
188 - ${PN}.install || die
189 -}
190
191 diff --git a/dev-ml/reason-parser/reason-parser-1.13.5.ebuild b/dev-ml/reason-parser/reason-parser-1.13.5.ebuild
192 deleted file mode 100644
193 index 6313382e5d9..00000000000
194 --- a/dev-ml/reason-parser/reason-parser-1.13.5.ebuild
195 +++ /dev/null
196 @@ -1,50 +0,0 @@
197 -# Copyright 1999-2017 Gentoo Foundation
198 -# Distributed under the terms of the GNU General Public License v2
199 -
200 -EAPI=6
201 -
202 -inherit findlib eutils
203 -
204 -DESCRIPTION="Meta Language Toolchain"
205 -HOMEPAGE="https://github.com/facebook/reason"
206 -SRC_URI="https://github.com/facebook/reason/releases/download/${PV}/${P}.tar.gz"
207 -
208 -LICENSE="BSD"
209 -SLOT="0/${PV}"
210 -KEYWORDS="~amd64"
211 -IUSE="+ocamlopt"
212 -
213 -DEPEND="
214 - dev-lang/ocaml:=[ocamlopt?]
215 - >=dev-ml/menhir-20170418:=
216 - dev-ml/merlin-extend:=
217 - dev-ml/result:=
218 - dev-ml/topkg:=
219 - dev-ml/ocaml-migrate-parsetree:=
220 - dev-ml/ppx_tools_versioned:=
221 -"
222 -RDEPEND="${DEPEND}"
223 -DEPEND="${DEPEND}
224 - dev-ml/ocamlbuild
225 - dev-ml/opam
226 -"
227 -
228 -S="${WORKDIR}/${PN}"
229 -
230 -src_compile() {
231 - emake compile_error
232 - ocamlbuild -package topkg pkg/build.native || die
233 - ./build.native build \
234 - --native "$(usex ocamlopt true false)" \
235 - --native-dynlink "$(usex ocamlopt true false)" \
236 - || die
237 -}
238 -
239 -src_install() {
240 - opam-installer -i \
241 - --prefix="${ED}/usr" \
242 - --libdir="${D}/$(ocamlc -where)" \
243 - --docdir="${ED}/usr/share/doc/${PF}" \
244 - --mandir="${ED}/usr/share/man" \
245 - ${PN}.install || die
246 -}