From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1205C58973 for ; Sat, 30 Jan 2016 16:36:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E5E0E086F; Sat, 30 Jan 2016 16:36:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D248AE0870 for ; Sat, 30 Jan 2016 16:36:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FE83340817 for ; Sat, 30 Jan 2016 16:36:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB265C0 for ; Sat, 30 Jan 2016 16:35:58 +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: <1454171440.4e9923a56d22e6f36e152433ddc8c1196ff5e63f.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/js_of_ocaml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/js_of_ocaml/Manifest dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild X-VCS-Directories: dev-ml/js_of_ocaml/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 4e9923a56d22e6f36e152433ddc8c1196ff5e63f X-VCS-Branch: master Date: Sat, 30 Jan 2016 16:35:58 +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: 39dfc311-1f43-4d3b-a36d-8b3388af4e46 X-Archives-Hash: 0ac4028369175c7f2cf90cfcbe86a137 commit: 4e9923a56d22e6f36e152433ddc8c1196ff5e63f Author: Alexis Ballier gentoo org> AuthorDate: Sat Jan 30 16:02:58 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Jan 30 16:30:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9923a5 dev-ml/js_of_ocaml: bump to 2.7 Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier gentoo.org> dev-ml/js_of_ocaml/Manifest | 1 + dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ml/js_of_ocaml/Manifest b/dev-ml/js_of_ocaml/Manifest index 5905692..fa92aea 100644 --- a/dev-ml/js_of_ocaml/Manifest +++ b/dev-ml/js_of_ocaml/Manifest @@ -1 +1,2 @@ DIST js_of_ocaml-2.6.tar.gz 1291882 SHA256 c1f066d09524c6be2d40cfb387de49b337837dcc8f2f746a207f37706ca66460 SHA512 2c4e294b7946757d9b05ec640e130cbee6a0130c03eb3a2188988fb956c1f0e2738c32e97abc461e748e667e7d31e386c5470942df84ddbcf5903d41b133e8c8 WHIRLPOOL abf477caa49edc65b5e577a90dd86641f12b6757e6f2c9034fe08d51cc1ac11209b73e8fdd88de420ed0277d8715bb085c10d29b237854cdebb8a9e36f8e22fe +DIST js_of_ocaml-2.7.tar.gz 1304487 SHA256 52922f55428a1d8a55ec2493c4989152e06efd29a981adf8ac9f343f558854b5 SHA512 ab6e5d16342bf763c10eb5c2e7589610622034eee2ad82aa09c6f68448f155a5c56584702307852b251bde80146c1b7115ed6add1358ad96b130c9dd2b96118b WHIRLPOOL 278c17432fdf9bf670df33479c68705868be39eb4d53f67fc489fe44ac2e7645dd5e2ed3e6e71752a2387b516ce0ab6dc99ac1d870fc75ffdad9df87031e9de4 diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild new file mode 100644 index 0000000..4f423b9 --- /dev/null +++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit findlib eutils + +DESCRIPTION="A compiler from OCaml bytecode to javascript" +HOMEPAGE="http://ocsigen.org/js_of_ocaml/" +SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt doc +deriving" + +DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?] + >=dev-ml/lwt-2.4.4:= + dev-ml/react:= + dev-ml/reactiveData:= + >=dev-ml/tyxml-3.6:= + dev-ml/cmdliner:= + dev-ml/menhir:= + dev-ml/ocaml-base64:= + dev-ml/camlp4:= + dev-ml/cppo:= + deriving? ( >=dev-ml/deriving-0.6:= )" +RDEPEND="${DEPEND}" + +src_configure() { + use ocamlopt || echo "BEST := byte" >> Makefile.conf + use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf +} + +src_compile() { + emake + use doc && emake doc +} + +src_install() { + findlib_src_preinst + emake BINDIR="${ED}/usr/bin/" install + dodoc CHANGES README.md + use doc && dohtml -r doc/api/html/ +}