wok-current diff python-pyajam/receipt @ rev 24699

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 19:47:29 2022 +0000 (2022-03-13)
parents 89c8d8b6cf48
children 9aa1f88b45db
line diff
     1.1 --- a/python-pyajam/receipt	Fri Feb 18 09:29:30 2022 +0000
     1.2 +++ b/python-pyajam/receipt	Sun Mar 13 19:47:29 2022 +0000
     1.3 @@ -17,8 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
     1.8 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
     1.9 +	wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \
    1.10 +	sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.