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