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