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/ocaml-expat/
Date: Tue, 03 Jan 2017 16:35:34
Message-Id: 1483460981.d759eefb210f1b73c89f077d3bbdc53533a82519.aballier@gentoo
1 commit: d759eefb210f1b73c89f077d3bbdc53533a82519
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 16:29:41 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 16:29:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d759eefb
7
8 dev-ml/ocaml-expat: bump to 1.0.0
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ml/ocaml-expat/Manifest | 1 +
13 dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild | 47 +++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-ml/ocaml-expat/Manifest b/dev-ml/ocaml-expat/Manifest
17 index ae0ee77..d4d3f46 100644
18 --- a/dev-ml/ocaml-expat/Manifest
19 +++ b/dev-ml/ocaml-expat/Manifest
20 @@ -1 +1,2 @@
21 DIST ocaml-expat-0.9.1.tar.gz 25223 SHA256 5fbe8c38f3ab45da5f850aae6b37183f4a8b79a63771a83d7e3d3109fc90c29a SHA512 0dca5bb3279e248acd76bc1b14511c58f2e60d8c40d806f3d270b6a47ab0e90efb636faed0dd8c34cf00a0b0834aa458421f4f9718d2a8c43dcf77854c11b3f4 WHIRLPOOL 483ca73680cba94cbf9c7573824c2085e85334b2ec33809fc895c4bce9f52d593776aad6d1761e92aeb3db2ba2a73319b8d1196647c53200c8817bcbd9e09010
22 +DIST ocaml-expat-1.0.0.tar.gz 58149 SHA256 69d0bc2bfef2b4310faac2bb984173a26abde5c5758152822f6807774c7abe4f SHA512 217d602ac8fabf7713dcd8fd274206b81ff467402a9bca5b15b13f3b1d68e8e5f2c2970adeafb2378c0993b39c7d98a420dee07f30ad9eb88fd40665a2f98897 WHIRLPOOL 7f3140317bfb44a2980199a4cd09ca641dcfea419317289d1528402afdaa54c1f8bcff02053ad6cebf169441ae6c2ff0906ec7b3772bc3fe7c30cd588d86c445
23
24 diff --git a/dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild b/dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild
25 new file mode 100644
26 index 00000000..4da92ca
27 --- /dev/null
28 +++ b/dev-ml/ocaml-expat/ocaml-expat-1.0.0.ebuild
29 @@ -0,0 +1,47 @@
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 findlib eutils
37 +
38 +IUSE="doc +ocamlopt test"
39 +
40 +DESCRIPTION="OCaml bindings for expat"
41 +SRC_URI="https://github.com/whitequark/ocaml-expat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +HOMEPAGE="https://github.com/whitequark/ocaml-expat"
43 +
44 +RDEPEND="dev-libs/expat
45 + >=dev-lang/ocaml-3.10.2:=[ocamlopt?]"
46 +
47 +DEPEND="${RDEPEND}
48 + test? ( dev-ml/ounit )"
49 +
50 +SLOT="0/${PV}"
51 +LICENSE="MIT"
52 +KEYWORDS="~amd64 ~ppc ~x86"
53 +
54 +src_compile() {
55 + emake depend
56 + emake all
57 + if use ocamlopt; then
58 + emake allopt
59 + fi
60 +}
61 +
62 +src_test() {
63 + emake test
64 + if use ocamlopt; then
65 + emake testopt
66 + fi
67 +}
68 +src_install() {
69 + findlib_src_preinst
70 + emake install
71 +
72 + if use doc ; then
73 + dohtml -r doc/html/*
74 + fi
75 + dodoc README
76 +}