wok-next annotate python-markupsafe/receipt @ rev 13188
Up: logrotate to 3.8.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Aug 03 10:02:57 2012 +0000 (2012-08-03) |
parents | 0e0514e408c6 |
children | fd4f1e692109 |
rev | line source |
---|---|
pascal@9669 | 1 PACKAGE="python-markupsafe" |
pascal@9669 | 2 VERSION="0.12" |
pascal@9669 | 3 CATEGORY="development" |
pascal@9669 | 4 SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python." |
pascal@9669 | 5 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9669 | 6 SOURCE="MarkupSafe" |
pascal@9669 | 7 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9669 | 8 WEB_SITE="http://pypi.python.org/pypi/MarkupSafe" |
pascal@9669 | 9 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@9669 | 10 DEPENDS="python" |
claudinei@10021 | 11 BUILD_DEPENDS="python python-dev setuptools" |
pascal@9669 | 12 |
pascal@9669 | 13 # Rules to configure and make the package. |
pascal@9669 | 14 compile_rules() |
pascal@9669 | 15 { |
pascal@9669 | 16 |
pascal@9669 | 17 cd $src |
pascal@9669 | 18 python setup.py build && |
pascal@9669 | 19 python setup.py install --root=$PWD/_pkg |
pascal@9669 | 20 } |
pascal@9669 | 21 |
pascal@9669 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9669 | 23 genpkg_rules() |
pascal@9669 | 24 { |
pascal@9669 | 25 mkdir -p $fs |
pascal@9669 | 26 cp -a $_pkg/usr $fs |
pascal@9669 | 27 } |