wok diff pymux/receipt @ rev 24702
updated knock (0.7.8 -> 0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 09:51:46 2022 +0100 (2022-03-14) |
parents | 095836df71b7 |
children | 59547e97954f |
line diff
1.1 --- a/pymux/receipt Thu Jan 27 12:16:00 2022 +0000 1.2 +++ b/pymux/receipt Mon Mar 14 09:51:46 2022 +0100 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="utilities" 1.5 SHORT_DESC="A terminal multiplexer (like tmux) in Python." 1.6 MAINTAINER="paul@slitaz.org" 1.7 -WEB_SITE="https://github.com/jonathanslenders/pymux" 1.8 +WEB_SITE="https://pypi.org/project/pymux/" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" 1.12 @@ -17,8 +17,7 @@ 1.13 # What is the latest version available today? 1.14 current_version() 1.15 { 1.16 - wget -O - $WEB_SITE/tags 2>/dev/null | \ 1.17 - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.18 + wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q" 1.19 } 1.20 1.21 # Rules to configure and make the package.