sys-apps/pkgcore: Fix has_version statements
authorMichał Górny <mgorny@gentoo.org>
Thu, 5 Dec 2019 07:07:16 +0000 (08:07 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 5 Dec 2019 07:12:46 +0000 (08:12 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-apps/pkgcore/pkgcore-0.10.8.ebuild
sys-apps/pkgcore/pkgcore-9999.ebuild

index 8f37e09e0805cf30018c67ddb375b825e98a131c..ca168a44e36107de219f6166ebec59b7fec9cfb9 100644 (file)
@@ -40,8 +40,8 @@ DEPEND="${RDEPEND}
 
 python_check_deps() {
        if use doc; then
-               has_version "dev-python/setuptools[${PYTHON_USEDEP}]"
-               has_version "dev-python/docutils[${PYTHON_USEDEP}]"
+               has_version "dev-python/setuptools[${PYTHON_USEDEP}]" &&
+               has_version "dev-python/docutils[${PYTHON_USEDEP}]" &&
                has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
        fi
 }
index 8f37e09e0805cf30018c67ddb375b825e98a131c..ca168a44e36107de219f6166ebec59b7fec9cfb9 100644 (file)
@@ -40,8 +40,8 @@ DEPEND="${RDEPEND}
 
 python_check_deps() {
        if use doc; then
-               has_version "dev-python/setuptools[${PYTHON_USEDEP}]"
-               has_version "dev-python/docutils[${PYTHON_USEDEP}]"
+               has_version "dev-python/setuptools[${PYTHON_USEDEP}]" &&
+               has_version "dev-python/docutils[${PYTHON_USEDEP}]" &&
                has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
        fi
 }