wok-6.x view python-markupsafe/receipt @ rev 12805
Add libzip
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 19 12:58:09 2012 +0200 (2012-05-19) |
parents | 0e0514e408c6 |
children | fd4f1e692109 |
line source
1 PACKAGE="python-markupsafe"
2 VERSION="0.12"
3 CATEGORY="development"
4 SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python."
5 MAINTAINER="pascal.bellard@slitaz.org"
6 SOURCE="MarkupSafe"
7 TARBALL="$SOURCE-$VERSION.tar.gz"
8 WEB_SITE="http://pypi.python.org/pypi/MarkupSafe"
9 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
10 DEPENDS="python"
11 BUILD_DEPENDS="python python-dev setuptools"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
17 cd $src
18 python setup.py build &&
19 python setup.py install --root=$PWD/_pkg
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs
26 cp -a $_pkg/usr $fs
27 }