wok annotate python-django/receipt @ rev 23395

updated perl-test-deep (0.106 -> 1.130)
author Hans-G?nter Theisgen
date Tue Mar 31 17:09:45 2020 +0100 (2020-03-31)
parents 9e01bc6321ea
children 908717f36471
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/"
pascal@17869 12 WGET_URL="https://www.djangoproject.com/m/releases/${VERSION%.*}/$TARBALL"
pascal@15378 13 SUGGESTED="python-mysql"
pascal@15378 14
claudinei@3413 15 DEPENDS="python python-pysqlite"
pascal@21581 16 BUILD_DEPENDS="python-setuptools wget"
claudinei@3389 17
claudinei@3389 18 # Rules to configure and make the package.
claudinei@3389 19 compile_rules()
claudinei@3389 20 {
slaxemulator@9464 21 python setup.py install --root=$DESTDIR
claudinei@3389 22 }
claudinei@3389 23
claudinei@3389 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3389 25 genpkg_rules()
claudinei@3389 26 {
claudinei@3389 27 mkdir -p $fs/usr
claudinei@14875 28 cp -a $install/usr $fs
claudinei@3389 29 }
claudinei@3389 30
claudinei@3404 31 # Remove old package.
claudinei@3404 32 post_install()
claudinei@3404 33 {
pascal@18730 34 [ ! -d "$1/var/lib/tazpkg/installed/django" ] ||
pascal@18730 35 rm -rf "$1/var/lib/tazpkg/installed/django"
claudinei@3413 36 }
al@18077 37