1 |
commit: e89f49d6009209166451557d8f7666ff6c3ee00e |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 8 21:04:41 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 8 21:13:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89f49d6 |
7 |
|
8 |
media-libs/vigra: USE doc needs python_setup |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/vigra/vigra-9999.ebuild | 6 ++++-- |
14 |
1 file changed, 4 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild |
17 |
index 46984673565..6f78ecb7151 100644 |
18 |
--- a/media-libs/vigra/vigra-9999.ebuild |
19 |
+++ b/media-libs/vigra/vigra-9999.ebuild |
20 |
@@ -32,7 +32,7 @@ REQUIRED_USE=" |
21 |
BDEPEND=" |
22 |
doc? ( |
23 |
app-doc/doxygen |
24 |
- python? ( >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}] ) |
25 |
+ >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}] |
26 |
) |
27 |
test? ( |
28 |
>=dev-python/nose-1.1.2-r1[${PYTHON_USEDEP}] |
29 |
@@ -66,7 +66,9 @@ RESTRICT="test" |
30 |
PATCHES=( "${FILESDIR}/${PN}-1.11.1-lib_suffix.patch" ) |
31 |
|
32 |
pkg_setup() { |
33 |
- use python && python_setup |
34 |
+ if use python || use doc; then |
35 |
+ python_setup |
36 |
+ fi |
37 |
} |
38 |
|
39 |
src_prepare() { |