commit: af4aa7bbcca1878b281f098a93ff75aa52092d92
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 6 05:22:33 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 6 06:03:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af4aa7bb
dev-python/requests-cache: Use distutils_enable_sphinx
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/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 5ac6dc24a10..a209cefea5a 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
-}