1 |
commit: 121e6a1633b2dbde9d83485f7bb39a682ebac641 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 23:02:27 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 23:02:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=121e6a16 |
7 |
|
8 |
dev-python/scipy: fix USE=doc |
9 |
|
10 |
Closes: https://bugs.gentoo.org/862567 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/scipy/scipy-1.9.0-r1.ebuild | 8 ++++++++ |
14 |
dev-python/scipy/scipy-1.9.9999.ebuild | 10 +++++++++- |
15 |
2 files changed, 17 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/scipy/scipy-1.9.0-r1.ebuild b/dev-python/scipy/scipy-1.9.0-r1.ebuild |
18 |
index c6b76d728e36..47dd4358d2c0 100644 |
19 |
--- a/dev-python/scipy/scipy-1.9.0-r1.ebuild |
20 |
+++ b/dev-python/scipy/scipy-1.9.0-r1.ebuild |
21 |
@@ -81,6 +81,14 @@ EPYTEST_DESELECT=( |
22 |
|
23 |
distutils_enable_tests pytest |
24 |
|
25 |
+src_unpack() { |
26 |
+ default |
27 |
+ |
28 |
+ if use doc; then |
29 |
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die |
30 |
+ fi |
31 |
+} |
32 |
+ |
33 |
python_test() { |
34 |
cd "${T}" || die |
35 |
|
36 |
|
37 |
diff --git a/dev-python/scipy/scipy-1.9.9999.ebuild b/dev-python/scipy/scipy-1.9.9999.ebuild |
38 |
index 888ff2073ebb..47dd4358d2c0 100644 |
39 |
--- a/dev-python/scipy/scipy-1.9.9999.ebuild |
40 |
+++ b/dev-python/scipy/scipy-1.9.9999.ebuild |
41 |
@@ -38,7 +38,7 @@ else |
42 |
S="${WORKDIR}"/${MY_P} |
43 |
|
44 |
if [[ ${PV} != *rc* ]] ; then |
45 |
- KEYWORDS="~amd64 -hppa" |
46 |
+ KEYWORDS="~amd64 -hppa ~ppc64 ~riscv" |
47 |
fi |
48 |
fi |
49 |
|
50 |
@@ -81,6 +81,14 @@ EPYTEST_DESELECT=( |
51 |
|
52 |
distutils_enable_tests pytest |
53 |
|
54 |
+src_unpack() { |
55 |
+ default |
56 |
+ |
57 |
+ if use doc; then |
58 |
+ unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die |
59 |
+ fi |
60 |
+} |
61 |
+ |
62 |
python_test() { |
63 |
cd "${T}" || die |