wok-current view python-django/receipt @ rev 23759
librsvg: avoid using /usr/libgcc83/libstdc++.la
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 04 07:00:22 2020 +0100 (2020-05-04) |
parents | 5d50a02468c7 |
children | 2f230197370e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-django"
4 VERSION="1.11.29"
5 CATEGORY="development"
6 SHORT_DESC="A high-level Python Web framework."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.djangoproject.com/"
11 SOURCE="Django"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.djangoproject.com/m/releases/${VERSION%.*}/$TARBALL"
15 SUGGESTED="python-mysql"
16 DEPENDS="python python-pysqlite"
17 BUILD_DEPENDS="python python-setuptools"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr $fs
30 }
32 # Remove old package.
33 post_install()
34 {
35 [ ! -d "$1/var/lib/tazpkg/installed/django" ] ||
36 rm -rf "$1/var/lib/tazpkg/installed/django"
37 }