1 |
commit: 406a66aefc336cf90844a7a995fb35900277b70e |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 11:51:34 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 12:12:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406a66ae |
7 |
|
8 |
dev-python/pywavelets: clean doc generation |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pywavelets/pywavelets-1.1.1.ebuild | 16 +++++----------- |
13 |
1 file changed, 5 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pywavelets/pywavelets-1.1.1.ebuild b/dev-python/pywavelets/pywavelets-1.1.1.ebuild |
16 |
index ac3571d385b..01198d7e30c 100644 |
17 |
--- a/dev-python/pywavelets/pywavelets-1.1.1.ebuild |
18 |
+++ b/dev-python/pywavelets/pywavelets-1.1.1.ebuild |
19 |
@@ -1,4 +1,4 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
@@ -14,15 +14,14 @@ DESCRIPTION="Discrete Wavelet Transforms in Python" |
26 |
HOMEPAGE="https://pywavelets.readthedocs.io/en/latest/ |
27 |
https://github.com/PyWavelets/pywt" |
28 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
29 |
+S="${WORKDIR}/${MY_P}" |
30 |
|
31 |
LICENSE="MIT" |
32 |
SLOT="0" |
33 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
34 |
-IUSE="doc examples" |
35 |
+IUSE="examples" |
36 |
|
37 |
RDEPEND=" |
38 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] |
39 |
- dev-python/numpydoc[${PYTHON_USEDEP}] ) |
40 |
dev-python/matplotlib[${PYTHON_USEDEP}] |
41 |
dev-python/numpy[${PYTHON_USEDEP}] |
42 |
" |
43 |
@@ -31,19 +30,14 @@ BDEPEND="${RDEPEND} |
44 |
" |
45 |
|
46 |
distutils_enable_tests pytest |
47 |
- |
48 |
-S="${WORKDIR}/${MY_P}" |
49 |
+distutils_enable_sphinx doc/source \ |
50 |
+ dev-python/numpydoc |
51 |
|
52 |
python_test() { |
53 |
pytest -vv --pyargs ${BUILD_DIR}"/lib" || die "Tests fail with ${EPYTHON}" |
54 |
} |
55 |
|
56 |
-python_compile_all() { |
57 |
- use doc && emake -C doc html |
58 |
-} |
59 |
- |
60 |
python_install_all() { |
61 |
- use doc && local HTML_DOCS=( doc/build/html/. ) |
62 |
distutils-r1_python_install_all |
63 |
if use examples; then |
64 |
docinto examples |