1 |
commit: 79fd40ab0ef7c1106affb486d60908a9498813e0 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 15:21:45 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 15:22:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79fd40ab |
7 |
|
8 |
dev-python/irc: use distutils_enable_sphinx |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
12 |
|
13 |
.../irc/{irc-18.0.0.ebuild => irc-18.0.0-r1.ebuild} | 17 +++-------------- |
14 |
1 file changed, 3 insertions(+), 14 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/irc/irc-18.0.0.ebuild b/dev-python/irc/irc-18.0.0-r1.ebuild |
17 |
similarity index 81% |
18 |
rename from dev-python/irc/irc-18.0.0.ebuild |
19 |
rename to dev-python/irc/irc-18.0.0-r1.ebuild |
20 |
index 5b30887f153..bc2ceafe82d 100644 |
21 |
--- a/dev-python/irc/irc-18.0.0.ebuild |
22 |
+++ b/dev-python/irc/irc-18.0.0-r1.ebuild |
23 |
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
24 |
LICENSE="MIT" |
25 |
SLOT="0" |
26 |
KEYWORDS="~amd64 ~x86" |
27 |
-IUSE="doc examples test" |
28 |
+IUSE="examples test" |
29 |
RESTRICT="!test? ( test )" |
30 |
|
31 |
RDEPEND=" |
32 |
@@ -30,11 +30,6 @@ RDEPEND=" |
33 |
" |
34 |
BDEPEND=" |
35 |
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
36 |
- doc? ( |
37 |
- >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] |
38 |
- >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] |
39 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
40 |
- ) |
41 |
test? ( |
42 |
${RDEPEND} |
43 |
dev-python/backports-unittest-mock[${PYTHON_USEDEP}] |
44 |
@@ -42,14 +37,8 @@ BDEPEND=" |
45 |
) |
46 |
" |
47 |
|
48 |
-python_compile_all() { |
49 |
- if use doc; then |
50 |
- # conf.py looks for '../CHANGES.rst' |
51 |
- cd docs || die |
52 |
- sphinx-build . _build/html || die |
53 |
- HTML_DOCS=( docs/_build/html/. ) |
54 |
- fi |
55 |
-} |
56 |
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ |
57 |
+ '>=dev-python/rst-linker-1.9' |
58 |
|
59 |
python_test() { |
60 |
# Override pytest options to skip flake8 |