wok-6.x diff matplotlib/receipt @ rev 24506
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 20 14:41:23 2022 +0000 (2022-02-20) |
parents | 1b44d49dab4c |
children | 7dd01dedad38 |
line diff
1.1 --- a/matplotlib/receipt Tue Mar 17 16:47:24 2020 +0100 1.2 +++ b/matplotlib/receipt Sun Feb 20 14:41:23 2022 +0000 1.3 @@ -18,6 +18,13 @@ 1.4 BUILD_DEPENDS="freetype-dev libpng-dev pygtk-dev python python-dev 1.5 python-numpy python-setuptools zlib-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://pypi.org/project/matplotlib/ 2>/dev/null | \ 1.11 + sed '/matplotlib-/!d;/tar/!d;s|.*matplotlib-||;s|.tar.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {