wok diff python-psutil/receipt @ rev 24721
updated libburn and libburn-dev (1.5.2 -> 1.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 09:33:23 2022 +0100 (2022-03-15) |
parents | 1df6fa555414 |
children | 88b11e08f73a |
line diff
1.1 --- a/python-psutil/receipt Thu Jan 13 18:29:05 2022 +0000 1.2 +++ b/python-psutil/receipt Tue Mar 15 09:33:23 2022 +0100 1.3 @@ -6,9 +6,9 @@ 1.4 SHORT_DESC="A process and system utilities module for Python." 1.5 MAINTAINER="paul@slitaz.org" 1.6 LICENSE="BSD" 1.7 +SOURCE="psutil" 1.8 WEB_SITE="https://pypi.org/project/$SOURCE/" 1.9 1.10 -SOURCE="psutil" 1.11 TARBALL="$SOURCE-$VERSION.tar.gz" 1.12 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" 1.13 1.14 @@ -17,9 +17,10 @@ 1.15 1.16 HOST_ARCH="i486 arm" 1.17 1.18 +# What is the latest version available today? 1.19 current_version() 1.20 { 1.21 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 1.22 + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" 1.23 } 1.24 1.25 # Rules to configure and make the package.