wok diff tazpkg/receipt @ rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
parents | b57d2cbc7c42 |
children | 50a8a74fbda3 |
line diff
1.1 --- a/tazpkg/receipt Fri Sep 18 15:48:56 2020 +0000 1.2 +++ b/tazpkg/receipt Wed Jul 13 14:28:15 2022 +0100 1.3 @@ -21,6 +21,13 @@ 1.4 arm) BUILD_DEPENDS="" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 1.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 1.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for TazPkg. 1.15 # 1.16 # TazPkg is SliTaz packages manager. On an other GNU/Linux install