wok-6.x view python-weberror/receipt @ rev 6788

slitaz-i18n: improved receipt and cook all locale pack
author Christophe Lincoln <pankso@slitaz.org>
date Mon Oct 18 23:34:42 2010 +0200 (2010-10-18)
parents ce61428f88c3
children a49b4ac5f871
line source
1 # SliTaz package receipt.
3 PACKAGE="python-weberror"
4 VERSION="0.10.2"
5 CATEGORY="development"
6 SHORT_DESC="Web Error handling and exception catching"
7 MAINTAINER="taziden@slitaz.org"
8 SOURCE="WebError"
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 }