wok annotate python-markupsafe/receipt @ rev 12296

Modify WGET_URL
author Stanislas Leduc <shann@slitaz.org>
date Mon Apr 16 12:12:13 2012 +0200 (2012-04-16)
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 }