commit:     28f82eb7ae43407c2bed020bf48c2456f1c8d390
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 13:06:04 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu May 18 13:36:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f82eb7

dev-ml/ocaml-redis: bump to 0.3.5

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-ml/ocaml-redis/Manifest                 |  1 +
 dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild | 41 +++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-ml/ocaml-redis/Manifest b/dev-ml/ocaml-redis/Manifest
index c05e72366b9..ce65c625945 100644
--- a/dev-ml/ocaml-redis/Manifest
+++ b/dev-ml/ocaml-redis/Manifest
@@ -1,2 +1,3 @@
 DIST ocaml-redis-0.3.3.tar.gz 71336 SHA256 
18b481846d20494f7e7b68b6ac18036dcf50910b1d91d88dd16df3d7b5a9eea2 SHA512 
35f9647ecc17d2cd1770b3867ee350f83ac132918b1e368fa560d54f0ad11fa987aed0a14103327e79030a169d5b381e473b82f7039d77324a67ab9d75aa6749
 WHIRLPOOL 
c5b20b4a92ffd437d02e0b1cdebf20b48e83b1664ea66d9b3cf85463626ea9f90d129951c5d2cb64b8bb3f296d67a7989c7ee1069344da5a83d71afe6aa5c6d3
 DIST ocaml-redis-0.3.4.tar.gz 26422 SHA256 
da2b9d8f4be0b7699715c38b4eb68a925bc5ee3db74d4aead95dc37f2e9f524f SHA512 
b1d77b7eb69b6c795d505eb58c38cf558bcff6a054937f29a959a353c0c0107cdd78eb6329ea003f31ba7ae9d71cc9f7786495babbf1ffc8262356d468094699
 WHIRLPOOL 
033bc54a23319a0db56557e57f6159f811082a54ef845603304db9de97a16f732bb309972ecc93213f9b8ee9cad10635a046daecac97de23079de6d51f8ccb06
+DIST ocaml-redis-0.3.5.tar.gz 31217 SHA256 
f43af830ab9d66619a685fbad471b97bdb5d40a4f2bdf923b76f25d139007d78 SHA512 
dfd2779635fddc73ab76cd66943267c3de984edeb471728f8d6d9506cd37e9cf4b1875519c7547b90de80fd876abc7fbe6a4c9c0674fcb6a00bbe91afa6c625d
 WHIRLPOOL 
68b02061b04a247d09fcc91fe4215ffe2bad7d8c3598c62df347da67fd698985a7a97edd3f48bcf9223b1db09cc4984c67910868a793df8cba114362f63044ad

diff --git a/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild 
b/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild
new file mode 100644
index 00000000000..bea5cf2ad61
--- /dev/null
+++ b/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="Redis bindings for OCaml"
+HOMEPAGE="http://0xffea.github.io/ocaml-redis/ 
https://github.com/0xffea/ocaml-redis/";
+SRC_URI="https://github.com/0xffea/ocaml-redis/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+       dev-lang/ocaml:=
+       dev-ml/ocaml-re:=
+       dev-ml/uuidm:=
+"
+DEPEND="${RDEPEND}
+       dev-ml/jbuilder
+       dev-ml/opam
+       test? ( dev-ml/ounit )"
+
+src_compile() {
+       jbuilder build -p redis || die
+}
+
+src_test() {
+       jbuilder runtest || die
+}
+
+src_install() {
+       opam-installer -i \
+               --prefix="${ED}/usr" \
+               --libdir="${D}/$(ocamlc -where)" \
+               --docdir="${ED}/usr/share/doc/${PF}" \
+               redis.install || die
+}

Reply via email to