wok diff python-paho-mqtt/receipt @ rev 25694
dropbear: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 14:12:01 2024 +0000 (2 months ago) |
parents | bd54af54b0ef |
children |
line diff
1.1 --- a/python-paho-mqtt/receipt Wed Jul 13 15:10:55 2022 +0100 1.2 +++ b/python-paho-mqtt/receipt Sun Apr 21 14:12:01 2024 +0000 1.3 @@ -15,10 +15,11 @@ 1.4 DEPENDS="python" 1.5 BUILD_DEPENDS="python python-setuptools" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.12 + wget -O - https://github.com/eclipse/paho.mqtt.python/tags 2>/dev/null | \ 1.13 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.14 } 1.15 1.16 # Rules to configure and make the package.