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-cstruct/
Date: Mon, 06 Mar 2017 07:18:08
Message-Id: 1488784657.181a9b62842dfbc289d66659f3c666edd09b115d.aballier@gentoo
1 commit: 181a9b62842dfbc289d66659f3c666edd09b115d
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 6 07:12:58 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 6 07:17:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=181a9b62
7
8 dev-ml/ocaml-cstruct: Bump to 2.3.2
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 dev-ml/ocaml-cstruct/Manifest | 1 +
13 dev-ml/ocaml-cstruct/ocaml-cstruct-2.3.2.ebuild | 42 +++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-ml/ocaml-cstruct/Manifest b/dev-ml/ocaml-cstruct/Manifest
17 index 23fdfee646c..867b857168c 100644
18 --- a/dev-ml/ocaml-cstruct/Manifest
19 +++ b/dev-ml/ocaml-cstruct/Manifest
20 @@ -1 +1,2 @@
21 DIST ocaml-cstruct-2.3.1.tar.gz 259266 SHA256 89a4f363547026de195fd84d9e842844ed6bbf4c5ab57c2fc1500741106b1797 SHA512 7dfb080f4d6f1685719ed31edd69cb5f4e484d42b28e0340dace8dd9a4742342957b67de0b10f0c4f4ccab7a80b13ddc3a26d2401cffdd232dc9581dba1da2ff WHIRLPOOL 6c41df0677217f45f13a03686e4a025da8f9edadccb5a27659cc1349bbae2f324a07d68e056f7078e4f4336d357c5558f262d0c6f4813017db0325e2b304b06e
22 +DIST ocaml-cstruct-2.3.2.tar.gz 259424 SHA256 16c619be7644c30227a617cea8be509460b36a6a4c8f2b45a56fec75113570e0 SHA512 7f88c37729869fbfe39c28be4c56c49ba225da7f7d4df2f962a730be2a9c70bb6099713f83e4aa53e77ac7752c415427e86d95a42abcb6c280a79ae9931cdeee WHIRLPOOL 68b1e8fd892e1c54383de00becfb6e4807e222b6a0f6e11af3bce0b2d74c988647b0a093bc827ce4a9e63a93375040f0d7366df942cf8168e193ab436eb2fdb2
23
24 diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-2.3.2.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-2.3.2.ebuild
25 new file mode 100644
26 index 00000000000..250f63303d4
27 --- /dev/null
28 +++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-2.3.2.ebuild
29 @@ -0,0 +1,42 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +OASIS_BUILD_DOCS=1
35 +OASIS_BUILD_TESTS=1
36 +
37 +inherit oasis
38 +
39 +DESCRIPTION="Map OCaml arrays onto C-like structs"
40 +HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io"
41 +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="ISC"
44 +SLOT="0/${PV}"
45 +KEYWORDS="~amd64"
46 +IUSE="async +lwt +ppx"
47 +
48 +RDEPEND="
49 + async? ( dev-ml/async:= )
50 + lwt? ( dev-ml/lwt:= )
51 + ppx? ( dev-ml/ppx_tools:= )
52 + >=dev-lang/ocaml-4.01:=
53 + dev-ml/ocplib-endian:=
54 + dev-ml/sexplib:=
55 + dev-ml/type-conv:=
56 +"
57 +DEPEND="
58 + test? ( dev-ml/ounit )
59 + ${RDEPEND}
60 +"
61 +
62 +src_configure() {
63 + oasis_configure_opts="
64 + $(use_enable lwt)
65 + $(use_enable async)
66 + $(use_enable ppx)
67 + --enable-unix
68 + " oasis_src_configure
69 +}
70 +
71 +DOCS=( CHANGES README.md TODO.md )