wok-next diff python-curtsies/receipt @ rev 21567

updated cppunit (1.14.0 -> 1.15.1)
author Hans-G?nter Theisgen
date Mon Jun 22 16:07:43 2020 +0100 (2020-06-22)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-curtsies/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-curtsies/receipt	Mon Jun 22 16:07:43 2020 +0100
     1.3 @@ -1,22 +1,26 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="curtsies"
     1.7  PACKAGE="python-curtsies"
     1.8 -VERSION="latest"
     1.9 +VERSION="0.3.0"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Curses-like terminal wrapper, with colored strings"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="MIT"
    1.14 -WEB_SITE="https://pypi.org/project/curtsies/"
    1.15 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.16 +HOST_ARCH="any"
    1.17  REPOLOGY="python:curtsies"
    1.18  
    1.19 -BUILD_DEPENDS="python-wcwidth python-blessings python-typing"
    1.20 +BUILD_DEPENDS="python-wcwidth python-blessings python-typing \
    1.21 +python3-wcwidth python3-blessings python3-typing"
    1.22 +SPLIT="${PACKAGE/python/python3}:3"
    1.23  
    1.24  compile_rules() {
    1.25 -	pip install --no-compile --root=$DESTDIR curtsies
    1.26 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.27  }
    1.28  
    1.29  genpkg_rules() {
    1.30 -	VERSION=$(sed -n '/^Successfully installed/ s|.*curtsies-||p' $LOGS/$PACKAGE.log)
    1.31  	copy @std
    1.32 -	DEPENDS="$BUILD_DEPENDS"
    1.33 +	py=${PACKAGE%%-*} # python/python3
    1.34 +	DEPENDS="$py $py-wcwidth $py-blessings $py-typing"
    1.35  }