wok-6.x diff python-django/receipt @ rev 10173

Add perl-date-calc.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:01:49 2011 +0000 (2011-05-20)
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	Fri May 20 22:01:49 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  }