1 |
commit: 488c59ca271daeb86c84eaa6b6abcd1ea1d40afb |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 1 11:00:48 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 13:22:45 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=488c59ca |
7 |
|
8 |
dev-ml/ocaml-cstruct: bump to 2.2.0 |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-ml/ocaml-cstruct/Manifest | 1 + |
13 |
dev-ml/ocaml-cstruct/ocaml-cstruct-2.2.0.ebuild | 43 +++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-cstruct/Manifest b/dev-ml/ocaml-cstruct/Manifest |
17 |
index 9c06844..b012b76 100644 |
18 |
--- a/dev-ml/ocaml-cstruct/Manifest |
19 |
+++ b/dev-ml/ocaml-cstruct/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ocaml-cstruct-2.1.0.tar.gz 251162 SHA256 fab6525753af5f726810b321a97b8a0b226bf0318a3ed594e2ed93f2f293c9a1 SHA512 129650ec17d8c96d6e68fc6a814e2b44cecc6fc69dfd5327c48d842447caf172c36112ef4fe0fa85c7391172ba72e2f2d3c119f44075cf1240a89134830ec428 WHIRLPOOL 4daf175682710cc0b102858df5b66c8cc14caf0ab35d4d8430324ed65bcaab9d951f391bdb3c39c5b6edfca4fac50300f4c394a3adbae43269a31abf04955661 |
22 |
+DIST ocaml-cstruct-2.2.0.tar.gz 251257 SHA256 9d605469131a8a704d123dbedff7dc7f68ccb7e28e76ddafda745017e58217e1 SHA512 4aee07f2e0c6490eef564eff194fc3a9563b1e6020b2903bed3c18b46c6698f7593ab0e6f893d3f0781510a4a2e8a6bdac379db497d469d7d34b94b2047dfed8 WHIRLPOOL 4a2dd17d739509e7afd4871f788292d1abba19fcdfa1cec4f8a6d4675e9eeef4f2de0d6256d965ed988c27255e495570f3326b9b144ea132f376e83c60b679e0 |
23 |
|
24 |
diff --git a/dev-ml/ocaml-cstruct/ocaml-cstruct-2.2.0.ebuild b/dev-ml/ocaml-cstruct/ocaml-cstruct-2.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..ec1f10a |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/ocaml-cstruct/ocaml-cstruct-2.2.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+OASIS_BUILD_DOCS=1 |
36 |
+OASIS_BUILD_TESTS=1 |
37 |
+ |
38 |
+inherit oasis |
39 |
+ |
40 |
+DESCRIPTION="Map OCaml arrays onto C-like structs" |
41 |
+HOMEPAGE="https://github.com/mirage/ocaml-cstruct https://mirage.io" |
42 |
+SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="ISC" |
45 |
+SLOT="0/${PV}" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="async +lwt +ppx" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ async? ( dev-ml/async:= ) |
51 |
+ lwt? ( dev-ml/lwt:= ) |
52 |
+ ppx? ( dev-ml/ppx_tools:= ) |
53 |
+ >=dev-lang/ocaml-4.01:= |
54 |
+ dev-ml/ocplib-endian:= |
55 |
+ dev-ml/sexplib:= |
56 |
+ dev-ml/type-conv:= |
57 |
+" |
58 |
+DEPEND=" |
59 |
+ test? ( dev-ml/ounit ) |
60 |
+ ${RDEPEND} |
61 |
+" |
62 |
+ |
63 |
+src_configure() { |
64 |
+ oasis_configure_opts=" |
65 |
+ $(use_enable lwt) |
66 |
+ $(use_enable async) |
67 |
+ $(use_enable ppx) |
68 |
+ --enable-unix |
69 |
+ " oasis_src_configure |
70 |
+} |
71 |
+ |
72 |
+DOCS=( CHANGES README.md TODO.md ) |