wok-current diff python-pdfkit/receipt @ rev 24968

gnutls: disabled GOST support
author Hans-G?nter Theisgen
date Tue Apr 26 13:11:21 2022 +0100 (2022-04-26)
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	Tue Apr 26 13:11:21 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.