mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user