summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sbraz@gentoo.org>2019-12-31 16:21:45 +0100
committerLouis Sautier <sbraz@gentoo.org>2019-12-31 16:22:05 +0100
commit79fd40ab0ef7c1106affb486d60908a9498813e0 (patch)
tree40514bff266f16fb7c9d4e76f0b91a4144676293 /dev-python/irc
parentdev-python/jaraco-classes: bump to 3.1.0, drops Py<3.6 (diff)
downloadgentoo-79fd40ab0ef7c1106affb486d60908a9498813e0.tar.gz
gentoo-79fd40ab0ef7c1106affb486d60908a9498813e0.tar.bz2
gentoo-79fd40ab0ef7c1106affb486d60908a9498813e0.zip
dev-python/irc: 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/irc')
-rw-r--r--dev-python/irc/irc-18.0.0-r1.ebuild (renamed from dev-python/irc/irc-18.0.0.ebuild)17
1 files changed, 3 insertions, 14 deletions
diff --git a/dev-python/irc/irc-18.0.0.ebuild b/dev-python/irc/irc-18.0.0-r1.ebuild
index 5b30887f153f..bc2ceafe82d0 100644
--- a/dev-python/irc/irc-18.0.0.ebuild
+++ b/dev-python/irc/irc-18.0.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples test"
+IUSE="examples test"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -30,11 +30,6 @@ 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/backports-unittest-mock[${PYTHON_USEDEP}]
@@ -42,14 +37,8 @@ BDEPEND="
)
"
-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
-}
+distutils_enable_sphinx docs '>=dev-python/jaraco-packaging-3.2' \
+ '>=dev-python/rst-linker-1.9'
python_test() {
# Override pytest options to skip flake8