Package Details: python2-paho-mqtt 1.2-1

Git Clone URL: (read-only)
Package Base: paho-mqtt
Description: Python 2 client library for MQTT v3.1 and v3.1.1
Upstream URL:
Licenses: EPL
Submitter: dseg
Maintainer: dseg (SpotlightKid)
Last Packager: dseg
Votes: 10
Popularity: 0.329190
First Submitted: 2014-12-09 05:53
Last Updated: 2016-10-21 06:39

Latest Comments

dseg commented on 2016-10-21 06:36

Thanks for the patch. Updated.

XenGi commented on 2016-10-15 20:46

Updated PKGBUILD for 1.2 release:

# Maintainer: Daichi Shinozaki <>
# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>

pkgname=(python-$pkgbase python2-$pkgbase)

prepare() {
cp -r $_pkgname-${pkgver} py2-$_pkgname-${pkgver}

build() {
cd $srcdir/$_pkgname-${pkgver}
python build

cd $srcdir/py2-$_pkgname-${pkgver}
python2 build

package_python-paho-mqtt() {
pkgdesc="Python client library for MQTT v3.1 and v3.1.1"

cd $srcdir/$_pkgname-$pkgver
python install --root="$pkgdir" --optimize=1

package_python2-paho-mqtt() {
pkgdesc="Python 2 client library for MQTT v3.1 and v3.1.1"

cd $srcdir/py2-$_pkgname-$pkgver
python2 install --root="$pkgdir" --optimize=1

dseg commented on 2015-10-23 08:26

I've just tried to update the package, which contains the change for merging of the packages (python2-paho-mqtt, python-paho-mqtt) but failed because the python2-paho-mqtt is already exists so could not updated.
I've requested the deletion of python2-paho-mqtt, will try later if the request will be accepted.

dseg commented on 2015-09-03 08:24

Thanks you, I completely agree with your idea and want to rename this package soon.

SpotlightKid commented on 2015-08-28 14:41

1. Shouldn't this package be renamed to 'python-paho-mqtt'?

2. The license should be changed to 'EPL', since it is provided in /usr/share/licenses/common.

3. makedepends=('python3') is redundant.

4. IMHO the project URL should be

5. We can make a split package for Python 2/3.

Here's my PKGBUILD with the above improvements: