From: Alexis Ballier Date: Thu, 6 Apr 2017 07:45:33 +0000 (+0200) Subject: dev-ml/flow_parser: Bump to 0.43.1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ddeb6de9aa458fb1d6744c51fa5b431d9706141c;p=gentoo.git dev-ml/flow_parser: Bump to 0.43.1 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- diff --git a/dev-ml/flow_parser/Manifest b/dev-ml/flow_parser/Manifest index a5358b6d0c01..fe8d65ca1fc3 100644 --- a/dev-ml/flow_parser/Manifest +++ b/dev-ml/flow_parser/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-ml/flow_parser/flow_parser-0.43.1.ebuild b/dev-ml/flow_parser/flow_parser-0.43.1.ebuild new file mode 100644 index 000000000000..8460f51ef8ba --- /dev/null +++ b/dev-ml/flow_parser/flow_parser-0.43.1.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 +}