wok-6.x rev 9669
Add python-markupsafe
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 02 15:57:40 2011 +0200 (2011-05-02) |
parents | c6fba7ac5ced |
children | bca15a7af6a1 |
files | python-markupsafe/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-markupsafe/receipt Mon May 02 15:57:40 2011 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +PACKAGE="python-markupsafe" 1.5 +VERSION="0.12" 1.6 +CATEGORY="development" 1.7 +SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python." 1.8 +MAINTAINER="pascal.bellard@slitaz.org" 1.9 +SOURCE="MarkupSafe" 1.10 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.11 +WEB_SITE="http://pypi.python.org/pypi/MarkupSafe" 1.12 +WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.13 +# http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.12.tar.gz" 1.14 +DEPENDS="python" 1.15 +BUILD_DEPENDS="python python-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + 1.21 + cd $src 1.22 + python setup.py build && 1.23 + python setup.py install --root=$PWD/_pkg 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs 1.30 + cp -a $_pkg/usr $fs 1.31 +}