wok-current annotate python-terminado/receipt @ rev 24477

updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author Hans-G?nter Theisgen
date Fri Feb 18 10:50:23 2022 +0100 (2022-02-18)
parents 1df6fa555414
children
rev   line source
pascal@20434 1 # SliTaz package receipt.
pascal@20434 2
pascal@20434 3 PACKAGE="python-terminado"
Hans-G?nter@23567 4 VERSION="0.8.3"
pascal@20434 5 CATEGORY="development"
Hans-G?nter@23567 6 SHORT_DESC="Terminals served to xterm.js using Tornado websockets."
pascal@20434 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20434 8 LICENSE="BSD"
pascal@20434 9 WEB_SITE="https://pypi.org/project/terminado/"
Hans-G?nter@23567 10
Hans-G?nter@23567 11 SOURCE="terminado"
pascal@20434 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23567 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@20434 14
Hans-G?nter@23567 15 DEPENDS="python python-ptyprocess python-tornado"
pascal@20434 16 BUILD_DEPENDS="python"
pascal@20434 17
pascal@24383 18 # What is the latest version available today?
pascal@24288 19 current_version()
pascal@24288 20 {
pascal@24383 21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 22 }
pascal@24288 23
pascal@20434 24 # Rules to configure and make the package.
pascal@20434 25 compile_rules()
pascal@20434 26 {
pascal@20434 27 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20434 28 }
pascal@20434 29
pascal@20434 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20434 31 genpkg_rules()
pascal@20434 32 {
Hans-G?nter@23567 33 cp -a $install/usr $fs
pascal@20434 34 }