wok-6.x diff python-django/receipt @ rev 24652
updated i3 and i3-man (4.19.2 -> 4.20.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 06:27:26 2022 +0100 (2022-03-11) |
parents | 908717f36471 |
children |
line diff
1.1 --- a/python-django/receipt Sun Apr 05 15:49:21 2020 +0100 1.2 +++ b/python-django/receipt Fri Mar 11 06:27:26 2022 +0100 1.3 @@ -16,6 +16,13 @@ 1.4 DEPENDS="python python-pysqlite" 1.5 BUILD_DEPENDS="python python-setuptools" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed '/latest/!d;s|.*release: ||;s|<.*||' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {