wok-6.x view python-werkzeug/receipt @ rev 15133
python-werkzeug: add TARBALL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 10:06:57 2013 +0000 (2013-08-15) |
parents | d925fb3ac2bd |
children | 7971addf736e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-werkzeug"
4 GITHASH="8c085bba3d0abe1139fd84bdb542efdb579b0205"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="development"
7 SHORT_DESC="WSGI utility modules"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://werkzeug.pocoo.org/"
12 GIT_URL="https://github.com/mitsuhiko/werkzeug/tarball/$GITHASH"
14 DEPENDS="python"
15 BUILD_DEPENDS="wget python python-dev setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s $SOURCES_REPOSITORY/TARBALL ] ||
21 wget --no-check-certificate -O $SOURCES_REPOSITORY/TARBALL $GIT_URL
22 if [ ! -s $src ]; then
23 mkdir -p $(dirname $src)
24 tar xzf $SOURCES_REPOSITORY/TARBALL &&
25 mv mitsuhiko-werkzeug-$VERSION $src
26 fi
27 cd $src
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }