diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-11-22 11:13:20 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-11-25 13:34:58 +0100 |
commit | 274914a8cc012ad1845f350f5349f05809b31771 (patch) | |
tree | db388a4a8f3b8d5f7f799be9ac39464d1d922118 /dev-python/pyserial | |
parent | dev-python/jinja: Use distutils_enable_sphinx (diff) | |
download | gentoo-274914a8cc012ad1845f350f5349f05809b31771.tar.gz gentoo-274914a8cc012ad1845f350f5349f05809b31771.tar.bz2 gentoo-274914a8cc012ad1845f350f5349f05809b31771.zip |
dev-python/pyserial: Use distutils_enable_sphinx
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyserial')
-rw-r--r-- | dev-python/pyserial/pyserial-3.4.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-python/pyserial/pyserial-3.4.ebuild b/dev-python/pyserial/pyserial-3.4.ebuild index 2325d26c8f7c..64f8f963b205 100644 --- a/dev-python/pyserial/pyserial-3.4.ebuild +++ b/dev-python/pyserial/pyserial-3.4.ebuild @@ -13,28 +13,21 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="PSF-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="doc examples" +IUSE="examples" -DEPEND=" +BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx ) " -# Usual avoid d'loading un-needed objects.inv file -PATCHES=( "${FILESDIR}"/mapping.patch ) - DOCS=( CHANGES.rst README.rst ) -python_compile_all() { - use doc && emake -C documentation html -} +distutils_enable_sphinx documentation --no-autodoc python_test() { "${EPYTHON}" test/run_all_tests.py loop:// -v || die "Testing failed with ${EPYTHON}" } python_install_all() { - use doc && local HTML_DOCS=( documentation/_build/html/. ) distutils-r1_python_install_all if use examples; then dodoc -r examples |