wok-next diff python-pytz/receipt @ rev 20732

Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 17:01:41 2018 +0300 (2018-05-29)
parents 6c73b944e8dd
children 92698cd69f34
line diff
     1.1 --- a/python-pytz/receipt	Mon Feb 26 04:46:49 2018 +0200
     1.2 +++ b/python-pytz/receipt	Tue May 29 17:01:41 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-pytz"
     1.7 -VERSION="2018.3"
     1.8 +VERSION="latest"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="World Timezone Definitions for Python"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -15,6 +15,7 @@
    1.13  }
    1.14  
    1.15  genpkg_rules() {
    1.16 +	VERSION=$(sed -n '/^Successfully installed/ s|.*pytz-||p' $LOGS/$PACKAGE.log)
    1.17  	copy @std
    1.18  	DEPENDS="python"
    1.19  }