Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582722 - dev-python/paho-mqtt: client class which enable applications to connect to an MQTT broker
Summary: dev-python/paho-mqtt: client class which enable applications to connect to an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Neil Bothwick
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2016-05-11 08:19 UTC by Neil Bothwick
Modified: 2016-07-08 13:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new ebuild (paho-mqtt-1.1.ebuild,570 bytes, text/plain)
2016-05-11 08:19 UTC, Neil Bothwick
Details
Updated ebuild for dev-python/paho-mqtt-1.1 (paho-mqtt-1.1.ebuild,508 bytes, text/plain)
2016-05-12 09:52 UTC, Neil Bothwick
Details
metadata.xml (metadata.xml,364 bytes, text/xml)
2016-05-12 09:53 UTC, Neil Bothwick
Details
Updated ebuild for dev-python/paho-mqtt-1.2 (paho-mqtt-1.2.ebuild,513 bytes, text/plain)
2016-07-08 13:36 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2016-05-11 08:19:01 UTC
Created attachment 433908 [details]
new ebuild

This is an ebuild for the Python mqtt library that was previously a part of app-misc/mosquitto, see bug #320159 and https://www.eclipse.org/paho/clients/python/
Comment 1 Coacher 2016-05-12 03:26:17 UTC
Thank you for your contribution.

Re attached ebuild:
- EAPI=5 is fine, but the most recent one is EAPI=6. See if it can be updated.
- ${PN}-${PV}.zip in SRC_URI can be replaced with just ${P}.zip
- These lines

python_install_all() {
	distutils-r1_python_install_all
}

  can be safely removed. distutils-r1 eclass already does that by default.
Comment 2 Coacher 2016-05-12 03:27:54 UTC
CC proxy-maint team as they help the user maintain mosquitto package referenced in OP.
Comment 3 Neil Bothwick 2016-05-12 09:52:20 UTC
Created attachment 434056 [details]
Updated ebuild for dev-python/paho-mqtt-1.1

Updated ebuild based on comments.
Comment 4 Neil Bothwick 2016-05-12 09:53:49 UTC
Created attachment 434058 [details]
metadata.xml
Comment 5 Sam Jorna (wraeth) gentoo-dev 2016-05-12 11:58:13 UTC
Thanks!

This ebuild looks good and has been added as-is.

There is another package related to this and mosquitto that I will be looking at adding sometime in the near future. If you're interested in looking at and possibly maintaing this, just let me know; otherwise, good work.


commit 27352e65534e51a5a748ab63415f83cb8495b397
Author: Sam Jorna <wraeth@gentoo.org>
Date:   Thu May 12 21:47:58 2016 +1000

    dev-python/paho-mqtt: new package
    
    Python mqtt library that was previously a part of app-misc/mosquitto, and
    is a client class which enable applications to connect to an MQTT broker.
    Ebuild by Proxied Maintainer Neil Bothwick per bug.
    
    Gentoo-bug: 582722
    Package-Manager: portage-2.2.28
Comment 6 Neil Bothwick 2016-05-12 12:24:42 UTC
What is the other package?
Comment 7 Sam Jorna (wraeth) gentoo-dev 2016-05-12 12:44:40 UTC
https://github.com/owntracks/recorder - mrueg suggested this after mosquitto was added.
Comment 8 Neil Bothwick 2016-05-12 15:48:16 UTC
It's not something I'm likely to use, so I don't think so.
Comment 9 Neil Bothwick 2016-05-20 00:06:48 UTC
Scrub that last comment. After a further look, it seems interesting. I have an ebuild that basically works, I'll clean t up and then create a new bug for it.
Comment 10 Neil Bothwick 2016-05-23 09:37:38 UTC
There's an ebuild for owntracks-recorder at bug #583856
Comment 11 Neil Bothwick 2016-07-08 13:36:09 UTC
Created attachment 440080 [details]
Updated ebuild for dev-python/paho-mqtt-1.2

Update to 1.2, only the SRC_URI has changed.