wok-6.x view python-pychart/receipt @ rev 20573

Up xsshfs (20181112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 13:51:58 2018 +0100 (2018-12-13)
parents 1067bb7f1e24
children 8dd8bab3f0ca
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pychart"
4 VERSION="1.39"
5 CATEGORY="development"
6 SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="PyChart"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://home.gna.org/pychart/"
12 WGET_URL="http://download.gna.org/pychart/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 [ ! -d "$1/var/lib/tazpkg/installed/pychart" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/pychart"
36 }