summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-17 12:06:58 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-18 11:25:26 +0200
commit3aa26a588f084c3176329012ea1776284e5da514 (patch)
treed4725ef7effd56304678dc6137c228de8919cffe /dev-ml/flow_parser
parentnet-dns/libidn2: fix compilation on Darwin (diff)
downloadgentoo-3aa26a588f084c3176329012ea1776284e5da514.tar.gz
gentoo-3aa26a588f084c3176329012ea1776284e5da514.tar.bz2
gentoo-3aa26a588f084c3176329012ea1776284e5da514.zip
dev-ml/flow_parser: Bump to 0.44.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/flow_parser')
-rw-r--r--dev-ml/flow_parser/Manifest1
-rw-r--r--dev-ml/flow_parser/flow_parser-0.44.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ml/flow_parser/Manifest b/dev-ml/flow_parser/Manifest
index fe8d65ca1fc3..0349818f0fe8 100644
--- a/dev-ml/flow_parser/Manifest
+++ b/dev-ml/flow_parser/Manifest
@@ -1,2 +1,3 @@
DIST flow-0.42.0.tar.gz 3202876 SHA256 5668a4a83242ac397239d001fbf071955a9e0a17ad255cb17b74345a434f7a93 SHA512 adcf4e2193eb1e2fcfea781efeac98abf3696d5684cb40224ff258d1246a2396649177ea77536c4c9ff5a610c4c7deea79305fe33157fb5e07b9c4c83a56600e WHIRLPOOL 58a2b392bc833c78b2690a75f6627f99082ae6f9e8405ef18421a50c2f531c4d3a009ae1740476c36863ffd8388b48aa9115fb1ea51971cbf36bf5d4f5b59ff0
DIST flow-0.43.1.tar.gz 2428492 SHA256 235492eea867e3d2ea92733a369b4eea196d2404280415b72d8e6cdc1f41b879 SHA512 6e104edc976b7c0e21b91538d29a5674d7ce4969beb6ac839d87248e29bcf101769e620c990352b3a1cc46990d68c28ba848d56bfb8e6daa2a33598812f49de4 WHIRLPOOL f6bf95c40ab85dccf1dd82b5e2e8f6f9d19356eb12e951200a7a534a7e9d0979d3b86a39ac7cc0e8d93fd58e9c800479d44dbfc44982d6980213767b2ee99a6a
+DIST flow-0.44.0.tar.gz 2435252 SHA256 5c20a20c500e2a29dbe2b53ecc0c4a5172c849417c8bff32b2fa478703bf382f SHA512 30b1149229fd85f71426330d848d2c085543f08d7ceeafcc4b477ec3ff978ff7b5d9580d3cc3856b7e8e5ab9afa667552ff148fee9dbf845278d60bf1918976d WHIRLPOOL d71af4d60cac7d64e42b6abc6a6be3fefc530bfd024779fd3864e21b40fb3d460fc13fca1a64afe31a544d047eed4b33fde976870ef359190e04c6032ad11f36
diff --git a/dev-ml/flow_parser/flow_parser-0.44.0.ebuild b/dev-ml/flow_parser/flow_parser-0.44.0.ebuild
new file mode 100644
index 000000000000..8460f51ef8ba
--- /dev/null
+++ b/dev-ml/flow_parser/flow_parser-0.44.0.ebuild
@@ -0,0 +1,36 @@
+# 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:="
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/ocamlbuild"
+
+S="${WORKDIR}/flow-${PV}/src/parser"
+
+src_compile() {
+ ocamlbuild parser_flow.cma parser_flow.cmxa || die
+}
+
+src_test() {
+ emake test-ocaml
+}
+
+src_install() {
+ findlib_src_preinst
+ emake ocamlfind-install
+ dodoc README.md
+}