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

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
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 }