dev-python/paho-mqtt: Version bump to 1.2.3
authorManuel Rüger <mrueg@gentoo.org>
Mon, 15 May 2017 12:56:33 +0000 (14:56 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 15 May 2017 12:56:33 +0000 (14:56 +0200)
Proxied commit for Neil Bothwick

Gentoo-Bug: 588504
Package-Manager: Portage-2.3.5, Repoman-2.3.2

dev-python/paho-mqtt/Manifest
dev-python/paho-mqtt/paho-mqtt-1.2.3.ebuild [new file with mode: 0644]

index 6930bbc56b617ec63bfc0fc2659084d65b25f8f4..ca3eb3b932af7debe98250b96d761044353c7759 100644 (file)
@@ -1 +1,2 @@
 DIST paho-mqtt-1.1.zip 159529 SHA256 e8585df21f12d0af6295b1484d894d79376621d1cf33f02c26a811d09d6d8efa SHA512 ef6d1a29480671413dbb655bd8f668b99f8587c14589d2180a37142b368e0ce058f8ed967dbfaa82f239c86e295338bc35c9f28a3ea39d21a6034cd8787a63ce WHIRLPOOL 675891b1e26e00a04d1ba7c740a9846d7c4a34a7bafa7e33e9b233bc213e8bda52eda5b85153b8606786d96142889f8dd61d06c85548c4d0e7480047a90d395f
+DIST paho-mqtt-1.2.3.tar.gz 91467 SHA256 3239569cd9c12b363757265f8b2f8418750c5276c5aa0ba29dcd1106dc2ca875 SHA512 3fb15dc856cbae8885a8a379cea8ceb583ef44954cb8743602fae3e9274d4d0222a87409f048f153180be930bb6e570329768297287a2f8e8c812af03a2c012e WHIRLPOOL f497a1ac3c6436da107ac069163c64a15b2b5f43491618ac45ae237a1e839367e84315f629fa56b6b49659d57233711ffa3c96b35eb9c71d11dfed891382d067
diff --git a/dev-python/paho-mqtt/paho-mqtt-1.2.3.ebuild b/dev-python/paho-mqtt/paho-mqtt-1.2.3.ebuild
new file mode 100644 (file)
index 0000000..b066060
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A client class with support for both MQTT v3.1 and v3.1.1 on Python 2.7 or 3.x."
+HOMEPAGE="https://www.eclipse.org/paho/clients/python/"
+SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/paho.mqtt.python-${PV}"
+
+python_prepare() {
+       sed -i -e "s/python/${EPYTHON}/" test/lib/Makefile || die
+}
+
+python_test() {
+       emake test
+}