1 |
commit: 27f87a84154995471e086d5a88fb94f90278f164 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 27 09:44:37 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 27 09:44:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f87a84 |
7 |
|
8 |
dev-ml/ocaml-ctypes: Add missing lwt deps for tests |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild | 36 +++++++++++++++++++++++ |
13 |
1 file changed, 36 insertions(+) |
14 |
|
15 |
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..34b6fa315a |
18 |
--- /dev/null |
19 |
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild |
20 |
@@ -0,0 +1,36 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+ |
27 |
+inherit findlib |
28 |
+ |
29 |
+DESCRIPTION="Library for binding to C libraries using pure OCaml" |
30 |
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes" |
31 |
+SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="MIT" |
34 |
+SLOT="0/${PV}" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="test" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ >=dev-lang/ocaml-4.02:=[ocamlopt] |
40 |
+ virtual/libffi |
41 |
+" |
42 |
+DEPEND="${RDEPEND} |
43 |
+ test? ( dev-ml/ounit dev-ml/lwt )" |
44 |
+ |
45 |
+src_compile() { |
46 |
+ emake -j1 |
47 |
+} |
48 |
+ |
49 |
+src_test() { |
50 |
+ emake -j1 test |
51 |
+} |
52 |
+ |
53 |
+src_install() { |
54 |
+ findlib_src_install |
55 |
+ dodoc CHANGES.md README.md |
56 |
+} |