wok-next view python-webob/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
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 }