diff options
Diffstat (limited to 'dev-util/pkgcheck/pkgcheck-9999.ebuild')
-rw-r--r-- | dev-util/pkgcheck/pkgcheck-9999.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/pkgcheck/pkgcheck-9999.ebuild b/dev-util/pkgcheck/pkgcheck-9999.ebuild index 85632f39aa0f..8ab52c61b8ae 100644 --- a/dev-util/pkgcheck/pkgcheck-9999.ebuild +++ b/dev-util/pkgcheck/pkgcheck-9999.ebuild @@ -45,12 +45,15 @@ DEPEND="${RDEPEND} dev-python/docutils[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] ') ) + !doc? ( + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + ) test? ( dev-python/pytest[${PYTHON_USEDEP}] ) " python_check_deps() { + has_version "dev-python/setuptools[${PYTHON_USEDEP}]" || return 1 if use doc; then - has_version "dev-python/setuptools[${PYTHON_USEDEP}]" && has_version "dev-python/docutils[${PYTHON_USEDEP}]" && has_version "dev-python/sphinx[${PYTHON_USEDEP}]" fi |