1 |
commit: f7bcc2a90f85f5b7617a2082b0b9bbb42b3dbb44 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 8 09:54:21 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 8 10:18:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7bcc2a9 |
7 |
|
8 |
dev-ml/ocaml-redis: Bump to 0.3.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
dev-ml/ocaml-redis/Manifest | 1 + |
13 |
dev-ml/ocaml-redis/ocaml-redis-0.3.4.ebuild | 42 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-redis/Manifest b/dev-ml/ocaml-redis/Manifest |
17 |
index 48e065f2216..c05e72366b9 100644 |
18 |
--- a/dev-ml/ocaml-redis/Manifest |
19 |
+++ b/dev-ml/ocaml-redis/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST ocaml-redis-0.3.3.tar.gz 71336 SHA256 18b481846d20494f7e7b68b6ac18036dcf50910b1d91d88dd16df3d7b5a9eea2 SHA512 35f9647ecc17d2cd1770b3867ee350f83ac132918b1e368fa560d54f0ad11fa987aed0a14103327e79030a169d5b381e473b82f7039d77324a67ab9d75aa6749 WHIRLPOOL c5b20b4a92ffd437d02e0b1cdebf20b48e83b1664ea66d9b3cf85463626ea9f90d129951c5d2cb64b8bb3f296d67a7989c7ee1069344da5a83d71afe6aa5c6d3 |
22 |
+DIST ocaml-redis-0.3.4.tar.gz 26422 SHA256 da2b9d8f4be0b7699715c38b4eb68a925bc5ee3db74d4aead95dc37f2e9f524f SHA512 b1d77b7eb69b6c795d505eb58c38cf558bcff6a054937f29a959a353c0c0107cdd78eb6329ea003f31ba7ae9d71cc9f7786495babbf1ffc8262356d468094699 WHIRLPOOL 033bc54a23319a0db56557e57f6159f811082a54ef845603304db9de97a16f732bb309972ecc93213f9b8ee9cad10635a046daecac97de23079de6d51f8ccb06 |
23 |
|
24 |
diff --git a/dev-ml/ocaml-redis/ocaml-redis-0.3.4.ebuild b/dev-ml/ocaml-redis/ocaml-redis-0.3.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..f69ee04b772 |
27 |
--- /dev/null |
28 |
+++ b/dev-ml/ocaml-redis/ocaml-redis-0.3.4.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 |
+ |
35 |
+inherit findlib |
36 |
+ |
37 |
+DESCRIPTION="Redis bindings for OCaml" |
38 |
+HOMEPAGE="http://0xffea.github.io/ocaml-redis/" |
39 |
+SRC_URI="https://github.com/0xffea/ocaml-redis/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0/${PV}" |
43 |
+KEYWORDS="~amd64" |
44 |
+IUSE="test" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-lang/ocaml:= |
48 |
+ dev-ml/ocaml-re:= |
49 |
+ dev-ml/uuidm:= |
50 |
+ dev-ml/lwt:= |
51 |
+" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ dev-ml/jbuilder |
54 |
+ dev-ml/opam |
55 |
+ test? ( dev-ml/ounit )" |
56 |
+ |
57 |
+src_compile() { |
58 |
+ jbuilder build -p redis || die |
59 |
+} |
60 |
+ |
61 |
+src_test() { |
62 |
+ jbuilder runtest || die |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ opam-installer -i \ |
67 |
+ --prefix="${ED}/usr" \ |
68 |
+ --libdir="${D}/$(ocamlc -where)" \ |
69 |
+ --docdir="${ED}/usr/share/doc/${PF}" \ |
70 |
+ redis.install || die |
71 |
+} |