wok-current annotate python-django/receipt @ rev 17164

Add qtpanel
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Sep 18 23:48:17 2014 +0200 (2014-09-18)
parents ca4495712bef
children d3eb5f4b53ea
rev   line source
claudinei@3389 1 # SliTaz package receipt.
claudinei@3389 2
claudinei@3389 3 PACKAGE="python-django"
claudinei@3389 4 SOURCE="Django"
claudinei@14875 5 VERSION="1.5.1"
claudinei@3389 6 CATEGORY="development"
claudinei@3389 7 SHORT_DESC="Django is a high-level Python Web framework."
claudinei@3389 8 MAINTAINER="claudinei@slitaz.org"
pascal@15378 9 LICENSE="BSD"
claudinei@3389 10 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@14875 11 WEB_SITE="https://www.djangoproject.com/"
claudinei@14875 12 WGET_URL="https://www.djangoproject.com/m/releases/1.5/$TARBALL"
pascal@15378 13 SUGGESTED="python-mysql"
pascal@15378 14
claudinei@3413 15 DEPENDS="python python-pysqlite"
claudinei@14875 16 BUILD_DEPENDS="setuptools wget"
claudinei@3389 17
claudinei@3389 18 # Rules to configure and make the package.
claudinei@3389 19 compile_rules()
claudinei@3389 20 {
claudinei@3389 21 cd $src
slaxemulator@9464 22 python setup.py install --root=$DESTDIR
claudinei@3389 23 }
claudinei@3389 24
claudinei@3389 25 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3389 26 genpkg_rules()
claudinei@3389 27 {
claudinei@3389 28 mkdir -p $fs/usr
claudinei@14875 29 cp -a $install/usr $fs
claudinei@3389 30 }
claudinei@3389 31
claudinei@3404 32 # Remove old package.
claudinei@3404 33 post_install()
claudinei@3404 34 {
claudinei@3404 35 rm -rf $1/var/lib/tazpkg/installed/django
claudinei@3413 36 }