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: Sat, 19 Dec 2015 15:01:37
Message-Id: 1450537281.2c627ae6066276bcba1ae7b678d315a66404a20d.aballier@gentoo
1 commit: 2c627ae6066276bcba1ae7b678d315a66404a20d
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 19 14:56:20 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 19 15:01:21 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c627ae6
7
8 dev-ml/ocaml-cstruct: bump to 1.7.1
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
12
13 dev-ml/ocaml-cstruct/Manifest | 1 +
14 dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild | 43 +++++++++++++++++++++++++
15 2 files changed, 44 insertions(+)
16
17 diff --git a/dev-ml/ocaml-cstruct/Manifest b/dev-ml/ocaml-cstruct/Manifest
18 index d7a9c7a..e66ad89 100644
19 --- a/dev-ml/ocaml-cstruct/Manifest
20 +++ b/dev-ml/ocaml-cstruct/Manifest
21 @@ -1 +1,2 @@
22 DIST ocaml-cstruct-1.7.0.tar.gz 245652 SHA256 db996700df500cff933eaaebfff9834ccaba466518bade575934bb133f62f322 SHA512 5a43ffa0ee867c917f171cd90186eaf44a258f1e4fb9db7947d23113fe7d8e9058acfce7030c0e31e211b5448a9e23b48ad748c61ffab6678aa79c6aeaac2f48 WHIRLPOOL 99d7650405df68d8e4d1cfc237eb9a791db5c54cfcdbbf2e9eb5c493881256eed7298588c6ad9ca91b493544df0bb24e9c87c2820c5b92c37d460a8cc6211c26
23 +DIST ocaml-cstruct-1.7.1.tar.gz 245894 SHA256 7869d096fe7c6231bbceefe3b2205417b28b6c10f4174b7e2cfdfa46956eaaa5 SHA512 67dd276ab2f895ef80cc7ba5b48d51bcfcf52ac49aa29cd4b17aa00be109198347a50229b81fbe506d831ace753d72f3b4bb80f19e8e57fa29d9ba65da472f19 WHIRLPOOL 8145930a1dcadbcf48c1da0dcba10a45f3d52c8ae2565aee7e609bd3eeb5eead9cee9ef423332a580ab77ceabb2f301917226d1a73e1b7f6efc7a3096c4112d6
24
25 diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild
26 new file mode 100644
27 index 0000000..647990b
28 --- /dev/null
29 +++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-1.7.1.ebuild
30 @@ -0,0 +1,43 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +OASIS_BUILD_DOCS=1
37 +OASIS_BUILD_TESTS=1
38 +
39 +inherit oasis
40 +
41 +DESCRIPTION="Map OCaml arrays onto C-like structs"
42 +HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io"
43 +SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="ISC"
46 +SLOT="0/${PV}"
47 +KEYWORDS="~amd64"
48 +IUSE="async +camlp4 +lwt"
49 +
50 +RDEPEND="
51 + async? ( dev-ml/async:= )
52 + camlp4? ( dev-ml/camlp4:= )
53 + lwt? ( dev-ml/lwt:= )
54 + >=dev-lang/ocaml-4.01:=
55 + dev-ml/ocplib-endian:=
56 + dev-ml/sexplib:=
57 + dev-ml/type-conv:=
58 +"
59 +DEPEND="
60 + test? ( dev-ml/ounit )
61 + ${RDEPEND}
62 +"
63 +
64 +src_configure() {
65 + oasis_configure_opts="
66 + $(use_enable lwt)
67 + $(use_enable camlp4)
68 + $(use_enable async)
69 + --enable-unix
70 + " oasis_src_configure
71 +}
72 +
73 +DOCS=( CHANGES README.md TODO.md )