wok annotate python-markupsafe/receipt @ rev 21770
dhcp*: update website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 01 12:11:40 2019 +0200 (2019-07-01) |
parents | 16df76e1fc6a |
children | 6459e4820526 |
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" |
pascal@21582 | 13 BUILD_DEPENDS="python python-dev python-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 } |