wok-current annotate python-tornado/receipt @ rev 22437
john: fix link, add to right place
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 22 16:03:18 2019 +0000 (2019-12-22) |
parents | 8ac65b2ddbce |
children | e93f2ca135ff |
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@20448 | 13 DEPENDS="python-futures python-singledispatch python-backports_abc" |
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 } |