wok diff python-rpi-pyglow/receipt @ rev 25858

Update some urls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 23 14:52:03 2025 +0000 (10 days ago)
parents 8eaf1d9eb640
children
line diff
     1.1 --- a/python-rpi-pyglow/receipt	Tue Nov 09 17:05:26 2021 +0000
     1.2 +++ b/python-rpi-pyglow/receipt	Sat Aug 23 14:52:03 2025 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  
     1.5  DEPENDS="python python-smbus python-psutil python-rpi-gpio"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.