wok annotate python-terminado/receipt @ rev 24288

fail2ban: add log4j-jndi.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 13 18:29:05 2022 +0000 (2022-01-13)
parents e83602aa33a4
children 076f424196b2
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@24288 18 current_version()
pascal@24288 19 {
pascal@24288 20 wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
pascal@24288 21 }
pascal@24288 22
pascal@20434 23 # Rules to configure and make the package.
pascal@20434 24 compile_rules()
pascal@20434 25 {
pascal@20434 26 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20434 27 }
pascal@20434 28
pascal@20434 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20434 30 genpkg_rules()
pascal@20434 31 {
Hans-G?nter@23567 32 cp -a $install/usr $fs
pascal@20434 33 }