wok view python-jinja2/receipt @ rev 17956
Add hunspell
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 16 13:27:06 2015 +0200 (2015-04-16) |
parents | 51066b5c27b9 |
children | 16df76e1fc6a |
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 cd $src
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/usr
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/jinja2
34 }