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 221581382FE for ; Mon, 11 Jul 2016 07:58:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1DEC8E09C5; Mon, 11 Jul 2016 07:58:55 +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 0ED11E09B9 for ; Mon, 11 Jul 2016 07:58:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09BC5340E5F for ; Mon, 11 Jul 2016 07:58:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A4AB97B for ; Mon, 11 Jul 2016 07:58:49 +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: <1468223922.d467378f4b10354c9f7e4baf87086a3d93b447c2.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.8.1.ebuild X-VCS-Directories: dev-ml/js_of_ocaml/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: d467378f4b10354c9f7e4baf87086a3d93b447c2 X-VCS-Branch: master Date: Mon, 11 Jul 2016 07:58:49 +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: 066ba713-34ab-45fd-a1b3-3244f56d67be X-Archives-Hash: 07d533a9bffde1d8a3f0a42d47726717 commit: d467378f4b10354c9f7e4baf87086a3d93b447c2 Author: Alexis Ballier gentoo org> AuthorDate: Mon Jul 4 10:14:43 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Jul 11 07:58:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d467378f dev-ml/js_of_ocaml: bump to 2.8.1 Package-Manager: portage-2.3.0 dev-ml/js_of_ocaml/Manifest | 1 + dev-ml/js_of_ocaml/js_of_ocaml-2.8.1.ebuild | 57 +++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-ml/js_of_ocaml/Manifest b/dev-ml/js_of_ocaml/Manifest index 019ba1b..1e574d2 100644 --- a/dev-ml/js_of_ocaml/Manifest +++ b/dev-ml/js_of_ocaml/Manifest @@ -1,2 +1,3 @@ DIST js_of_ocaml-2.7.tar.gz 1304487 SHA256 52922f55428a1d8a55ec2493c4989152e06efd29a981adf8ac9f343f558854b5 SHA512 ab6e5d16342bf763c10eb5c2e7589610622034eee2ad82aa09c6f68448f155a5c56584702307852b251bde80146c1b7115ed6add1358ad96b130c9dd2b96118b WHIRLPOOL 278c17432fdf9bf670df33479c68705868be39eb4d53f67fc489fe44ac2e7645dd5e2ed3e6e71752a2387b516ce0ab6dc99ac1d870fc75ffdad9df87031e9de4 +DIST js_of_ocaml-2.8.1.tar.gz 1329825 SHA256 954ed80b3f37e10666e36ffa3c1d846e1913b8c7be9f0af79889f829b1333e1e SHA512 bce4b173c29396ce7f28f12afd3185cdf402150a7390b9f5a21f14f71e72b3e5ae16234ed65e9d7b18ed2c0de524b658495d62d4673dfe3e61d5f0556b5a125c WHIRLPOOL ac66e7fa70e7365dc5a404d95b9f14186d727756df3aaebfa5d433237d33cb1f070ad74db12136b2a2b2db75b3eac127729343838f361000f962f2a5bc309d79 DIST js_of_ocaml-2.8.tar.gz 1330364 SHA256 98564d9a36025edb5edd9d58c565fc7b38a3b49f9b8e32d7dc29289d443894b0 SHA512 914b2a1a452acd494c3373fa65e858c2747bd7d946d6077320429160d4172f627978a0b4ee526fc6e39378dffc9c965b81e5a1f16eba1f60529e4a6b5f474c1e WHIRLPOOL cfb71c97c3c43e873dc1f83b26ccacf93be846940596e99f004e6539c5bfa15e810d290b254c4bfecce65133dc6b79247c3cb2cd301297b6062ac6526147f94d diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.8.1.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.8.1.ebuild new file mode 100644 index 0000000..58bce36 --- /dev/null +++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.8.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 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="+async +ocamlopt doc +deriving +ppx +ppx-deriving +react +xml X" + +RDEPEND=" + >=dev-lang/ocaml-3.12:=[ocamlopt?,X?] + >=dev-ml/lwt-2.4.4:= + async? ( dev-ml/async_kernel:= ) + react? ( dev-ml/react:= dev-ml/reactiveData:= ) + xml? ( >=dev-ml/tyxml-4:= ) + ppx? ( dev-ml/ppx_tools:= ) + ppx-deriving? ( dev-ml/ppx_deriving:= ) + dev-ml/cmdliner:= + dev-ml/menhir:= + dev-ml/ocaml-base64:= + dev-ml/camlp4:= + dev-ml/cppo:= + deriving? ( >=dev-ml/deriving-0.6:= )" +DEPEND="${RDEPEND} + dev-ml/ocamlbuild" + +src_configure() { + printf "\n\n" >> Makefile.conf + use ocamlopt || echo "BEST := byte" >> Makefile.conf + use ocamlopt || echo "NATDYNLINK := NO" >> Makefile.conf + use deriving || echo "WITH_DERIVING := NO" >> Makefile.conf + use X || echo "WITH_GRAPHICS := NO" >> Makefile.conf + use react || echo "WITH_REACT := NO" >> Makefile.conf + use ppx || echo "WITH_PPX := NO" >> Makefile.conf + use ppx-deriving || echo "WITH_PPX_PPX_DERIVING := NO" >> Makefile.conf + use async || echo "WITH_ASYNC := NO" >> Makefile.conf +} + +src_compile() { + emake -j1 + 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/ +}