wok rev 24302
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 16:22:40 2022 +0000 (2022-01-15) |
parents | 4270b9b7f548 |
children | ff81f50dca78 |
files | novnc/receipt python-pil/receipt python-pychart/receipt python-pydot/receipt sshguard/receipt tmux/receipt |
line diff
1.1 --- a/novnc/receipt Sat Jan 15 17:06:30 2022 +0100 1.2 +++ b/novnc/receipt Sat Jan 15 16:22:40 2022 +0000 1.3 @@ -18,7 +18,7 @@ 1.4 1.5 current_version() 1.6 { 1.7 - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.8 + wget -O - https://github.com/novnc/noVNC/releases 2>/dev/null | \ 1.9 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.10 } 1.11
2.1 --- a/python-pil/receipt Sat Jan 15 17:06:30 2022 +0100 2.2 +++ b/python-pil/receipt Sat Jan 15 16:22:40 2022 +0000 2.3 @@ -17,7 +17,7 @@ 2.4 2.5 current_version() 2.6 { 2.7 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 2.8 + wget -O - $WEB_SITE 2>/dev/null | sed '/ PIL /!d;s|.*PIL ||' 2.9 } 2.10 2.11 # Rules to configure and make the package.
3.1 --- a/python-pychart/receipt Sat Jan 15 17:06:30 2022 +0100 3.2 +++ b/python-pychart/receipt Sat Jan 15 16:22:40 2022 +0000 3.3 @@ -16,7 +16,7 @@ 3.4 3.5 current_version() 3.6 { 3.7 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 3.8 + wget -O - $WEB_SITE 2>/dev/null | sed '/ PyChart /!d;s|.*PyChart ||' 3.9 } 3.10 3.11 # Rules to configure and make the package.
4.1 --- a/python-pydot/receipt Sat Jan 15 17:06:30 2022 +0100 4.2 +++ b/python-pydot/receipt Sat Jan 15 16:22:40 2022 +0000 4.3 @@ -6,9 +6,9 @@ 4.4 SHORT_DESC="Python interface to Graphviz's dot language." 4.5 MAINTAINER="pascal.bellard@slitaz.org" 4.6 LICENSE="MIT" 4.7 +SOURCE="pydot" 4.8 WEB_SITE="https://pypi.org/project/$SOURCE/" 4.9 4.10 -SOURCE="pydot" 4.11 TARBALL="$SOURCE-$VERSION.tar.gz" 4.12 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 4.13 4.14 @@ -17,7 +17,7 @@ 4.15 4.16 current_version() 4.17 { 4.18 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 4.19 + wget -O - $WEB_SITE 2>/dev/null | sed '/ pydot /!d;s|.*pydot ||;q' 4.20 } 4.21 4.22 # Rules to configure and make the package.
5.1 --- a/sshguard/receipt Sat Jan 15 17:06:30 2022 +0100 5.2 +++ b/sshguard/receipt Sat Jan 15 16:22:40 2022 +0000 5.3 @@ -18,7 +18,7 @@ 5.4 current_version() 5.5 { 5.6 wget -O - https://bitbucket.org/sshguard/sshguard/downloads/?tab=tags 2>/dev/null | \ 5.7 - sed '/tar..z/!ds|.*/v||;s|.tar.*||;q' 5.8 + sed '/tar..z/!d;s|.*/v||;s|.tar.*||;q' 5.9 } 5.10 5.11 # Rules to configure and make the package.
6.1 --- a/tmux/receipt Sat Jan 15 17:06:30 2022 +0100 6.2 +++ b/tmux/receipt Sat Jan 15 16:22:40 2022 +0000 6.3 @@ -19,7 +19,7 @@ 6.4 current_version() 6.5 { 6.6 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 6.7 - sed '/archive.*tar/!d;/flex/!d;s|.*/\(.*\).tar.*|\1|;q' 6.8 + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 6.9 } 6.10 6.11 # Rules to configure and make the package.