Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyserial/
Date: Thu, 19 Oct 2017 08:20:15
Message-Id: 1508401181.dcacd94deeb200f9e441847014e4ac861d71e612.radhermit@gentoo
1 commit: dcacd94deeb200f9e441847014e4ac861d71e612
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 19 08:09:31 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 19 08:19:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcacd94d
7
8 dev-python/pyserial: version bump to 3.4
9
10 dev-python/pyserial/Manifest | 1 +
11 dev-python/pyserial/pyserial-3.4.ebuild | 44 +++++++++++++++++++++++++++++++++
12 2 files changed, 45 insertions(+)
13
14 diff --git a/dev-python/pyserial/Manifest b/dev-python/pyserial/Manifest
15 index 584772e3d61..22ca4b8868c 100644
16 --- a/dev-python/pyserial/Manifest
17 +++ b/dev-python/pyserial/Manifest
18 @@ -1,3 +1,4 @@
19 DIST pyserial-2.7.tar.gz 122081 SHA256 3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477 SHA512 3fc8d9425a47ebcd37db1fcc58182854b48c9abd6642f35fba2d21458d864ae448105d704dc0d880832ba7516fa16f108f24363bd5fa9f083ea79a4ac614339b WHIRLPOOL ae6b4df86220617f7fbc1f1e4085a7e85dca645a6d84339163b40fc7a15f14b879ef7a729d3d23d0300f9ee04b21d6c24d13a791d520aef3f3ad141c6acd9b68
20 DIST pyserial-3.2.1.tar.gz 147338 SHA256 1eecfe4022240f2eab5af8d414f0504e072ee68377ba63d3b6fe6e66c26f66d1 SHA512 8d3e580cc7781fc6549ab6e408642f4321eb90aafbe593f5dcf953001730f89ee32ce6592728764027a7944bfe4a0ebe2cfac1fce071777aac7c4f27ac94ab7f WHIRLPOOL 529c4eb12adf88579d528d3bd9dfec6fd7b43890217392677b7c8428f7ca7b3fe5dded863c4690c9eaa5ea37a2cdb56744e328a47a4b89d5440becceb983ecb8
21 DIST pyserial-3.3.tar.gz 149032 SHA256 2949cddffc2b05683065a3cd2345114b1a49b08df8cb843d69ba99dc3e19edc2 SHA512 57a0bcd0684530e1d60022804dd75acd5d9a9a358c92d967076884b2419bcfefae71e949f7aba1737023f6b089c993e98dd7cf6860e9402ed7e0b698953b3ac8 WHIRLPOOL 41174cb26532f563950aa1510d5fe2ab60def9141744ffad5d063f2a0e9cd7e0fdaf68db6c72ec47b2eb8fd37aa064286c27a90288ae1482e1f336574e9a1b1a
22 +DIST pyserial-3.4.tar.gz 151657 SHA256 6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627 SHA512 d71dffc330704e41caac6054adf192bee2f1c119691faf2ea93fe22e8e3ba000dc4a1434293f6f80d05a5577d85b96791f656e28d5c63fb0ce6a6605467a117f WHIRLPOOL ec79c65dfd5469dffc9f8be2a19742e3c2de591a8ff00f2350a57f3d3b948176b88b232aafb24b79d33a762b6fd7687e80c8e0915d6a01c05e5c990456f5c734
23
24 diff --git a/dev-python/pyserial/pyserial-3.4.ebuild b/dev-python/pyserial/pyserial-3.4.ebuild
25 new file mode 100644
26 index 00000000000..49af2522251
27 --- /dev/null
28 +++ b/dev-python/pyserial/pyserial-3.4.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
35 +
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Python Serial Port extension"
39 +HOMEPAGE="https://github.com/pyserial/pyserial https://pypi.python.org/pypi/pyserial"
40 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="PSF-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
45 +IUSE="doc examples"
46 +
47 +DEPEND="
48 + dev-python/setuptools[${PYTHON_USEDEP}]
49 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
50 +"
51 +
52 +# Usual avoid d'loading un-needed objects.inv file
53 +PATCHES=( "${FILESDIR}"/mapping.patch )
54 +
55 +DOCS=( CHANGES.rst README.rst )
56 +
57 +python_compile_all() {
58 + use doc && emake -C documentation html
59 +}
60 +
61 +python_test() {
62 + ${EPYTHON} test/run_all_tests.py || die "Testing failed with ${EPYTHON}"
63 +}
64 +
65 +python_install_all() {
66 + use doc && local HTML_DOCS=( documentation/_build/html/. )
67 + distutils-r1_python_install_all
68 + if use examples; then
69 + insinto /usr/share/doc/${PF}
70 + doins -r examples
71 + docompress -x /usr/share/doc/${PF}/examples
72 + fi
73 +}