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 87CFB1395E2 for ; Wed, 9 Nov 2016 16:09:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECD4FE08C1; Wed, 9 Nov 2016 16:09:36 +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 C262CE08C1 for ; Wed, 9 Nov 2016 16:09:36 +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 7165D3413AD for ; Wed, 9 Nov 2016 16:09:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C43A308 for ; Wed, 9 Nov 2016 16:09:32 +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: <1478707766.9ff3ec4217883d259652cb5e90bb73b81eaecffb.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.3.ebuild X-VCS-Directories: dev-ml/js_of_ocaml/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 9ff3ec4217883d259652cb5e90bb73b81eaecffb X-VCS-Branch: master Date: Wed, 9 Nov 2016 16:09:32 +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: 7055a2be-93fc-47da-9994-cadbdefffdcc X-Archives-Hash: 691779f23dd390e22e5b132520c6b60b commit: 9ff3ec4217883d259652cb5e90bb73b81eaecffb Author: Alexis Ballier gentoo org> AuthorDate: Wed Nov 9 10:05:43 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Nov 9 16:09:26 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff3ec42 dev-ml/js_of_ocaml: bump to 2.8.3 Package-Manager: portage-2.3.2 dev-ml/js_of_ocaml/Manifest | 1 + dev-ml/js_of_ocaml/js_of_ocaml-2.8.3.ebuild | 66 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-ml/js_of_ocaml/Manifest b/dev-ml/js_of_ocaml/Manifest index 626682d..4e0d767 100644 --- a/dev-ml/js_of_ocaml/Manifest +++ b/dev-ml/js_of_ocaml/Manifest @@ -1 +1,2 @@ DIST js_of_ocaml-2.8.2.tar.gz 1334891 SHA256 93d55c7a4883783acb3eee4c6a126993f548f1467d1f08a8d72fa30385a673c4 SHA512 07550311b53a54ec55b5b1e63acbf8eee4757d643cf9639efb035faa029cde4b47c46d732dd2fa3ec0606edf1ef094d096a375c694b0b7255ada16e0c632c4ed WHIRLPOOL 6eac8dccd5217aaa91dc3f899a6ec949afff725dcd1d60276660b0c2e4ca71faf2d55c0a747a3cab05ca55cf7962aa4dbcd2679ec4f8639c7ccbdf414a105d56 +DIST js_of_ocaml-2.8.3.tar.gz 1335811 SHA256 a77e9d4896431742604cba69fb87f9022587de86f2c6d41a6b58e9c24b103c77 SHA512 89908f3da1846f4fe24e1109ba262507221ed67d58bec1d8b7c53ec82438febbab66bdb3bec697e2880842253777167ef1563687cae414426e8ea1dcc00a323a WHIRLPOOL b299214ed367f7aa2252a76a7d49f68f219aaf3ab9901eafa354e937a7dbe4913657a6c1c6fdc85337d63c04b90a5f835b3cf9c321840528188a496f6bfc3d37 diff --git a/dev-ml/js_of_ocaml/js_of_ocaml-2.8.3.ebuild b/dev-ml/js_of_ocaml/js_of_ocaml-2.8.3.ebuild new file mode 100644 index 00000000..9e1c155 --- /dev/null +++ b/dev-ml/js_of_ocaml/js_of_ocaml-2.8.3.ebuild @@ -0,0 +1,66 @@ +# 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/" + +if [ "${PV#9999}" != "${PV}" ] ; then + inherit git-r3 + SRC_URI="" + EGIT_REPO_URI="https://github.com/ocsigen/js_of_ocaml" + KEYWORDS="" +else + SRC_URI="https://github.com/ocsigen/js_of_ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" +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:= + dev-ml/uchar:= + dev-ml/ocamlbuild:= + deriving? ( >=dev-ml/deriving-0.6:= )" +DEPEND="${RDEPEND}" + +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/ +}