wok-current annotate python-markupsafe/receipt @ rev 20399
Add code2 (speech codec 0.7-3.2 Kb/s)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 27 16:09:41 2018 +0200 (2018-06-27) |
parents | fd4f1e692109 |
children | 814362194a8d |
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@15378 | 6 LICENSE="BSD" |
pascal@9669 | 7 SOURCE="MarkupSafe" |
pascal@9669 | 8 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9669 | 9 WEB_SITE="http://pypi.python.org/pypi/MarkupSafe" |
pascal@9669 | 10 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15378 | 11 |
pascal@9669 | 12 DEPENDS="python" |
claudinei@10021 | 13 BUILD_DEPENDS="python python-dev setuptools" |
pascal@9669 | 14 |
pascal@9669 | 15 # Rules to configure and make the package. |
pascal@9669 | 16 compile_rules() |
pascal@9669 | 17 { |
pascal@9669 | 18 python setup.py build && |
pascal@15378 | 19 python setup.py install --root=$DESTDIR |
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@15378 | 26 cp -a $install/usr $fs |
pascal@9669 | 27 } |