wok-next annotate python-webob/receipt @ rev 20769
cookutils: up (1071); python-alabaster, python-turbogears, python-webob: use pip; add python-crank, python-repoze.lru
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 17:36:07 2018 +0300 (2018-06-06) |
parents | 6c73b944e8dd |
children | 92698cd69f34 |
rev | line source |
---|---|
al@20769 | 1 # SliTaz package receipt v2. |
taziden@3777 | 2 |
taziden@3777 | 3 PACKAGE="python-webob" |
al@20769 | 4 VERSION="latest-1.7" |
taziden@3777 | 5 CATEGORY="development" |
taziden@3777 | 6 SHORT_DESC="WSGI request and response object" |
taziden@3777 | 7 MAINTAINER="taziden@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
al@20769 | 9 WEB_SITE="https://pypi.org/project/WebOb/" |
taziden@3777 | 10 |
al@20769 | 11 BUILD_DEPENDS="python" |
pascal@15376 | 12 |
al@20769 | 13 compile_rules() { |
al@20769 | 14 # python-turbogears require "WebOb<1.8.0,>=1.2" |
al@20769 | 15 pip install --no-compile --root=$DESTDIR "WebOb<1.8.0,>=1.2" |
taziden@3777 | 16 } |
taziden@3777 | 17 |
al@20769 | 18 genpkg_rules() { |
al@20769 | 19 VERSION=$(sed -n '/^Successfully installed/ s|.*WebOb-||p' $LOGS/$PACKAGE.log) |
al@20769 | 20 copy @std |
al@20769 | 21 DEPENDS="python" |
al@20769 | 22 TAGS="python" |
taziden@3777 | 23 } |