summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-03-27 21:24:51 +0000
committerMike Gilbert <floppym@gentoo.org>2014-03-27 21:24:51 +0000
commitd3552e78ba1478e03a9674ab3e8fbabd04e1910c (patch)
tree991f32fbfc3e3d3e01f9a804ab6f176a74e4cd24 /dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
parentversion bump (diff)
downloadhistorical-d3552e78ba1478e03a9674ab3e8fbabd04e1910c.tar.gz
historical-d3552e78ba1478e03a9674ab3e8fbabd04e1910c.tar.bz2
historical-d3552e78ba1478e03a9674ab3e8fbabd04e1910c.zip
Convert to python-any-r1, bug 505994.
Package-Manager: portage-2.2.9-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild')
-rw-r--r--dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 141428d9427d..c859c9d38c69 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild,v 1.1 2014/03/27 17:05:08 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild,v 1.2 2014/03/27 21:24:49 floppym Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit base multilib python-r1
+inherit base multilib python-any-r1
DESCRIPTION="C Driver for MongoDB"
HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver"
@@ -20,9 +20,15 @@ IUSE="doc static-libs"
RESTRICT="test"
RDEPEND=""
-DEPEND="doc? ( dev-python/sphinx )"
+DEPEND="${PYTHON_DEPS}
+ doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )
+"
PATCHES=( "${FILESDIR}/${PV}-api-version.diff" )
+python_check_deps() {
+ use !doc || has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
src_unpack() {
unpack ${A}
mv *-${PN}-* "${S}"