wok-next view python-web.py/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="web.py"
4 PACKAGE="python-web.py"
5 VERSION="0.39" # for Python2
6 VERSION3="0.40.dev1" # for Python3 (experimental)
7 CATEGORY="python"
8 SHORT_DESC="Makes web apps"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="PublicDomain"
11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
12 HOST_ARCH="any"
13 REPOLOGY="python:web.py"
15 BUILD_DEPENDS="python python3"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 case $SET in
20 3) VERSION="$VERSION3";;
21 esac
22 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 python3-*) VERSION="$VERSION3";;
28 esac
30 copy @std
31 py="${PACKAGE%%-*}" # python/python3
32 DEPENDS="$py"
33 }