wok view python-jinja2/receipt @ rev 21549

Add LXSession 0.4.6.* as lxsession046 (latest LXSession 0.4.* is 0.4.9.* and it don't compile anyway due to the old libgee; and latest LXSession 0.5.* (just lxsession) has the major drawbacks)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 07 11:25:44 2019 +0300 (2019-05-07)
parents 1067bb7f1e24
children 814362194a8d
line source
1 # SliTaz package receipt.
3 PACKAGE="python-jinja2"
4 SOURCE="Jinja2"
5 VERSION="2.7"
6 CATEGORY="development"
7 SHORT_DESC="Stand-alone template engine."
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://jinja.pocoo.org"
12 WGET_URL="https://pypi.python.org/packages/source/J/$SOURCE/$TARBALL"
14 DEPENDS="python python-markupsafe"
15 BUILD_DEPENDS="setuptools wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs/usr
27 }
29 # Remove old package.
30 post_install()
31 {
32 [ ! -d "$1/var/lib/tazpkg/installed/jinja2" ] ||
33 rm -rf "$1/var/lib/tazpkg/installed/jinja2"
34 }