wok-current view python-markupsafe/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 814362194a8d |
children | 104a2a2e5484 |
line source
1 PACKAGE="python-markupsafe"
2 VERSION="1.1.1"
3 CATEGORY="development"
4 SHORT_DESC="Implements a XML/HTML/XHTML Markup safe string for Python."
5 MAINTAINER="pascal.bellard@slitaz.org"
6 LICENSE="BSD"
7 WEB_SITE="https://pypi.python.org/pypi/MarkupSafe"
9 SOURCE="MarkupSafe"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
13 DEPENDS="python"
14 BUILD_DEPENDS="python python-dev python-setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py build &&
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $install/usr $fs
28 }