commit:     8ca7397496ad60c3d7268f579277973fb59a01a1
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  4 18:44:09 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 06:45:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca73974

dev-ml/flow_parser: bump to 0.52.0

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-ml/flow_parser/Manifest                  |  1 +
 dev-ml/flow_parser/flow_parser-0.52.0.ebuild | 39 ++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-ml/flow_parser/Manifest b/dev-ml/flow_parser/Manifest
index 56732dbdf3a..baf0e384d34 100644
--- a/dev-ml/flow_parser/Manifest
+++ b/dev-ml/flow_parser/Manifest
@@ -1,2 +1,3 @@
 DIST flow-0.50.0.tar.gz 2664071 SHA256 
859b6f5e1fce4d5813591fbc08e60605630d0b15e1825f877876ecd1476b8fdd SHA512 
757adc6c07461ca71a132715a3f19e3dc36a08a165519793b94c667d116563eca9937593700db3efdd8d5cbb5709d5778a49345052de2392697f7bb2221e43e5
 WHIRLPOOL 
ce930a138e5039e58952002f9c961ce366be47d5491bc572f058735f57cff69d2b8367f83f3c4a3a4d06f8fe00f7ad1cd95eb3b9dac8ad3808716411377c06d9
 DIST flow-0.51.0.tar.gz 2701608 SHA256 
fdca12cbce9312b413a277161f1fd6a6fdd2078c47c5c41af7df9676ded4d398 SHA512 
82422ff5e49b72c21a875461aa839e1217d369e632369f9c8fa375207da90d92eebbf653b2a0869ef08c8c1ffc07e11f729b77e8a791c9b44f5fc7daf71ec50a
 WHIRLPOOL 
2bc8ff0e9d8a914e490a3b148b017cecbfd5bfac10b7ce3a00fb483e9227b76c5baab8a4253640e3662491ac76a46d463c6679b1d898cd07e5ff55a7de15156e
+DIST flow-0.52.0.tar.gz 2718344 SHA256 
10c9033f85feff9a0393e894dcc65302e5a7fba34190f58b1563854f3df82ead SHA512 
aad2aaeb56448d1bd9a26ab1c68b1f61f107729347f6eabe1e62828395a06d624bca67f0706f2267e62920c56bab99c06fd7bc6bbb484e7c921a28d725cde670
 WHIRLPOOL 
1c46bbc4879ff9a01874ee6e2554d25ceba45bbe36e6a591fb2f0d42daf50b40f9b872c8e812cc5ec1237f8859c27973f99569659f2a3b936e7ce40131519d7d

diff --git a/dev-ml/flow_parser/flow_parser-0.52.0.ebuild 
b/dev-ml/flow_parser/flow_parser-0.52.0.ebuild
new file mode 100644
index 00000000000..a36131a0f03
--- /dev/null
+++ b/dev-ml/flow_parser/flow_parser-0.52.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib
+
+DESCRIPTION="JavaScript parser written in OCaml"
+HOMEPAGE="https://github.com/facebook/flow/tree/master/src/parser";
+SRC_URI="https://github.com/facebook/flow/archive/v${PV}.tar.gz -> 
flow-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+       dev-lang/ocaml:=
+       dev-ml/sedlex:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+       dev-ml/ocamlbuild"
+
+S="${WORKDIR}/flow-${PV}/src/parser"
+
+src_compile() {
+       emake build-parser
+}
+
+src_test() {
+       emake test-ocaml
+}
+
+src_install() {
+       findlib_src_preinst
+       emake ocamlfind-install
+       dodoc README.md
+}

Reply via email to