wok-next diff python-greenlet/receipt @ rev 20854

Add xa, libicns; up vice (3.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 14:16:09 2018 +0300 (2018-06-26)
parents 8cad5edc1a45
children 9b3461bf373c
line diff
     1.1 --- a/python-greenlet/receipt	Sat Jun 10 21:12:27 2017 +0300
     1.2 +++ b/python-greenlet/receipt	Tue Jun 26 14:16:09 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="python-greenlet"
     1.7 -VERSION="0.4.12"
     1.8 +VERSION="latest"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Lightweight in-process concurrent programming"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -10,15 +10,12 @@
    1.13  
    1.14  BUILD_DEPENDS="python-dev"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 +compile_rules() {
    1.20  	pip install --no-compile --root=$DESTDIR greenlet
    1.21  }
    1.22  
    1.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 -genpkg_rules()
    1.25 -{
    1.26 +genpkg_rules() {
    1.27 +	VERSION=$(sed -n '/^Successfully installed/ s|.*greenlet-||p' $LOGS/$PACKAGE.log)
    1.28  	copy @std @dev
    1.29  	DEPENDS="python"
    1.30  }