1 |
commit: a5010cf3a2d735b2ba041401d3d9ea13839d295a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 21 04:03:48 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 21 04:05:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5010cf3 |
7 |
|
8 |
dev-python/scipy: disable docs for live |
9 |
|
10 |
Closes: https://bugs.gentoo.org/872122 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/scipy/scipy-1.9.9999.ebuild | 7 ++++--- |
14 |
1 file changed, 4 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild |
17 |
index 47dd4358d2c0..e2718fe21ca6 100644 |
18 |
--- a/dev-python/scipy/scipy-1.9.9999.ebuild |
19 |
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild |
20 |
@@ -84,7 +84,7 @@ distutils_enable_tests pytest |
21 |
src_unpack() { |
22 |
default |
23 |
|
24 |
- if use doc; then |
25 |
+ if [[ ${PV} != *9999 ]] && use doc; then |
26 |
unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die |
27 |
fi |
28 |
} |
29 |
@@ -96,9 +96,10 @@ python_test() { |
30 |
} |
31 |
|
32 |
python_install_all() { |
33 |
- use doc && \ |
34 |
- local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) \ |
35 |
+ if [[ ${PV} != *9999 ]] && use doc; then |
36 |
+ local DOCS=( "${DISTDIR}"/${PN}-ref-${DOC_PV}.pdf ) |
37 |
local HTML_DOCS=( "${WORKDIR}"/html/. ) |
38 |
+ fi |
39 |
|
40 |
distutils-r1_python_install_all |
41 |
} |