1 |
commit: f6a8d94c01cb92d3d1a95f95ed35f4d167f13f68 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jul 24 16:58:40 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 29 18:46:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a8d94c |
7 |
|
8 |
dev-python/aiohttp-jinja2: use distutils_enable_sphinx for docs |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gmail.com> |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
.../aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild | 20 ++------------------ |
14 |
1 file changed, 2 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild |
17 |
index 14138d00c26..6afda9ed065 100644 |
18 |
--- a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild |
19 |
+++ b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.4.2.ebuild |
20 |
@@ -14,25 +14,19 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
21 |
LICENSE="Apache-2.0" |
22 |
SLOT="0" |
23 |
KEYWORDS="~amd64 ~x86" |
24 |
-IUSE="doc test" |
25 |
-RESTRICT="!test? ( test )" |
26 |
|
27 |
RDEPEND=" |
28 |
>=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}] |
29 |
>=dev-python/jinja-2.10[${PYTHON_USEDEP}] |
30 |
" |
31 |
-DEPEND=" |
32 |
- ${RDEPEND} |
33 |
- doc? ( |
34 |
- >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}] |
35 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
36 |
- ) |
37 |
+BDEPEND=" |
38 |
test? ( >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] ) |
39 |
" |
40 |
|
41 |
DOCS=( README.rst ) |
42 |
|
43 |
distutils_enable_tests pytest |
44 |
+distutils_enable_sphinx docs dev-python/alabaster |
45 |
|
46 |
src_prepare() { |
47 |
default |
48 |
@@ -43,13 +37,3 @@ src_prepare() { |
49 |
|
50 |
distutils-r1_src_prepare |
51 |
} |
52 |
- |
53 |
-python_compile_all() { |
54 |
- use doc && emake -C docs html |
55 |
-} |
56 |
- |
57 |
-python_install_all() { |
58 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
59 |
- |
60 |
- distutils-r1_python_install_all |
61 |
-} |