wok-next annotate python-jinja2/receipt @ rev 18189
openssl: security update to 1.0.1p - http://openssl.org/news/secadv_20150709.txt
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Jul 09 14:04:33 2015 +0000 (2015-07-09) |
parents | fd4f1e692109 |
children | 1067bb7f1e24 |
rev | line source |
---|---|
claudinei@3390 | 1 # SliTaz package receipt. |
claudinei@3390 | 2 |
claudinei@3390 | 3 PACKAGE="python-jinja2" |
claudinei@3390 | 4 SOURCE="Jinja2" |
claudinei@14886 | 5 VERSION="2.7" |
claudinei@3390 | 6 CATEGORY="development" |
claudinei@3390 | 7 SHORT_DESC="Stand-alone template engine." |
claudinei@3390 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15378 | 9 LICENSE="BSD" |
claudinei@3390 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3390 | 11 WEB_SITE="http://jinja.pocoo.org" |
claudinei@14886 | 12 WGET_URL="https://pypi.python.org/packages/source/J/$SOURCE/$TARBALL" |
pascal@15378 | 13 |
claudinei@14886 | 14 DEPENDS="python python-markupsafe" |
claudinei@14886 | 15 BUILD_DEPENDS="setuptools wget" |
claudinei@3390 | 16 |
claudinei@3390 | 17 # Rules to configure and make the package. |
claudinei@3390 | 18 compile_rules() |
claudinei@3390 | 19 { |
slaxemulator@9466 | 20 python setup.py install --root=$DESTDIR |
claudinei@3390 | 21 } |
claudinei@3390 | 22 |
claudinei@3390 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3390 | 24 genpkg_rules() |
claudinei@3390 | 25 { |
claudinei@14886 | 26 cp -a $install/usr $fs/usr |
claudinei@3390 | 27 } |
claudinei@3390 | 28 |
claudinei@3404 | 29 # Remove old package. |
claudinei@3404 | 30 post_install() |
claudinei@3404 | 31 { |
claudinei@3404 | 32 rm -rf $1/var/lib/tazpkg/installed/jinja2 |
claudinei@4675 | 33 } |