diff options
author | 2019-11-22 10:03:43 +0100 | |
---|---|---|
committer | 2019-11-22 10:35:05 +0100 | |
commit | 5f7cd89ef28db56435912414be156512572b8374 (patch) | |
tree | 4ed6de61f333db1b609eb661f86e4209480ec216 /dev-python/pyserial | |
parent | x11-misc/xkeyboard-config: arm stable wrt bug #700310 (diff) | |
download | gentoo-5f7cd89ef28db56435912414be156512572b8374.tar.gz gentoo-5f7cd89ef28db56435912414be156512572b8374.tar.bz2 gentoo-5f7cd89ef28db56435912414be156512572b8374.zip |
dev-python/pyserial: Enable py3.8
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 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-python/pyserial/pyserial-3.4.ebuild b/dev-python/pyserial/pyserial-3.4.ebuild index 42b285e7b178..789422e12023 100644 --- a/dev-python/pyserial/pyserial-3.4.ebuild +++ b/dev-python/pyserial/pyserial-3.4.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy ) inherit distutils-r1 @@ -17,7 +17,7 @@ IUSE="doc examples" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx ) " # Usual avoid d'loading un-needed objects.inv file @@ -30,15 +30,14 @@ python_compile_all() { } python_test() { - ${EPYTHON} test/run_all_tests.py || die "Testing failed with ${EPYTHON}" + "${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 - insinto /usr/share/doc/${PF} - doins -r examples + dodoc -r examples docompress -x /usr/share/doc/${PF}/examples fi } |