wok-current annotate python-tornado/receipt @ rev 20433

Add python-tornado
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 31 15:56:57 2018 +0200 (2018-08-31)
parents
children f24908c722f8
rev   line source
pascal@20433 1 # SliTaz package receipt.
pascal@20433 2
pascal@20433 3 PACKAGE="python-tornado"
pascal@20433 4 VERSION="5.1.0"
pascal@20433 5 CATEGORY="development"
pascal@20433 6 SHORT_DESC="A web framework and asynchronous networking library"
pascal@20433 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20433 8 LICENSE="Apache"
pascal@20433 9 WEB_SITE="http://www.tornadoweb.org/"
pascal@20433 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20433 11 WGET_URL="https://github.com/tornadoweb/tornado/archive/v$VERSION.tar.gz"
pascal@20433 12
pascal@20433 13 DEPENDS="python"
pascal@20433 14 BUILD_DEPENDS="python-dev"
pascal@20433 15
pascal@20433 16 # Rules to configure and make the package.
pascal@20433 17 compile_rules()
pascal@20433 18 {
pascal@20433 19 python setup.py install --prefix=/usr --root=$DESTDIR
pascal@20433 20 }
pascal@20433 21
pascal@20433 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20433 23 genpkg_rules()
pascal@20433 24 {
pascal@20433 25 cp -a $install/usr $fs/
pascal@20433 26 }