wok-next view python-webob/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 | c9a7a7b42a86 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="WebOb"
4 PACKAGE="python-webob"
5 VERSION="1.8.2"
6 VERSION17="1.7.4" # python-turbogears require "WebOb<1.8.0,>=1.2"
7 CATEGORY="python"
8 SHORT_DESC="WSGI request and response object"
9 MAINTAINER="devel@slitaz.org"
10 LICENSE="MIT"
11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
12 HOST_ARCH="any"
13 REPOLOGY="python:webob"
15 BUILD_DEPENDS="python python3"
16 SPLIT="python3-webob:3 \
17 python-webob17:17 python3-webob17:173"
19 compile_rules() {
20 case $SET in
21 '') pip install --no-compile --root=$install $ORIGIN==$VERSION;;
22 3) pip3 install --no-compile --root=$install $ORIGIN==$VERSION;;
23 17) pip install --no-compile --root=$install $ORIGIN==$VERSION17;;
24 173) pip3 install --no-compile --root=$install $ORIGIN==$VERSION17;;
25 esac
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 *-webob17)
31 VERSION="$VERSION17"
32 CAT="python|legacy version $VERSION17"
33 ;;
34 esac
35 copy @std
36 py=${PACKAGE%%-*} # python/python3
37 DEPENDS="$py"
38 }