wok diff python-pysqlite/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | 1df6fa555414 |
children |
line diff
1.1 --- a/python-pysqlite/receipt Thu Jan 13 18:29:05 2022 +0000 1.2 +++ b/python-pysqlite/receipt Tue Feb 22 15:47:04 2022 +0100 1.3 @@ -6,22 +6,22 @@ 1.4 SHORT_DESC="Python interface for the SQLite database." 1.5 MAINTAINER="sygne@ombres.eu" 1.6 LICENSE="zlib/libpng" 1.7 +SOURCE="pysqlite" 1.8 WEB_SITE="https://pypi.org/project/$SOURCE/" 1.9 1.10 -SOURCE="pysqlite" 1.11 TARBALL="$SOURCE-$VERSION.tar.gz" 1.12 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.13 1.14 DEPENDS="python sqlite" 1.15 BUILD_DEPENDS="python python-dev sqlite-dev" 1.16 1.17 +# What is the latest version available today? 1.18 current_version() 1.19 { 1.20 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 1.21 + wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" 1.22 } 1.23 1.24 # Rules to configure and make the package. 1.25 -# Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 cp $stuff/setup.cfg .