wok view python-formencode/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
children 3066a460cf07
line source
1 # SliTaz package receipt.
3 PACKAGE="python-formencode"
4 VERSION="1.2.2"
5 CATEGORY="development"
6 SHORT_DESC="FormEncode is a validation and form generation package."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="FormEncode"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://formencode.org/"
11 WGET_URL="http://pypi.python.org/packages/source/F/$SOURCE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev"
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 }