wok-stable diff python-jinja2/receipt @ rev 11354

Up sslh (1.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 01 11:36:59 2011 +0100 (2011-12-01)
parents 4d1112b0ac44
children
line diff
     1.1 --- a/python-jinja2/receipt	Tue Dec 29 18:41:26 2009 +0000
     1.2 +++ b/python-jinja2/receipt	Thu Dec 01 11:36:59 2011 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="python-jinja2"
     1.6  SOURCE="Jinja2"
     1.7 -VERSION="2.2.1"
     1.8 +VERSION="2.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Stand-alone template engine."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -10,19 +10,18 @@
    1.13  WEB_SITE="http://jinja.pocoo.org"
    1.14  WGET_URL="http://pypi.python.org/packages/source/J/$SOURCE/$TARBALL"
    1.15  DEPENDS="python"
    1.16 -BUILD_DEPENDS="python python-dev setuptools"
    1.17 +BUILD_DEPENDS="setuptools"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -	python setup.py install --root=$PWD/_pkg
    1.24 +	python setup.py install --root=$DESTDIR
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	find $_pkg -name "*.pyc" -exec rm '{}' \;
    1.31  	mkdir -p $fs/usr
    1.32  	cp -a $_pkg/usr/lib $fs/usr
    1.33  }