wok-6.x annotate python-tornado/receipt @ rev 23900
updated nnn (3.1 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 30 17:38:46 2020 +0100 (2020-07-30) |
parents | f24908c722f8 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@20433 | 1 # SliTaz package receipt. |
pascal@20433 | 2 |
pascal@20433 | 3 PACKAGE="python-tornado" |
Hans-G?nter@23568 | 4 VERSION="5.1.1" # last version for Python 2 |
pascal@20433 | 5 CATEGORY="development" |
Hans-G?nter@23568 | 6 SHORT_DESC="A web framework and asynchronous networking library." |
pascal@20433 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20433 | 8 LICENSE="Apache" |
Hans-G?nter@23568 | 9 WEB_SITE="https://www.tornadoweb.org/" |
Hans-G?nter@23568 | 10 |
pascal@20433 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20433 | 12 WGET_URL="https://github.com/tornadoweb/tornado/archive/v$VERSION.tar.gz" |
pascal@20433 | 13 |
Hans-G?nter@23568 | 14 DEPENDS="python python-backports_abc python-futures python-singledispatch" |
Hans-G?nter@23568 | 15 BUILD_DEPENDS="python python-dev" |
pascal@20433 | 16 |
pascal@20433 | 17 # Rules to configure and make the package. |
pascal@20433 | 18 compile_rules() |
pascal@20433 | 19 { |
pascal@20433 | 20 python setup.py install --prefix=/usr --root=$DESTDIR |
pascal@20433 | 21 } |
pascal@20433 | 22 |
pascal@20433 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20433 | 24 genpkg_rules() |
pascal@20433 | 25 { |
Hans-G?nter@23568 | 26 cp -a $install/usr $fs |
pascal@20433 | 27 } |