From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B4EF139694 for ; Mon, 3 Apr 2017 09:23:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82B69E0BE7; Mon, 3 Apr 2017 09:23:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FB24E0BE7 for ; Mon, 3 Apr 2017 09:23:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3404333BEFC for ; Mon, 3 Apr 2017 09:23:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A6E970B7 for ; Mon, 3 Apr 2017 09:23:03 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1491211377.454bdeedcddf0d7c7a77859d9ce8f29d1176cf58.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/flow_parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/flow_parser/Manifest dev-ml/flow_parser/flow_parser-0.42.0.ebuild dev-ml/flow_parser/metadata.xml X-VCS-Directories: dev-ml/flow_parser/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 454bdeedcddf0d7c7a77859d9ce8f29d1176cf58 X-VCS-Branch: master Date: Mon, 3 Apr 2017 09:23:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dba69820-9dc7-4fe1-9068-8ca46acaec43 X-Archives-Hash: 8bf3fb0d12e35ef597bad768cfc86b74 commit: 454bdeedcddf0d7c7a77859d9ce8f29d1176cf58 Author: Alexis Ballier gentoo org> AuthorDate: Mon Apr 3 09:22:36 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Apr 3 09:22:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454bdeed dev-ml/flow_parser: Initial import. Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-ml/flow_parser/Manifest | 1 + dev-ml/flow_parser/flow_parser-0.42.0.ebuild | 36 ++++++++++++++++++++++++++++ dev-ml/flow_parser/metadata.xml | 8 +++++++ 3 files changed, 45 insertions(+) diff --git a/dev-ml/flow_parser/Manifest b/dev-ml/flow_parser/Manifest new file mode 100644 index 00000000000..a5358b6d0c0 --- /dev/null +++ b/dev-ml/flow_parser/Manifest @@ -0,0 +1 @@ +DIST flow-0.42.0.tar.gz 3202876 SHA256 5668a4a83242ac397239d001fbf071955a9e0a17ad255cb17b74345a434f7a93 SHA512 adcf4e2193eb1e2fcfea781efeac98abf3696d5684cb40224ff258d1246a2396649177ea77536c4c9ff5a610c4c7deea79305fe33157fb5e07b9c4c83a56600e WHIRLPOOL 58a2b392bc833c78b2690a75f6627f99082ae6f9e8405ef18421a50c2f531c4d3a009ae1740476c36863ffd8388b48aa9115fb1ea51971cbf36bf5d4f5b59ff0 diff --git a/dev-ml/flow_parser/flow_parser-0.42.0.ebuild b/dev-ml/flow_parser/flow_parser-0.42.0.ebuild new file mode 100644 index 00000000000..8460f51ef8b --- /dev/null +++ b/dev-ml/flow_parser/flow_parser-0.42.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 +} diff --git a/dev-ml/flow_parser/metadata.xml b/dev-ml/flow_parser/metadata.xml new file mode 100644 index 00000000000..ffac4d7ebc0 --- /dev/null +++ b/dev-ml/flow_parser/metadata.xml @@ -0,0 +1,8 @@ + + + + + ml@gentoo.org + Gentoo ML Project + +