commit:     ba11695f9da0dd8916c0d74b20f767cff0a75cb0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  5 07:07:55 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec  5 07:12:48 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba11695f

dev-util/pkgcheck: Fix has_version statements

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/pkgcheck/pkgcheck-0.7.1.ebuild | 4 ++--
 dev-util/pkgcheck/pkgcheck-9999.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/pkgcheck/pkgcheck-0.7.1.ebuild 
b/dev-util/pkgcheck/pkgcheck-0.7.1.ebuild
index b812a50541d..85632f39aa0 100644
--- a/dev-util/pkgcheck/pkgcheck-0.7.1.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-0.7.1.ebuild
@@ -50,8 +50,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
 }

diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild 
b/dev-util/pkgcheck/pkgcheck-9999.ebuild
index b812a50541d..85632f39aa0 100644
--- a/dev-util/pkgcheck/pkgcheck-9999.ebuild
+++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild
@@ -50,8 +50,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
 }

Reply via email to