wok-next diff python-blessings/receipt @ rev 21253

updated duplicity (0.6.20 -> 0.8.07)
author Hans-G?nter Theisgen
date Fri Dec 06 09:07:53 2019 +0100 (2019-12-06)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-blessings/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-blessings/receipt	Fri Dec 06 09:07:53 2019 +0100
     1.3 @@ -1,22 +1,25 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="blessings"
     1.7  PACKAGE="python-blessings"
     1.8 -VERSION="latest"
     1.9 +VERSION="1.7"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="A thin, practical wrapper around terminal coloring, styling, and positioning"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="https://pypi.org/project/blessings/"
    1.15 +HOST_ARCH="any"
    1.16  REPOLOGY="python:blessings"
    1.17  
    1.18 -BUILD_DEPENDS="python-six"
    1.19 +BUILD_DEPENDS="python python-six  python3 python3-six"
    1.20 +SPLIT="${PACKAGE/python/python3}:3"
    1.21  
    1.22  compile_rules() {
    1.23 -	pip install --no-compile --root=$DESTDIR blessings
    1.24 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.25  }
    1.26  
    1.27  genpkg_rules() {
    1.28 -	VERSION=$(sed -n '/^Successfully installed/ s|.*blessings-||p' $LOGS/$PACKAGE.log)
    1.29  	copy @std
    1.30 -	DEPENDS="python-six"
    1.31 +	py="${PACKAGE%%-*}" # python/python3
    1.32 +	DEPENDS="$py $py-six"
    1.33  }