dev-libs/mongo-c-driver: fix python_check_deps logic

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69
This commit is contained in:
Mike Gilbert
2017-05-25 11:23:27 -04:00
parent 79b5901bc2
commit 3cea5038ff
2 changed files with 6 additions and 2 deletions
@@ -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() {
@@ -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() {