wok-next diff python-requests/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-requests/receipt	Mon Feb 26 04:46:49 2018 +0200
     1.2 +++ b/python-requests/receipt	Tue May 29 17:01:41 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="python-requests"
     1.7 -VERSION="2.18.4"
     1.8 +VERSION="latest"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Python HTTP Requests for Humans"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -15,6 +15,7 @@
    1.13  }
    1.14  
    1.15  genpkg_rules() {
    1.16 +	VERSION=$(sed -n '/^Successfully installed/ s|.*requests-||p' $LOGS/$PACKAGE.log)
    1.17  	copy @std
    1.18  	DEPENDS="$BUILD_DEPENDS"
    1.19  }