Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/async/
Date: Mon, 30 Jan 2017 22:55:56
Message-Id: 1485815884.33f932b3083c77c4acbd5355577de7a82c4621df.aballier@gentoo
1 commit: 33f932b3083c77c4acbd5355577de7a82c4621df
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 22:38:04 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 22:38:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33f932b3
7
8 dev-ml/async: bump to 113.33.03
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/async/Manifest | 1 +
13 dev-ml/async/async-113.33.03.ebuild | 60 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-ml/async/Manifest b/dev-ml/async/Manifest
17 index 8d752d3..783c9d1 100644
18 --- a/dev-ml/async/Manifest
19 +++ b/dev-ml/async/Manifest
20 @@ -1 +1,2 @@
21 DIST async-113.33.00.tar.gz 65537 SHA256 ddb5c8379ad82888d218c7ac44278f64ac1012c8dc8349af45c40fe7df1d506b SHA512 7f2b9a2549cdd8fe48100135782e8e8cc42f25b83fa4c6bc730f3799041c1cce91d442ab357a7d34a7288484e694306a70daed18e3f202e1a5f842a908a8ff2b WHIRLPOOL 241c8da5db8df68dfea056b551c407b4630f7bc14e12bbdfc1142eec49d40e65b5040dd6ed64526400a0f1fab160e9f0aa0543bedb2626b6f6e24dbd5a2a6c8c
22 +DIST async-113.33.03.tar.gz 64087 SHA256 45787190030d21731a2f6c583f3117cdcd1ddf2a0118d16abd5304cda0772008 SHA512 ec8c609fe8b75e541433e39d745596cd39fe4a0327364ded895ceef339637efe6b517bc1901f9e9aff9f91b403e362d86dfad9877c6949315eec2e9c40ed456d WHIRLPOOL c30def8a8c11ad75c44e22209644fd193472aef5e6243e0c9bf5862e7044056a6b973310307532abba760cfe65ff3505109f3b9b767c1d32a956ebb1b98ea36a
23
24 diff --git a/dev-ml/async/async-113.33.03.ebuild b/dev-ml/async/async-113.33.03.ebuild
25 new file mode 100644
26 index 00000000..4743281
27 --- /dev/null
28 +++ b/dev-ml/async/async-113.33.03.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +
36 +OASIS_BUILD_DOCS=1
37 +OASIS_BUILD_TESTS=1
38 +
39 +inherit oasis
40 +
41 +DESCRIPTION="Jane Street Capital's asynchronous execution library"
42 +HOMEPAGE="http://www.janestreet.com/ocaml"
43 +SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0/${PV}"
47 +KEYWORDS="~amd64"
48 +IUSE="examples"
49 +
50 +RDEPEND=">=dev-lang/ocaml-4.02.0:=
51 + >=dev-ml/async_kernel-113.33:=
52 + >=dev-ml/async_unix-113.33:=
53 + >=dev-ml/async_extra-113.33:=
54 + dev-ml/bin-prot:=
55 + dev-ml/core:=
56 + dev-ml/fieldslib:=
57 + dev-ml/ppx_assert:=
58 + dev-ml/ppx_bench:=
59 + dev-ml/ppx_driver:=
60 + dev-ml/ppx_expect:=
61 + dev-ml/ppx_inline_test:=
62 + dev-ml/ppx_jane:=
63 + dev-ml/sexplib:=
64 + dev-ml/typerep:=
65 + dev-ml/variantslib:=
66 +"
67 +DEPEND="${RDEPEND} dev-ml/opam"
68 +
69 +src_configure() {
70 + emake setup.exe
71 + OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
72 +}
73 +
74 +src_compile() {
75 + emake
76 +}
77 +
78 +src_install() {
79 + opam-installer -i \
80 + --prefix="${ED}/usr" \
81 + --libdir="${D}/$(ocamlc -where)" \
82 + --docdir="${ED}/usr/share/doc/${PF}" \
83 + ${PN}.install || die
84 + dodoc CHANGES.md
85 + if use examples ; then
86 + dodoc -r examples
87 + docompress -x /usr/share/doc/${PF}/examples
88 + fi
89 +}