1 |
Signed-off-by: Michał Górny <mgorny@g.o> |
2 |
--- |
3 |
dev-python/jinja/jinja-2.10.3-r1.ebuild | 17 +++++------------ |
4 |
1 file changed, 5 insertions(+), 12 deletions(-) |
5 |
|
6 |
diff --git a/dev-python/jinja/jinja-2.10.3-r1.ebuild b/dev-python/jinja/jinja-2.10.3-r1.ebuild |
7 |
index 39131f10d5a9..f021773e3385 100644 |
8 |
--- a/dev-python/jinja/jinja-2.10.3-r1.ebuild |
9 |
+++ b/dev-python/jinja/jinja-2.10.3-r1.ebuild |
10 |
@@ -17,20 +17,18 @@ SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz" |
11 |
LICENSE="BSD" |
12 |
SLOT="0" |
13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" |
14 |
-IUSE="doc examples test" |
15 |
+IUSE="examples test" |
16 |
RESTRICT="!test? ( test )" |
17 |
|
18 |
CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
19 |
!dev-python/jinja:compat" |
20 |
RDEPEND="${CDEPEND} |
21 |
dev-python/markupsafe[${PYTHON_USEDEP}]" |
22 |
-BDEPEND="${CDEPEND} |
23 |
- doc? ( |
24 |
- dev-python/sphinx |
25 |
- dev-python/sphinx-issues |
26 |
- dev-python/pallets-sphinx-themes |
27 |
- )" |
28 |
+BDEPEND="${CDEPEND}" |
29 |
|
30 |
+distutils_enable_sphinx docs \ |
31 |
+ dev-python/sphinx-issues \ |
32 |
+ dev-python/pallets-sphinx-themes |
33 |
distutils_enable_tests pytest |
34 |
|
35 |
# XXX: handle Babel better? |
36 |
@@ -64,12 +62,7 @@ python_compile() { |
37 |
wrap_opts distutils-r1_python_compile |
38 |
} |
39 |
|
40 |
-python_compile_all() { |
41 |
- use doc && emake -C docs html |
42 |
-} |
43 |
- |
44 |
python_install_all() { |
45 |
- use doc && local HTML_DOCS=( docs/_build/html/. ) |
46 |
if use examples ; then |
47 |
docinto examples |
48 |
dodoc -r examples/. |
49 |
-- |
50 |
2.24.0 |