wok-next view python-webtest/receipt @ rev 7632
*-pam: reinstall core package in pre_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 13 12:44:48 2010 +0100 (2010-12-13) |
parents | 7f46b72fa943 |
children | e39a539394e9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-webtest"
4 VERSION="1.2.2"
5 CATEGORY="development"
6 SHORT_DESC="Helper to test WSGI applications"
7 MAINTAINER="taziden@slitaz.org"
8 SOURCE="WebTest"
9 DEPENDS="python"
10 BUILD_DEPENDS="python python-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/"
13 WGET_URL="$WEB_SITE/packages/source/W/$SOURCE/$TARBALL"
14 TAGS="python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }