summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-08 23:04:41 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-08 23:13:02 +0200
commite89f49d6009209166451557d8f7666ff6c3ee00e (patch)
tree0aa228c976261ed862e5c6b9dad08982dfa7736b /media-libs/vigra
parentmedia-libs/vigra: Cleanup superfluous usex params (diff)
downloadgentoo-e89f49d6009209166451557d8f7666ff6c3ee00e.tar.gz
gentoo-e89f49d6009209166451557d8f7666ff6c3ee00e.tar.bz2
gentoo-e89f49d6009209166451557d8f7666ff6c3ee00e.zip
media-libs/vigra: USE doc needs python_setup
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/vigra')
-rw-r--r--media-libs/vigra/vigra-9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild
index 469846735650..6f78ecb71516 100644
--- a/media-libs/vigra/vigra-9999.ebuild
+++ b/media-libs/vigra/vigra-9999.ebuild
@@ -32,7 +32,7 @@ REQUIRED_USE="
BDEPEND="
doc? (
app-doc/doxygen
- python? ( >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}] )
+ >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}]
)
test? (
>=dev-python/nose-1.1.2-r1[${PYTHON_USEDEP}]
@@ -66,7 +66,9 @@ RESTRICT="test"
PATCHES=( "${FILESDIR}/${PN}-1.11.1-lib_suffix.patch" )
pkg_setup() {
- use python && python_setup
+ if use python || use doc; then
+ python_setup
+ fi
}
src_prepare() {