wok view python-paho-mqtt/receipt @ rev 25502
Up memtest-efi* (6.01)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 15 09:58:15 2023 +0000 (22 months ago) |
parents | ac8ca9758df1 |
children | 0262035dc1e7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-paho-mqtt"
4 VERSION="1.6.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/"
11 SOURCE="paho-mqtt"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-setuptools"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --prefix=/usr --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }