summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pymongo')
-rw-r--r--dev-python/pymongo/ChangeLog7
-rw-r--r--dev-python/pymongo/pymongo-1.11.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-python/pymongo/ChangeLog b/dev-python/pymongo/ChangeLog
index 0303b8b94b84..01669f7b4e6e 100644
--- a/dev-python/pymongo/ChangeLog
+++ b/dev-python/pymongo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pymongo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.2 2011/04/26 10:03:14 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/ChangeLog,v 1.3 2011/05/12 09:22:56 ultrabug Exp $
+
+*pymongo-1.11 (12 May 2011)
+
+ 12 May 2011; Ultrabug <ultrabug@gentoo.org> +pymongo-1.11.ebuild:
+ Version bump, thanks to Mohamed Elmi Guessod for spotting.
26 Apr 2011; Ultrabug <ultrabug@gentoo.org> pymongo-1.10.1.ebuild:
Add a warning for test phase, wrt #364671.
diff --git a/dev-python/pymongo/pymongo-1.11.ebuild b/dev-python/pymongo/pymongo-1.11.ebuild
new file mode 100644
index 000000000000..83248bfe9fc2
--- /dev/null
+++ b/dev-python/pymongo/pymongo-1.11.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-1.11.ebuild,v 1.1 2011/05/12 09:22:56 ultrabug Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+DESCRIPTION="Python driver for MongoDB"
+HOMEPAGE="http://github.com/mongodb/mongo-python-driver"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="|| ( dev-lang/python:2.7 dev-lang/python:2.6 dev-lang/python:2.5 >=dev-python/celementtree-1.0.5 )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )
+ test? ( dev-db/mongodb )"
+
+pkg_setup() {
+ if use test; then
+ ewarn "WARNING: You need a running instance of mongod in order to test this package !"
+ sleep 3
+ fi
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ mkdir html
+ sphinx-build doc html || die "building docs failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r html/* || die "Error installing docs"
+ fi
+}