1 |
commit: af4aa7bbcca1878b281f098a93ff75aa52092d92 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 6 05:22:33 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 6 06:03:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af4aa7bb |
7 |
|
8 |
dev-python/requests-cache: Use distutils_enable_sphinx |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild | 13 ++----------- |
13 |
1 file changed, 2 insertions(+), 11 deletions(-) |
14 |
|
15 |
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 |
16 |
index 5ac6dc24a10..a209cefea5a 100644 |
17 |
--- a/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild |
18 |
+++ b/dev-python/requests-cache/requests-cache-0.4.12-r1.ebuild |
19 |
@@ -19,17 +19,8 @@ IUSE="doc" |
20 |
# Portage only has versions of request >= minimum border |
21 |
RDEPEND=">=dev-python/requests-2.6[${PYTHON_USEDEP}]" |
22 |
DEPEND=" |
23 |
- app-arch/unzip |
24 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
25 |
+ app-arch/unzip" |
26 |
|
27 |
+distutils_enable_sphinx docs |
28 |
# Testsuite excels in tests connecting to the network via local server daemons |
29 |
#distutils_enable_tests setup.py |
30 |
- |
31 |
-python_compile_all() { |
32 |
- use doc && emake -C docs html |
33 |
-} |
34 |
- |
35 |
-python_install_all() { |
36 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
37 |
- distutils-r1_python_install_all |
38 |
-} |