wok-next diff python-django/receipt @ rev 11398

Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 13:19:00 2011 +0100 (2011-12-10)
parents d3cfa94dc1c7
children ca4495712bef
line diff
     1.1 --- a/python-django/receipt	Tue Dec 29 18:25:53 2009 +0000
     1.2 +++ b/python-django/receipt	Sat Dec 10 13:19:00 2011 +0100
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="python-django"
     1.6  SOURCE="Django"
     1.7 -VERSION="1.1.1"
     1.8 +VERSION="1.3"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Django is a high-level Python Web framework."
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12 @@ -11,19 +11,18 @@
    1.13  WGET_URL="http://media.djangoproject.com/releases/$VERSION/$TARBALL"
    1.14  DEPENDS="python python-pysqlite"
    1.15  SUGGESTED="python-mysql"
    1.16 -BUILD_DEPENDS="python python-dev"
    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 $fs
    1.33  }