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/bignum/
Date: Mon, 30 Jan 2017 22:55:54
Message-Id: 1485815583.74eccfdc0401b76db4c3ec66bef7e3273e29b281.aballier@gentoo
1 commit: 74eccfdc0401b76db4c3ec66bef7e3273e29b281
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 22:33:03 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 22:33:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74eccfdc
7
8 dev-ml/bignum: bump to 113.33.03
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/bignum/Manifest | 1 +
13 dev-ml/bignum/bignum-113.33.03.ebuild | 51 +++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/dev-ml/bignum/Manifest b/dev-ml/bignum/Manifest
17 index 7967ed7..4aa1025 100644
18 --- a/dev-ml/bignum/Manifest
19 +++ b/dev-ml/bignum/Manifest
20 @@ -1 +1,2 @@
21 DIST bignum-113.33.00.tar.gz 75498 SHA256 7d214fe9f4cc233d8070915a750978d68ca24393cfe280f7d88c9793878829ab SHA512 eb5a8e5230177209a882a8c3dfed58952598bc2586ae41bb191bdcb00cab67034ea26b8a146a58b5d05f50db2ba0cd39706445dd09510126384c8d2884cfb1f0 WHIRLPOOL 4e4217010eaf64e0e3e6c121d8ba86d193a7ed1dbf1b0591926b5abb0015b2a79bdf4f91b65bf129f5f238731dfdd28e432489444053d6c78759406dbd5ac6f6
22 +DIST bignum-113.33.03.tar.gz 73961 SHA256 0837e52a6241fd1d7639b5f14f8bed6c9e19e4a1e118d7ec3cf4a510c08918d3 SHA512 a14a2ef059372882a5e58bd03eedbd22b9a4ea642ec15d0519a37b8bda873e061457c03160e99ccf3cc329d88452d214fdda7f92b8cc77fc504c8d4b03318ca6 WHIRLPOOL 0903f0a05839cf3bf6ff26ba68e34db03215c04f0edcdc291059c8e53ab9be6d9179bee802174318997d7f9dea8f386850cbee5c84d8d6dcc5b45ec343542dbd
23
24 diff --git a/dev-ml/bignum/bignum-113.33.03.ebuild b/dev-ml/bignum/bignum-113.33.03.ebuild
25 new file mode 100644
26 index 00000000..4a3d7e0
27 --- /dev/null
28 +++ b/dev-ml/bignum/bignum-113.33.03.ebuild
29 @@ -0,0 +1,51 @@
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 +inherit oasis
37 +
38 +DESCRIPTION="Core-flavoured wrapper around zarith's arbitrary-precision rationals"
39 +HOMEPAGE="http://janestreet.github.io/"
40 +SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0/${PV}"
44 +KEYWORDS="~amd64"
45 +IUSE=""
46 +
47 +RDEPEND="
48 + dev-ml/bin-prot:=
49 + dev-ml/core_kernel:=
50 + dev-ml/fieldslib:=
51 + dev-ml/ppx_assert:=
52 + dev-ml/ppx_bench:=
53 + dev-ml/ppx_driver:=
54 + dev-ml/ppx_expect:=
55 + dev-ml/ppx_inline_test:=
56 + dev-ml/ppx_jane:=
57 + dev-ml/sexplib:=
58 + dev-ml/typerep:=
59 + dev-ml/variantslib:=
60 + dev-ml/zarith:=
61 +"
62 +DEPEND="${RDEPEND} dev-ml/opam"
63 +
64 +src_configure() {
65 + emake setup.exe
66 + OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
67 +}
68 +
69 +src_compile() {
70 + emake
71 +}
72 +
73 +src_install() {
74 + opam-installer -i \
75 + --prefix="${ED}/usr" \
76 + --libdir="${D}/$(ocamlc -where)" \
77 + --docdir="${ED}/usr/share/doc/${PF}" \
78 + ${PN}.install || die
79 + dodoc CHANGES.md
80 +}