1 |
commit: 135c3ad86c00190f0cf18647f9a6b4d8ee26c69a |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 15:26:50 2019 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 15:26:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=135c3ad8 |
7 |
|
8 |
dev-python/jaraco-logging: 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 |
...ng-3.0.0.ebuild => jaraco-logging-3.0.0-r1.ebuild} | 19 ++++--------------- |
14 |
1 file changed, 4 insertions(+), 15 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/jaraco-logging/jaraco-logging-3.0.0.ebuild b/dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild |
17 |
similarity index 79% |
18 |
rename from dev-python/jaraco-logging/jaraco-logging-3.0.0.ebuild |
19 |
rename to dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild |
20 |
index 2c8fcf0eb31..f2dc6af3ffa 100644 |
21 |
--- a/dev-python/jaraco-logging/jaraco-logging-3.0.0.ebuild |
22 |
+++ b/dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild |
23 |
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
24 |
LICENSE="MIT" |
25 |
SLOT="0" |
26 |
KEYWORDS="~amd64 ~x86" |
27 |
-IUSE="doc test" |
28 |
+IUSE="test" |
29 |
RESTRICT="!test? ( test )" |
30 |
|
31 |
# TODO: remove six |
32 |
@@ -27,27 +27,16 @@ 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/pytest-2.8[${PYTHON_USEDEP}] |
44 |
) |
45 |
" |
46 |
|
47 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
48 |
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ |
49 |
+ '>=dev-python/rst-linker-1.9' |
50 |
|
51 |
-python_compile_all() { |
52 |
- if use doc; then |
53 |
- # conf.py looks for '../CHANGES.rst' |
54 |
- cd docs || die |
55 |
- sphinx-build . _build/html || die |
56 |
- HTML_DOCS=( docs/_build/html/. ) |
57 |
- fi |
58 |
-} |
59 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
60 |
|
61 |
python_test() { |
62 |
# Override pytest options to skip flake8 |