wok-stable view twisted-web/receipt @ rev 6505
Up: python-webob to 1.0 and modify WGET_URL for python-weberror
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Fri Oct 01 21:08:42 2010 +0000 (2010-10-01) |
parents | aec4d3c7826a |
children | 4ccb5afe8864 |
line source
1 # SliTaz package receipt.
3 PACKAGE="twisted-web"
4 VERSION="10.0.0"
5 CATEGORY="network"
6 SHORT_DESC="An HTTP protocol implementation together with clients and servers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="TwistedWeb"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://twistedmatrix.com/trac/"
11 WGET_URL="http://tmrc.mit.edu/mirror/twisted/Web/${VERSION%.*}/$TARBALL"
12 DEPENDS="python twisted"
13 BUILD_DEPENDS="$DEPENDS python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build && python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $_pkg/usr $fs
26 }