wok-next diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-web.py/receipt	Mon Jun 29 13:44:08 2020 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +ORIGIN="web.py"
     1.7 +PACKAGE="python-web.py"
     1.8 +VERSION="0.39"       # for Python2
     1.9 +VERSION3="0.40.dev1" # for Python3 (experimental)
    1.10 +CATEGORY="python"
    1.11 +SHORT_DESC="Makes web apps"
    1.12 +MAINTAINER="pascal.bellard@slitaz.org"
    1.13 +LICENSE="PublicDomain"
    1.14 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.15 +HOST_ARCH="any"
    1.16 +REPOLOGY="python:web.py"
    1.17 +
    1.18 +BUILD_DEPENDS="python python3"
    1.19 +SPLIT="${PACKAGE/python/python3}:3"
    1.20 +
    1.21 +compile_rules() {
    1.22 +	case $SET in
    1.23 +		3) VERSION="$VERSION3";;
    1.24 +	esac
    1.25 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.26 +}
    1.27 +
    1.28 +genpkg_rules() {
    1.29 +	case $PACKAGE in
    1.30 +		python3-*) VERSION="$VERSION3";;
    1.31 +	esac
    1.32 +
    1.33 +	copy @std
    1.34 +	py="${PACKAGE%%-*}" # python/python3
    1.35 +	DEPENDS="$py"
    1.36 +}