From af4aa7bbcca1878b281f098a93ff75aa52092d92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 6 May 2020 07:22:33 +0200 Subject: [PATCH] dev-python/requests-cache: Use distutils_enable_sphinx MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../requests-cache/requests-cache-0.4.12-r1.ebuild | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild index 5ac6dc24a10a..a209cefea5a9 100644 --- a/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild +++ b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild @@ -19,17 +19,8 @@ IUSE="doc" # Portage only has versions of request >= minimum border RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" DEPEND=" - app-arch/unzip - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + app-arch/unzip" +distutils_enable_sphinx docs # Testsuite excels in tests connecting to the network via local server daemons #distutils_enable_tests setup.py - -python_compile_all() { - use doc && emake -C docs html -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} -- 2.26.2