diff options
author | Mike Gilbert <floppym@gentoo.org> | 2014-03-27 21:24:49 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2014-03-27 21:24:49 +0000 |
commit | 9cdc657f553dcd78fcb76cbcb1d59bd35b45f4d7 (patch) | |
tree | d2a99375a398cb0593308321185c770c768065cc /dev-libs/mongo-c-driver | |
parent | version bump (diff) | |
download | gentoo-2-9cdc657f553dcd78fcb76cbcb1d59bd35b45f4d7.tar.gz gentoo-2-9cdc657f553dcd78fcb76cbcb1d59bd35b45f4d7.tar.bz2 gentoo-2-9cdc657f553dcd78fcb76cbcb1d59bd35b45f4d7.zip |
Convert to python-any-r1, bug 505994.
(Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-libs/mongo-c-driver')
-rw-r--r-- | dev-libs/mongo-c-driver/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-libs/mongo-c-driver/ChangeLog b/dev-libs/mongo-c-driver/ChangeLog index 493928b55961..0a1672b46012 100644 --- a/dev-libs/mongo-c-driver/ChangeLog +++ b/dev-libs/mongo-c-driver/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/mongo-c-driver # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.7 2014/03/27 17:05:08 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.8 2014/03/27 21:24:49 floppym Exp $ + + 27 Mar 2014; Mike Gilbert <floppym@gentoo.org> mongo-c-driver-0.8.1-r1.ebuild: + Convert to python-any-r1, bug 505994. *mongo-c-driver-0.8.1-r1 (27 Mar 2014) 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}" |