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: Thu, 04 May 2017 09:12:55
Message-Id: 1493889158.5925fa84c3ec3cc95053b33db836d91357b5ba0c.aballier@gentoo
1 commit: 5925fa84c3ec3cc95053b33db836d91357b5ba0c
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 3 18:03:41 2017 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Thu May 4 09:12:38 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5925fa84
7
8 dev-ml/ocaml-cstruct: bump to 2.4.1
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-ml/ocaml-cstruct/Manifest | 1 +
13 dev-ml/ocaml-cstruct/ocaml-cstruct-2.4.1.ebuild | 46 +++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-ml/ocaml-cstruct/Manifest b/dev-ml/ocaml-cstruct/Manifest
17 index 234b05db7c1..3bd8844ee87 100644
18 --- a/dev-ml/ocaml-cstruct/Manifest
19 +++ b/dev-ml/ocaml-cstruct/Manifest
20 @@ -1 +1,2 @@
21 DIST ocaml-cstruct-2.4.0.tar.gz 259372 SHA256 a3e19e6a57204a5172c9ed0abd5153d85925b2d32f5ae51a53868a287be647fb SHA512 c37d16605f929aeeda33166183dcbe6b8e367583a8b25fde1bb5a4f9141a11f93e6f5463a500907d8829cb285075a8d2ca7874618a92f817997f76258175cbb3 WHIRLPOOL 8812fff7e3cc2a715e8ba395ab852752c0cf28bf8828e61de3f01b52ffabbc61c13c05b03fc964d1f68e88f33ce08c18b44a070881d3b876283fb987b945c664
22 +DIST ocaml-cstruct-2.4.1.tar.gz 259399 SHA256 f3c1600e85eb93a58c052e2e9575b48d4dd02784d9b2615dadf861860afa1ee7 SHA512 30c541e50dc221d3d8df54f9a8dfa1f88b10f49b276779f7355a38effdfe048de0300bfcc7e361715f63b696d42bd11aa120df6b4058d3b24962777e91b1633e WHIRLPOOL 40d1fcf4674ee47595f14583f964850b4e2b8747f788efb947994ae5b59e12115c381afa7ccc269b408df2b0eed1e02967e83a6fa256aca8926401e6b3e0ed75
23
24 diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-2.4.1.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-2.4.1.ebuild
25 new file mode 100644
26 index 00000000000..36676e8a668
27 --- /dev/null
28 +++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-2.4.1.ebuild
29 @@ -0,0 +1,46 @@
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? (
52 + dev-ml/ppx_tools:=
53 + dev-ml/ocaml-migrate-parsetree:=
54 + dev-ml/ppx_tools_versioned:=
55 + )
56 + >=dev-lang/ocaml-4.01:=
57 + dev-ml/ocplib-endian:=
58 + dev-ml/sexplib:=
59 + dev-ml/type-conv:=
60 +"
61 +DEPEND="
62 + test? ( dev-ml/ounit )
63 + ${RDEPEND}
64 +"
65 +
66 +src_configure() {
67 + oasis_configure_opts="
68 + $(use_enable lwt)
69 + $(use_enable async)
70 + $(use_enable ppx)
71 + --enable-unix
72 + " oasis_src_configure
73 +}
74 +
75 +DOCS=( CHANGES README.md TODO.md )