diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-12-07 21:24:55 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-12-07 21:31:31 +0100 |
commit | b83196eff9ea2a659440e704feac5a82cd6c327f (patch) | |
tree | bf4f0097e5a29dfd0431841264240da1f2a122d3 /sys-apps/pkgcore | |
parent | dev-libs/libxml2: Fix MissingTestRestrict (diff) | |
download | gentoo-b83196eff9ea2a659440e704feac5a82cd6c327f.tar.gz gentoo-b83196eff9ea2a659440e704feac5a82cd6c327f.tar.bz2 gentoo-b83196eff9ea2a659440e704feac5a82cd6c327f.zip |
sys-apps/pkgcore: Require setuptools for doc install too
Closes: https://bugs.gentoo.org/702236
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-apps/pkgcore')
-rw-r--r-- | sys-apps/pkgcore/pkgcore-0.10.8.ebuild | 5 | ||||
-rw-r--r-- | sys-apps/pkgcore/pkgcore-9999.ebuild | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-apps/pkgcore/pkgcore-0.10.8.ebuild b/sys-apps/pkgcore/pkgcore-0.10.8.ebuild index ca168a44e361..48263e63a067 100644 --- a/sys-apps/pkgcore/pkgcore-0.10.8.ebuild +++ b/sys-apps/pkgcore/pkgcore-0.10.8.ebuild @@ -35,12 +35,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 diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index ca168a44e361..48263e63a067 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -35,12 +35,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 |