summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-05-26 15:52:36 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-26 15:52:58 +0200
commit71405bb4ffab7e2b89fa441c5c12cc463a77d0fe (patch)
tree401b61ab3eda0e3813e8323226cd8e4681f13097 /dev-ml
parentdev-ml/flow_parser: remove old (diff)
downloadgentoo-71405bb4ffab7e2b89fa441c5c12cc463a77d0fe.tar.gz
gentoo-71405bb4ffab7e2b89fa441c5c12cc463a77d0fe.tar.bz2
gentoo-71405bb4ffab7e2b89fa441c5c12cc463a77d0fe.zip
dev-ml/flow_parser: bump to 0.47.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/flow_parser/Manifest1
-rw-r--r--dev-ml/flow_parser/flow_parser-0.47.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ml/flow_parser/Manifest b/dev-ml/flow_parser/Manifest
index 30565d974ead..47bf0b712ab1 100644
--- a/dev-ml/flow_parser/Manifest
+++ b/dev-ml/flow_parser/Manifest
@@ -1 +1,2 @@
DIST flow-0.46.0.tar.gz 2471636 SHA256 f6991604d95285c0944cab4b1b075facae53a4dd59bd836ee24cacd7f85b42a7 SHA512 36dd8c4267c95d8d2ee622febafa9e439339d80701a0867e042261ad7a8dc6306e5ac0ecb8fdd89bd494b475cf12f54bc98db6bdfa07aedfd0a46675f425e794 WHIRLPOOL fe8d9a5de8fe34ced9209013e23c79782ed288166f01bfa317e2e05aaaf734b13d80c141da6a9648d5db5d3b1580ca22deb2d55c2ada484a4097775408eb3464
+DIST flow-0.47.0.tar.gz 2585031 SHA256 cf4bda660731c6d0731d1193fac458f590a1313172989b4a4561f64fbcc2cc1c SHA512 0d7eff4eba3ac799c92753dbc8136b805b56b510ba03713d7ae85051657ab7ec51d1aec1b7816eefec2733ef4b67f12be9b767f2ecfadabc5dd549836e53e102 WHIRLPOOL eda480cc6b0430f2e66650e1b114f2e5ea547b4f95f87caafede44c07a3f2c46ec18cfe754dfa8d2dc0b56ca6c0606034407c1845496a17564a3c94e22955e2d
diff --git a/dev-ml/flow_parser/flow_parser-0.47.0.ebuild b/dev-ml/flow_parser/flow_parser-0.47.0.ebuild
new file mode 100644
index 000000000000..a36131a0f030
--- /dev/null
+++ b/dev-ml/flow_parser/flow_parser-0.47.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
+}