wok-4.x rev 9464

Up: python-django to 1.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Apr 03 11:47:28 2011 +0000 (2011-04-03)
parents c7c06538689e
children ab9c59834e71
files python-django/receipt
line diff
     1.1 --- a/python-django/receipt	Sun Apr 03 11:28:05 2011 +0000
     1.2 +++ b/python-django/receipt	Sun Apr 03 11:47:28 2011 +0000
     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  }