diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-23 09:11:17 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-23 09:21:10 +0100 |
commit | e2121d2dc1fdb7948387b1ef7663d40fac8f6b23 (patch) | |
tree | 061d440a1d495e908201d487207e232baec8c326 /dev-python/pyserial | |
parent | dev-python/wsproto: Bump to 1.0.0 (diff) | |
download | gentoo-e2121d2dc1fdb7948387b1ef7663d40fac8f6b23.tar.gz gentoo-e2121d2dc1fdb7948387b1ef7663d40fac8f6b23.tar.bz2 gentoo-e2121d2dc1fdb7948387b1ef7663d40fac8f6b23.zip |
dev-python/pyserial: Bump to 3.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyserial')
-rw-r--r-- | dev-python/pyserial/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyserial/pyserial-3.5.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pyserial/Manifest b/dev-python/pyserial/Manifest index 0dddf76c5923..e5534afd9ce5 100644 --- a/dev-python/pyserial/Manifest +++ b/dev-python/pyserial/Manifest @@ -1 +1,2 @@ DIST pyserial-3.4.tar.gz 151657 BLAKE2B cf47aba4a6f3bb2fe39d99e72907496faa1c9f37857810fef4d826cca72c361d0e43dbc33d9cf2291a589bf0193d17355d149e6eb61b4f9e28250207708ef09a SHA512 d71dffc330704e41caac6054adf192bee2f1c119691faf2ea93fe22e8e3ba000dc4a1434293f6f80d05a5577d85b96791f656e28d5c63fb0ce6a6605467a117f +DIST pyserial-3.5.tar.gz 159125 BLAKE2B 6be1930afc6cfecad54cd7a116a0e93085d166907acb4c2fa5b7b9485ec28cfb6dc9e7ffc13ae5628c344ef0f78c15bdd828b8d51048a484548538cf14b9da20 SHA512 c8df5e50d952d5a6dcf1d9253a6ba953e9763c545a867da66c22c90dfa015aba0194f2a8f29a229d0a5f4dc8bfeeaaab8bcfda4066ed78a18b151bc05e6ae327 diff --git a/dev-python/pyserial/pyserial-3.5.ebuild b/dev-python/pyserial/pyserial-3.5.ebuild new file mode 100644 index 000000000000..f593d12af733 --- /dev/null +++ b/dev-python/pyserial/pyserial-3.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python Serial Port extension" +HOMEPAGE="https://github.com/pyserial/pyserial https://pypi.org/project/pyserial/" +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 ~riscv ~s390 ~sparc ~x86" +IUSE="examples" + +DOCS=( CHANGES.rst README.rst ) + +distutils_enable_sphinx documentation --no-autodoc + +python_test() { + "${EPYTHON}" test/run_all_tests.py loop:// -v || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |