wok-6.x diff python-paho-mqtt/receipt @ rev 20295
Add python-humanize, python-pyajam, python-paho-mqtt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 25 16:08:37 2018 +0200 (2018-04-25) |
parents | |
children | 814362194a8d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-paho-mqtt/receipt Wed Apr 25 16:08:37 2018 +0200 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-paho-mqtt" 1.7 +VERSION="1.3.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Eclipse Paho MQTT Python client library" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="epl-v10 edl-v10" 1.12 +WEB_SITE="https://pypi.org/project/paho-mqtt/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/eclipse/paho.mqtt.python/archive/v$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="python" 1.17 +BUILD_DEPENDS="setuptools" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + python setup.py install --prefix=/usr --root=$DESTDIR 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + cp -a $install/usr $fs/ 1.29 +}