wok-next annotate python-web.py/receipt @ rev 21276

try to build gens-gs again
author Hans-G?nter Theisgen
date Sat Dec 07 15:51:18 2019 +0100 (2019-12-07)
parents
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
al@20972 2
al@20972 3 ORIGIN="web.py"
al@20972 4 PACKAGE="python-web.py"
al@20972 5 VERSION="0.39" # for Python2
al@20972 6 VERSION3="0.40.dev1" # for Python3 (experimental)
al@20972 7 CATEGORY="python"
al@20972 8 SHORT_DESC="Makes web apps"
al@20972 9 MAINTAINER="pascal.bellard@slitaz.org"
al@20972 10 LICENSE="PublicDomain"
al@20972 11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 12 HOST_ARCH="any"
al@20972 13 REPOLOGY="python:web.py"
al@20972 14
al@20972 15 BUILD_DEPENDS="python python3"
al@20972 16 SPLIT="${PACKAGE/python/python3}:3"
al@20972 17
al@20972 18 compile_rules() {
al@20972 19 case $SET in
al@20972 20 3) VERSION="$VERSION3";;
al@20972 21 esac
al@20972 22 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20972 23 }
al@20972 24
al@20972 25 genpkg_rules() {
al@20972 26 case $PACKAGE in
al@20972 27 python3-*) VERSION="$VERSION3";;
al@20972 28 esac
al@20972 29
al@20972 30 copy @std
al@20972 31 py="${PACKAGE%%-*}" # python/python3
al@20972 32 DEPENDS="$py"
al@20972 33 }