wok diff python-peak-rules/receipt @ rev 25608
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 09:05:42 2023 +0000 (9 months ago) |
parents | 104a2a2e5484 |
children |
line diff
1.1 --- a/python-peak-rules/receipt Mon Feb 07 18:01:05 2022 +0000 1.2 +++ b/python-peak-rules/receipt Thu Jul 20 09:05:42 2023 +0000 1.3 @@ -6,6 +6,7 @@ 1.4 SHORT_DESC="Generic functions and business rules support systems" 1.5 MAINTAINER="al.bobylev@gmail.com" 1.6 LICENSE="ZPL2.1" 1.7 +SOURCE="PEAK-Rules" 1.8 WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz" 1.11 @@ -17,7 +18,7 @@ 1.12 current_version() 1.13 { 1.14 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ 1.15 - sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" 1.16 + sed "/$SOURCE\/[0-9]/!d;s|.*$SOURCE/||;s|/.*||;q" 1.17 } 1.18 1.19 # Rules to configure and make the package.