wok-next view python-tornado/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 8b5b2a6d07b8 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="tornado"
4 PACKAGE="python-tornado"
5 VERSION="5.1.1"
6 CATEGORY="python"
7 SHORT_DESC="A web framework and asynchronous networking library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:tornado"
14 BUILD_DEPENDS="python python-backports_abc python-futures \
15 python-singledispatch \
16 python3"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 py=${PACKAGE%%-*} # python/python3
26 case $PACKAGE in
27 python-*)
28 DEPENDS="$py $py-backports_abc $py-futures $py-singledispatch"
29 ;;
30 python3-*)
31 DEPENDS="$py"
32 ;;
33 esac
34 }