commit:     406a66aefc336cf90844a7a995fb35900277b70e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 11:51:34 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 12:12:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406a66ae

dev-python/pywavelets: clean doc generation

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pywavelets/pywavelets-1.1.1.ebuild | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/dev-python/pywavelets/pywavelets-1.1.1.ebuild 
b/dev-python/pywavelets/pywavelets-1.1.1.ebuild
index ac3571d385b..01198d7e30c 100644
--- a/dev-python/pywavelets/pywavelets-1.1.1.ebuild
+++ b/dev-python/pywavelets/pywavelets-1.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,15 +14,14 @@ DESCRIPTION="Discrete Wavelet Transforms in Python"
 HOMEPAGE="https://pywavelets.readthedocs.io/en/latest/
        https://github.com/PyWavelets/pywt";
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples"
+IUSE="examples"
 
 RDEPEND="
-       doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
-               dev-python/numpydoc[${PYTHON_USEDEP}] )
        dev-python/matplotlib[${PYTHON_USEDEP}]
        dev-python/numpy[${PYTHON_USEDEP}]
 "
@@ -31,19 +30,14 @@ BDEPEND="${RDEPEND}
 "
 
 distutils_enable_tests pytest
-
-S="${WORKDIR}/${MY_P}"
+distutils_enable_sphinx doc/source \
+       dev-python/numpydoc
 
 python_test() {
        pytest -vv --pyargs ${BUILD_DIR}"/lib" || die "Tests fail with 
${EPYTHON}"
 }
 
-python_compile_all() {
-       use doc && emake -C doc html
-}
-
 python_install_all() {
-       use doc && local HTML_DOCS=( doc/build/html/. )
        distutils-r1_python_install_all
        if use examples; then
                docinto examples

Reply via email to