wok view python-markupsafe/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents fd4f1e692109
children 814362194a8d
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 {
18 python setup.py build &&
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs
26 cp -a $install/usr $fs
27 }