diff options
author | Mike Gilbert <floppym@gentoo.org> | 2017-05-25 11:23:27 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-05-25 11:23:27 -0400 |
commit | 3cea5038fffa867a5371cf073788a9fec04fce55 (patch) | |
tree | d4a94501e6f7155b8e33361a3aca27932b4a1564 /dev-libs | |
parent | dev-ml/integers: add missing build dep on opam, bug #619598 (diff) | |
download | gentoo-3cea5038fffa867a5371cf073788a9fec04fce55.tar.gz gentoo-3cea5038fffa867a5371cf073788a9fec04fce55.tar.bz2 gentoo-3cea5038fffa867a5371cf073788a9fec04fce55.zip |
dev-libs/mongo-c-driver: fix python_check_deps logic
Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild index 25e9c58a6438..a9d4a7907801 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild @@ -24,7 +24,9 @@ DEPEND="${PYTHON_DEPS} " python_check_deps() { - use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + if use doc; then + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + fi } src_unpack() { 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 cadb8fb4812b..764dce23aa5c 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 @@ -25,7 +25,9 @@ DEPEND="${PYTHON_DEPS} PATCHES=( "${FILESDIR}/${PV}-api-version.diff" ) python_check_deps() { - use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + if use doc; then + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" + fi } src_unpack() { |