wok-6.x annotate python-pychart/receipt @ rev 24173
updated outguess again (0.2 -> 0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 09:24:42 2021 +0100 (2021-12-29) |
parents | 9e01bc6321ea |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@3419 | 1 # SliTaz package receipt. |
claudinei@3419 | 2 |
claudinei@3419 | 3 PACKAGE="python-pychart" |
claudinei@3419 | 4 VERSION="1.39" |
claudinei@3419 | 5 CATEGORY="development" |
claudinei@3419 | 6 SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG." |
claudinei@3419 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="GPL" |
claudinei@3419 | 9 SOURCE="PyChart" |
claudinei@3419 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
claudinei@3419 | 12 WGET_URL="http://download.gna.org/pychart/$TARBALL" |
pascal@17742 | 13 |
claudinei@3419 | 14 DEPENDS="python" |
pascal@17742 | 15 BUILD_DEPENDS="python" |
claudinei@3419 | 16 |
claudinei@3419 | 17 # Rules to configure and make the package. |
claudinei@3419 | 18 compile_rules() |
claudinei@3419 | 19 { |
claudinei@3419 | 20 python setup.py build |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
claudinei@3419 | 22 } |
claudinei@3419 | 23 |
claudinei@3419 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3419 | 25 genpkg_rules() |
claudinei@3419 | 26 { |
claudinei@3419 | 27 mkdir -p $fs |
pascal@15378 | 28 cp -a $install/usr $fs |
claudinei@3419 | 29 } |
claudinei@3419 | 30 |
claudinei@3419 | 31 # Remove old package. |
claudinei@3419 | 32 post_install() |
claudinei@3419 | 33 { |
pascal@18730 | 34 [ ! -d "$1/var/lib/tazpkg/installed/pychart" ] || |
pascal@18730 | 35 rm -rf "$1/var/lib/tazpkg/installed/pychart" |
claudinei@3419 | 36 } |
al@18086 | 37 |