wok-current view python-terminado/receipt @ rev 25109
Up perl-date-manip (6.88)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 25 09:21:55 2022 +0000 (2022-06-25) |
parents | 1df6fa555414 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-terminado"
4 VERSION="0.8.3"
5 CATEGORY="development"
6 SHORT_DESC="Terminals served to xterm.js using Tornado websockets."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/terminado/"
11 SOURCE="terminado"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="python python-ptyprocess python-tornado"
16 BUILD_DEPENDS="python"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --prefix=/usr --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }