wok-next view python-web.py/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }