wok-6.x diff matplotlib/receipt @ rev 24407
updated clamav and clamav-dev again (0.102.3 -> 0.104.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 14:12:35 2022 +0100 (2022-02-09) |
parents | 1b44d49dab4c |
children | 7dd01dedad38 |
line diff
1.1 --- a/matplotlib/receipt Tue Mar 17 16:47:24 2020 +0100 1.2 +++ b/matplotlib/receipt Wed Feb 09 14:12:35 2022 +0100 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 {