From: Michał Górny Date: Thu, 5 Dec 2019 07:07:55 +0000 (+0100) Subject: dev-util/pkgcheck: Fix has_version statements X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ba11695f9da0dd8916c0d74b20f767cff0a75cb0;p=gentoo.git dev-util/pkgcheck: Fix has_version statements Signed-off-by: Michał Górny --- diff --git a/dev-util/pkgcheck/pkgcheck-0.7.1.ebuild b/dev-util/pkgcheck/pkgcheck-0.7.1.ebuild index b812a50541dc..85632f39aa0f 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 b812a50541dc..85632f39aa0f 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 }