1 |
commit: ab23f3ebd76a9171cb7cdf820536151ea319ac47 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 29 06:46:51 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 29 20:28:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab23f3eb |
7 |
|
8 |
dev-ml/flow_parser: bump to 0.49.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/flow_parser/Manifest | 1 + |
13 |
dev-ml/flow_parser/flow_parser-0.49.1.ebuild | 39 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/flow_parser/Manifest b/dev-ml/flow_parser/Manifest |
17 |
index 4dfae4bcad4..5f6e4e5be7b 100644 |
18 |
--- a/dev-ml/flow_parser/Manifest |
19 |
+++ b/dev-ml/flow_parser/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST flow-0.48.0.tar.gz 2612834 SHA256 8772896075dc4028e62720fe18a6608f278f471931b2a8fff280d0efc0fd4f29 SHA512 cad7c38cdb629113955c93480eb7e12a33e5048536d4ae43416998c75913bdb63df5047774e7ac6225ba8f9d56aa232949fcdad7dae26316f5724b4af5de762d WHIRLPOOL 817482d0d17758a4eb61412a4b27e24f11e19d2bb431c2445120a4a62bb8d8b29b31f686632d5453de8073b9929acab2b7fc34286391c002b5390a275361c82f |
22 |
+DIST flow-0.49.1.tar.gz 2630020 SHA256 d72a3470e7e0879d37f242aa0ec561ed0e60ff9fba676156392e46fd5e27a180 SHA512 416773b9c2c9d4f50d4a86da5b00038b732bad8a4434c4aeed1a5e2d2cfe24ae190b1ba0912287ce6d4435a45502daa73ff7fc3f9cb0676b204d3ca2f98e66ba WHIRLPOOL b5a55b34507c9656e93541ada65d9d998d36b4d0ac5ae48501c95c97ffad6b1e2780c78764bdfa156ed9130a43f9e76572dba0b0395b6ff95df90b0ed0a0ae21 |
23 |
|
24 |
diff --git a/dev-ml/flow_parser/flow_parser-0.49.1.ebuild b/dev-ml/flow_parser/flow_parser-0.49.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a36131a0f03 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/flow_parser/flow_parser-0.49.1.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit findlib |
36 |
+ |
37 |
+DESCRIPTION="JavaScript parser written in OCaml" |
38 |
+HOMEPAGE="https://github.com/facebook/flow/tree/master/src/parser" |
39 |
+SRC_URI="https://github.com/facebook/flow/archive/v${PV}.tar.gz -> flow-${PV}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="" |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ dev-lang/ocaml:= |
48 |
+ dev-ml/sedlex:= |
49 |
+" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+DEPEND="${DEPEND} |
52 |
+ dev-ml/ocamlbuild" |
53 |
+ |
54 |
+S="${WORKDIR}/flow-${PV}/src/parser" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ emake build-parser |
58 |
+} |
59 |
+ |
60 |
+src_test() { |
61 |
+ emake test-ocaml |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ findlib_src_preinst |
66 |
+ emake ocamlfind-install |
67 |
+ dodoc README.md |
68 |
+} |