wok-undigest diff python-werkzeug/receipt @ rev 638
Add python packages antlr caldav gdata vatnumber vobject webdav werkzeug xlwt zsi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 20 11:42:14 2012 +0100 (2012-02-20) |
parents | |
children | 4f33299d479b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-werkzeug/receipt Mon Feb 20 11:42:14 2012 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-werkzeug" 1.7 +VERSION="8c085bba3d0abe1139fd84bdb542efdb579b0205" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="WSGI utility modules" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://werkzeug.pocoo.org/" 1.12 +GIT_URL="https://nodeload.github.com/mitsuhiko/werkzeug/tarball/$VERSION" 1.13 + 1.14 +DEPENDS="python" 1.15 +BUILD_DEPENDS="wget python python-dev setuptools" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + if [ ! -s $src ]; then 1.21 + wget -O - $GIT_URL | tar xzf - && 1.22 + mv mitsuhiko-werkzeug-${VERSION:0:7} $src 1.23 + fi 1.24 + cd $src 1.25 + python setup.py install --root=$DESTDIR 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + cp -a $_pkg/usr $fs 1.32 +} 1.33 +