public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-redis-lwt/
@ 2017-05-18 13:37 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2017-05-18 13:37 UTC (permalink / raw
  To: gentoo-commits

commit:     4bc176822078bb63d1f2865a175c94ed9ea58cb9
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 13:07:02 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=4bc17682

dev-ml/ocaml-redis-lwt: initial import

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-ml/ocaml-redis-lwt/Manifest                    |  1 +
 dev-ml/ocaml-redis-lwt/metadata.xml                | 11 ++++++
 .../ocaml-redis-lwt/ocaml-redis-lwt-0.3.5.ebuild   | 43 ++++++++++++++++++++++
 3 files changed, 55 insertions(+)

diff --git a/dev-ml/ocaml-redis-lwt/Manifest b/dev-ml/ocaml-redis-lwt/Manifest
new file mode 100644
index 00000000000..f11560ce6f9
--- /dev/null
+++ b/dev-ml/ocaml-redis-lwt/Manifest
@@ -0,0 +1 @@
+DIST ocaml-redis-0.3.5.tar.gz 31217 SHA256 f43af830ab9d66619a685fbad471b97bdb5d40a4f2bdf923b76f25d139007d78 SHA512 dfd2779635fddc73ab76cd66943267c3de984edeb471728f8d6d9506cd37e9cf4b1875519c7547b90de80fd876abc7fbe6a4c9c0674fcb6a00bbe91afa6c625d WHIRLPOOL 68b02061b04a247d09fcc91fe4215ffe2bad7d8c3598c62df347da67fd698985a7a97edd3f48bcf9223b1db09cc4984c67910868a793df8cba114362f63044ad

diff --git a/dev-ml/ocaml-redis-lwt/metadata.xml b/dev-ml/ocaml-redis-lwt/metadata.xml
new file mode 100644
index 00000000000..20d1ed52023
--- /dev/null
+++ b/dev-ml/ocaml-redis-lwt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>ml@gentoo.org</email>
+		<name>Gentoo ML Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">0xffea/ocaml-redis</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-ml/ocaml-redis-lwt/ocaml-redis-lwt-0.3.5.ebuild b/dev-ml/ocaml-redis-lwt/ocaml-redis-lwt-0.3.5.ebuild
new file mode 100644
index 00000000000..a5e2d5969dd
--- /dev/null
+++ b/dev-ml/ocaml-redis-lwt/ocaml-redis-lwt-0.3.5.ebuild
@@ -0,0 +1,43 @@
+# 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 via Lwt"
+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 -> ocaml-redis-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+	dev-lang/ocaml:=
+	dev-ml/ocaml-redis:=
+	dev-ml/lwt:=
+"
+DEPEND="${RDEPEND}
+	dev-ml/jbuilder
+	dev-ml/opam
+	test? ( dev-ml/ounit )"
+
+S=${WORKDIR}/ocaml-redis-${PV}
+
+src_compile() {
+	jbuilder build -p redis-lwt || 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-lwt.install || die
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-18 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-18 13:37 [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-redis-lwt/ Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox