# HG changeset patch # User Christopher Rogers # Date 1301831248 0 # Node ID d65df587bc1750e6715438e4b342c2f0902c69f3 # Parent c7c06538689ef706f7e47c559b389c5f78321735 Up: python-django to 1.3. diff -r c7c06538689e -r d65df587bc17 python-django/receipt --- a/python-django/receipt Sun Apr 03 11:28:05 2011 +0000 +++ b/python-django/receipt Sun Apr 03 11:47:28 2011 +0000 @@ -2,7 +2,7 @@ PACKAGE="python-django" SOURCE="Django" -VERSION="1.1.1" +VERSION="1.3" CATEGORY="development" SHORT_DESC="Django is a high-level Python Web framework." MAINTAINER="claudinei@slitaz.org" @@ -11,19 +11,18 @@ WGET_URL="http://media.djangoproject.com/releases/$VERSION/$TARBALL" DEPENDS="python python-pysqlite" SUGGESTED="python-mysql" -BUILD_DEPENDS="python python-dev" +BUILD_DEPENDS="setuptools" # Rules to configure and make the package. compile_rules() { cd $src - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - find $_pkg -name "*.pyc" -exec rm '{}' \; mkdir -p $fs/usr cp -a $_pkg/usr $fs }