Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/paho-mqtt/
Date: Thu, 18 Oct 2018 11:33:36
Message-Id: 1539862398.3282dc2a83ca47c061c8a9f3176e595837171922.vdupras@gentoo
1 commit: 3282dc2a83ca47c061c8a9f3176e595837171922
2 Author: Lucas Ramage <ramage.lucas <AT> protonmail <DOT> com>
3 AuthorDate: Sat Sep 22 19:27:03 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 18 11:33:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3282dc2a
7
8 dev-python/paho-mqtt: bump version to 1.4.0
9
10 Signed-off-by: Lucas Ramage <ramage.lucas <AT> protonmail.com>
11 Closes: https://bugs.gentoo.org/665148
12 Package-Manager: Portage-2.3.24, Repoman-2.3.6
13 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
14
15 dev-python/paho-mqtt/Manifest | 1 +
16 dev-python/paho-mqtt/metadata.xml | 2 +-
17 dev-python/paho-mqtt/paho-mqtt-1.4.0.ebuild | 37 +++++++++++++++++++++++++++++
18 3 files changed, 39 insertions(+), 1 deletion(-)
19
20 diff --git a/dev-python/paho-mqtt/Manifest b/dev-python/paho-mqtt/Manifest
21 index 6897f7cabd5..e99383d9cbf 100644
22 --- a/dev-python/paho-mqtt/Manifest
23 +++ b/dev-python/paho-mqtt/Manifest
24 @@ -1,2 +1,3 @@
25 DIST paho-mqtt-1.1.zip 159529 BLAKE2B ca3a39628c9cab8c4f3606587a5c853e79535b37a92991ecc32903967952cc00f6a9b967af0d343c4619f3e46ace1330baebc7c2e9dc231673f51775e4e1de25 SHA512 ef6d1a29480671413dbb655bd8f668b99f8587c14589d2180a37142b368e0ce058f8ed967dbfaa82f239c86e295338bc35c9f28a3ea39d21a6034cd8787a63ce
26 DIST paho-mqtt-1.3.1.tar.gz 102133 BLAKE2B 905a51824d487cb125e06114bcba6b1ba862de4ab816db16aadb6ff761145fd4724dc6523a0c6837b8a16ced6730c5558612deb138bd95721f15054f5d6851a4 SHA512 95adeeaffbbd4b39d19fbd46feb39ec4a2ac923addd3c754a474b7a91d620bfca1678645c1a09c925e38a33995575944b873e3b2300d7bc2f3c5be3005c74d4c
27 +DIST paho-mqtt-1.4.0.tar.gz 108278 BLAKE2B 0569f3cb5d262b3b7f6ae68261fe138d839afcc6fe91f880e29de24d5cf8e2491af81a30eb82c27fe63eee90114326eb75b06a32e05ec2fffed27b92d9601902 SHA512 2e49f0f146207ab4fbc8c346b10d3e2b50869b2d9db7c999b6645f7213fb635b64cff01c5405e7833a8b25334d24685ce6ed734a6e4b6b0660b48f65cf4a941c
28
29 diff --git a/dev-python/paho-mqtt/metadata.xml b/dev-python/paho-mqtt/metadata.xml
30 index c1efb3bd1df..87bf6367c9c 100644
31 --- a/dev-python/paho-mqtt/metadata.xml
32 +++ b/dev-python/paho-mqtt/metadata.xml
33 @@ -2,7 +2,7 @@
34 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 <pkgmetadata>
36 <maintainer type="person">
37 - <email>ramage.lucas@×××××××××××.org</email>
38 + <email>ramage.lucas@××××××××××.com</email>
39 <name>Lucas Ramage</name>
40 </maintainer>
41 <maintainer type="project">
42
43 diff --git a/dev-python/paho-mqtt/paho-mqtt-1.4.0.ebuild b/dev-python/paho-mqtt/paho-mqtt-1.4.0.ebuild
44 new file mode 100644
45 index 00000000000..3f9c95cc4cd
46 --- /dev/null
47 +++ b/dev-python/paho-mqtt/paho-mqtt-1.4.0.ebuild
48 @@ -0,0 +1,37 @@
49 +# Copyright 1999-2018 Gentoo Foundation
50 +# Distributed under the terms of the GNU General Public License v2
51 +
52 +EAPI=6
53 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
54 +
55 +inherit distutils-r1
56 +
57 +DESCRIPTION="A client class with support for both MQTT v3.1 and v3.1.1"
58 +HOMEPAGE="https://www.eclipse.org/paho/clients/python/"
59 +SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
60 +
61 +LICENSE="EPL-1.0"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~x86"
64 +IUSE="test"
65 +
66 +RDEPEND=""
67 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 + test? (
69 + dev-python/mock[${PYTHON_USEDEP}]
70 + dev-python/pytest[${PYTHON_USEDEP}]
71 + dev-python/pytest-runner[${PYTHON_USEDEP}]
72 + ) "
73 +
74 +S="${WORKDIR}/paho.mqtt.python-${PV}"
75 +
76 +RESTRICT="test" #659106
77 +
78 +src_prepare() {
79 + eapply "${FILESDIR}/${PN}-1.3.1-strip-test-dependency.patch"
80 + default
81 +}
82 +
83 +python_test() {
84 + esetup.py test
85 +}