wok-next diff python-smspdu/receipt @ rev 21529

updated buildroot (2014.08 -> 2020.05)
author Hans-G?nter Theisgen
date Sat Jun 20 16:34:10 2020 +0100 (2020-06-20)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-smspdu/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-smspdu/receipt	Sat Jun 20 16:34:10 2020 +0100
     1.3 @@ -1,22 +1,24 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="smspdu"
     1.7  PACKAGE="python-smspdu"
     1.8 -ORIGIN="smspdu"
     1.9 -VERSION="latest"
    1.10 -CATEGORY="development"
    1.11 +VERSION="1.0"
    1.12 +CATEGORY="python"
    1.13  SHORT_DESC="SMS PDU encoding and decoding, including GSM-0338 character set"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="BSD"
    1.16 -WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.18 +HOST_ARCH="any"
    1.19 +REPOLOGY="python:smspdu"
    1.20  
    1.21  BUILD_DEPENDS="python"
    1.22  
    1.23  compile_rules() {
    1.24 -	pip install --no-compile --root=$DESTDIR $ORIGIN
    1.25 +	# Python3 based compilation produce error
    1.26 +	pip install --no-compile --root=$install $ORIGIN==$VERSION
    1.27  }
    1.28  
    1.29  genpkg_rules() {
    1.30 -	VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGINd-||p" $LOGS/$PACKAGE.log)
    1.31  	copy @std
    1.32  	DEPENDS="python"
    1.33  }