wok-6.x view python-paho-mqtt/receipt @ rev 25495

Up expat (2.5.0), CVE-2022-43680
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:14:28 2022 +0000 (23 months ago)
parents ac8ca9758df1
children
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 }