wok diff python-pdfkit/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | 1df6fa555414 |
children | 6dbe053a9904 |
line diff
1.1 --- a/python-pdfkit/receipt Thu Jan 13 18:29:05 2022 +0000 1.2 +++ b/python-pdfkit/receipt Wed Feb 16 07:53:02 2022 +0100 1.3 @@ -7,15 +7,17 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="MIT" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WEB_SITE="https://pypi.org/project/pdfkit/" 1.8 +SOURCE="bundled-pdfkit" 1.9 +WEB_SITE="https://pypi.org/project/$SOURCE/" 1.10 WGET_URL="https://files.pythonhosted.org/packages/a1/98/6988328f72fe3be4cbfcb6cbfc3066a00bf111ca7821a83dd0ce56e2cf57/pdfkit-$VERSION.tar.gz" 1.11 1.12 DEPENDS="python wkhtmltopdf" 1.13 BUILD_DEPENDS="python-setuptools" 1.14 1.15 +# What is the latest version available today? 1.16 current_version() 1.17 { 1.18 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 1.19 + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||;q" 1.20 } 1.21 1.22 # Rules to configure and make the package.