wok-next view python-werkzeug/receipt @ rev 20080

fix
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Oct 25 11:39:56 2017 +0200 (2017-10-25)
parents 7971addf736e
children 6c73b944e8dd
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 }