wok view python-paho-mqtt/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents aa358e4ebf18
children 2b4abb958dd8
line source
1 # SliTaz package receipt.
3 PACKAGE="python-paho-mqtt"
4 VERSION="1.3.1"
5 CATEGORY="development"
6 SHORT_DESC="Eclipse Paho MQTT Python client library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="epl-v10 edl-v10"
9 WEB_SITE="https://pypi.org/project/paho-mqtt/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/eclipse/paho.mqtt.python/archive/v$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --prefix=/usr --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/usr $fs/
26 }