wok-current diff python/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | 0e3b43ca38e6 |
children | 401ca84be53a |
line diff
1.1 --- a/python/receipt Wed Apr 08 13:49:09 2020 +0100 1.2 +++ b/python/receipt Thu Jan 27 12:16:00 2022 +0000 1.3 @@ -19,6 +19,12 @@ 1.4 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://www.python.org/ftp/python/ 2>/dev/null | \ 1.10 + sed "/=\"${VERSION%.*}/!d;s|.*\">\\(.*\\)/<.*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 # @maintainer: Please update also: python-idle 1.14 1.15 # Rules to configure and make the package.