diff options
author | Louis Sautier <sbraz@gentoo.org> | 2019-12-31 16:26:50 +0100 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2019-12-31 16:26:50 +0100 |
commit | 135c3ad86c00190f0cf18647f9a6b4d8ee26c69a (patch) | |
tree | 677424af11581200b709f38d253661aec546469d /dev-python/jaraco-logging | |
parent | dev-python/irc: use distutils_enable_sphinx (diff) | |
download | gentoo-135c3ad86c00190f0cf18647f9a6b4d8ee26c69a.tar.gz gentoo-135c3ad86c00190f0cf18647f9a6b4d8ee26c69a.tar.bz2 gentoo-135c3ad86c00190f0cf18647f9a6b4d8ee26c69a.zip |
dev-python/jaraco-logging: use distutils_enable_sphinx
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'dev-python/jaraco-logging')
-rw-r--r-- | dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild (renamed from dev-python/jaraco-logging/jaraco-logging-3.0.0.ebuild) | 19 |
1 files changed, 4 insertions, 15 deletions
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 index 2c8fcf0eb31c..f2dc6af3ffac 100644 --- a/dev-python/jaraco-logging/jaraco-logging-3.0.0.ebuild +++ b/dev-python/jaraco-logging/jaraco-logging-3.0.0-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc test" +IUSE="test" RESTRICT="!test? ( test )" # TODO: remove six @@ -27,27 +27,16 @@ RDEPEND=" " BDEPEND=" >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] - doc? ( - >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] - >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) test? ( ${RDEPEND} >=dev-python/pytest-2.8[${PYTHON_USEDEP}] ) " -S="${WORKDIR}/${MY_PN}-${PV}" +distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \ + '>=dev-python/rst-linker-1.9' -python_compile_all() { - if use doc; then - # conf.py looks for '../CHANGES.rst' - cd docs || die - sphinx-build . _build/html || die - HTML_DOCS=( docs/_build/html/. ) - fi -} +S="${WORKDIR}/${MY_PN}-${PV}" python_test() { # Override pytest options to skip flake8 |