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

updated getmail (4.41.0 -> 5.14)
author Hans-G?nter Theisgen
date Mon Jun 29 13:44:08 2020 +0100 (2020-06-29)
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 }