wok-current view python-jinja2/receipt @ rev 24217
updated perl-html-parser (3.72 -> 3.76)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:34:31 2021 +0100 (2021-12-31) |
parents | 814362194a8d |
children | 1df6fa555414 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-jinja2"
4 VERSION="2.11.1"
5 CATEGORY="development"
6 SHORT_DESC="Stand-alone template engine."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/Jinja2"
11 SOURCE="Jinja2"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/J/$SOURCE/$TARBALL"
15 DEPENDS="python python-markupsafe"
16 BUILD_DEPENDS="python python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 [ ! -d "$1/var/lib/tazpkg/installed/jinja2" ] ||
34 rm -rf "$1/var/lib/tazpkg/installed/jinja2"
35 }