wok diff python/receipt @ rev 24975

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 16:22:04 2022 +0000 (2022-05-02)
parents 0e3b43ca38e6
children 401ca84be53a
line diff
     1.1 --- a/python/receipt	Wed Apr 08 13:49:09 2020 +0100
     1.2 +++ b/python/receipt	Mon May 02 16:22:04 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.