wok-6.x diff pymux/receipt @ rev 24506

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 20 14:41:23 2022 +0000 (2022-02-20)
parents 095836df71b7
children 59547e97954f
line diff
     1.1 --- a/pymux/receipt	Thu Jan 27 12:16:00 2022 +0000
     1.2 +++ b/pymux/receipt	Sun Feb 20 14:41:23 2022 +0000
     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.