summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-06 17:04:44 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-06 17:16:05 +0100
commit9cce3179beb1d14edde2af712f295562481e41dd (patch)
tree35114933c49f6988f6250789c2459bc3b91e4cf6 /dev-ml/mongo
parentdev-ml/bson: initial import; ebuild by me (diff)
downloadgentoo-9cce3179beb1d14edde2af712f295562481e41dd.tar.gz
gentoo-9cce3179beb1d14edde2af712f295562481e41dd.tar.bz2
gentoo-9cce3179beb1d14edde2af712f295562481e41dd.zip
dev-ml/mongo: initial import; ebuild by me
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/mongo')
-rw-r--r--dev-ml/mongo/Manifest1
-rw-r--r--dev-ml/mongo/files/noinstalltest.patch9
-rw-r--r--dev-ml/mongo/metadata.xml8
-rw-r--r--dev-ml/mongo/mongo-0.67.2.ebuild27
4 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/mongo/Manifest b/dev-ml/mongo/Manifest
new file mode 100644
index 000000000000..67a57349d0dc
--- /dev/null
+++ b/dev-ml/mongo/Manifest
@@ -0,0 +1 @@
+DIST mongo-0.67.2.tar.gz 81611 SHA256 e79636dd9f32655f25c07d5fa64533932c3c0d1b2070dfdb44cfb12f5bd74b00 SHA512 779e214b10eb50fe06b9336cd515566b8091bd678b86ad91f5d437dd25b81d3e6996f2f09226061b836fad5c994a9c30edafdb76b7ef5d617fb701d830191c9d WHIRLPOOL 51e3ed11e8dc5399705eb50c72f7d172f3131f91475b352088c72292c1b75d611809e68e0178c281de0b60e797610ead418146712cadfd4c423f26201ba26666
diff --git a/dev-ml/mongo/files/noinstalltest.patch b/dev-ml/mongo/files/noinstalltest.patch
new file mode 100644
index 000000000000..4166a70fdb4b
--- /dev/null
+++ b/dev-ml/mongo/files/noinstalltest.patch
@@ -0,0 +1,9 @@
+Index: mongo-0.67.2/_oasis
+===================================================================
+--- mongo-0.67.2.orig/_oasis
++++ mongo-0.67.2/_oasis
+@@ -51,3 +51,4 @@ Executable test
+ BuildTools: ocamlbuild
+ BuildDepends: unix, mongo, bson
+ CompiledObject: native
++ Install: false
diff --git a/dev-ml/mongo/metadata.xml b/dev-ml/mongo/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/mongo/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-ml/mongo/mongo-0.67.2.ebuild b/dev-ml/mongo/mongo-0.67.2.ebuild
new file mode 100644
index 000000000000..9c43349a1e86
--- /dev/null
+++ b/dev-ml/mongo/mongo-0.67.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit oasis
+
+DESCRIPTION="An ocaml driver for mongodb"
+HOMEPAGE="http://massd.github.io/"
+SRC_URI="https://github.com/MassD/mongo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-ml/bson:=
+ dev-ml/lwt:=
+"
+DEPEND="${RDEPEND} dev-ml/oasis"
+
+src_prepare() {
+ epatch "${FILESDIR}/noinstalltest.patch"
+ oasis setup || die
+}