wok-next diff python-barcode/receipt @ rev 20825

perl-dbd-mysql: typo in $WGET_URL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 14 01:06:23 2018 +0300 (2018-06-14)
parents 8cad5edc1a45
children 9b3461bf373c
line diff
     1.1 --- a/python-barcode/receipt	Sat Jun 10 21:12:27 2017 +0300
     1.2 +++ b/python-barcode/receipt	Thu Jun 14 01:06:23 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="python-barcode"
     1.7 -VERSION="0.7"
     1.8 +VERSION="latest"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Create standard barcodes"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,15 +10,12 @@
    1.13  
    1.14  BUILD_DEPENDS="python"
    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 pyBarcode
    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|.*pyBarcode-||p' $LOGS/$PACKAGE.log)
    1.28  	copy @std
    1.29  	DEPENDS="python"
    1.30  }