wok-next view python-tornado/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
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 }