wok-6.x annotate python-markupsafe/receipt @ 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 | |
children | 0e0514e408c6 |
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 # http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.12.tar.gz" |
pascal@9669 | 11 DEPENDS="python" |
pascal@9669 | 12 BUILD_DEPENDS="python python-dev" |
pascal@9669 | 13 |
pascal@9669 | 14 # Rules to configure and make the package. |
pascal@9669 | 15 compile_rules() |
pascal@9669 | 16 { |
pascal@9669 | 17 |
pascal@9669 | 18 cd $src |
pascal@9669 | 19 python setup.py build && |
pascal@9669 | 20 python setup.py install --root=$PWD/_pkg |
pascal@9669 | 21 } |
pascal@9669 | 22 |
pascal@9669 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9669 | 24 genpkg_rules() |
pascal@9669 | 25 { |
pascal@9669 | 26 mkdir -p $fs |
pascal@9669 | 27 cp -a $_pkg/usr $fs |
pascal@9669 | 28 } |