wok-6.x view python-markupsafe/receipt @ rev 17939

partimage: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 15 09:53:08 2015 +0200 (2015-04-15)
parents 65408e67a5ca
children 16df76e1fc6a
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 LICENSE="BSD"
7 SOURCE="MarkupSafe"
8 TARBALL="$SOURCE-$VERSION.tar.gz"
9 WEB_SITE="http://pypi.python.org/pypi/MarkupSafe"
10 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python python-dev setuptools"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }