wok-next diff python-terminado/receipt @ rev 21612

updated e3 (2.8 -> 2.82)
author Hans-G?nter Theisgen
date Thu Jun 25 10:20:43 2020 +0100 (2020-06-25)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-terminado/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-terminado/receipt	Thu Jun 25 10:20:43 2020 +0100
     1.3 @@ -1,23 +1,26 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="terminado"
     1.7  PACKAGE="python-terminado"
     1.8 -ORIGIN="terminado"
     1.9 -VERSION="latest"
    1.10 -CATEGORY="development"
    1.11 +VERSION="0.8.1"
    1.12 +CATEGORY="python"
    1.13  SHORT_DESC="Terminals served to xterm.js using Tornado websockets"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="BSD"
    1.16 -WEB_SITE="https://pypi.org/project/terminado/"
    1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.18 +HOST_ARCH="any"
    1.19  REPOLOGY="python:terminado"
    1.20  
    1.21 -BUILD_DEPENDS="python python-tornado"
    1.22 +BUILD_DEPENDS="python python-ptyprocess python-tornado \
    1.23 +python3 python3-ptyprocess python3-tornado"
    1.24 +SPLIT="${PACKAGE/python/python3}:3"
    1.25  
    1.26  compile_rules() {
    1.27 -	pip install --no-compile --root=$DESTDIR $ORIGIN
    1.28 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.29  }
    1.30  
    1.31  genpkg_rules() {
    1.32 -	VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log)
    1.33  	copy @std
    1.34 -	DEPENDS="python-tornado"
    1.35 +	py=${PACKAGE%%-*} # python/python3
    1.36 +	DEPENDS="$py $py-ptyprocess $py-tornado"
    1.37  }