wok-6.x annotate python-pydot/receipt @ rev 20690

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 31 23:57:12 2019 +0100 (2019-01-31)
parents 9e01bc6321ea
children 536eefcdadc6
rev   line source
claudinei@3417 1 # SliTaz package receipt.
claudinei@3417 2
claudinei@3417 3 PACKAGE="python-pydot"
claudinei@3417 4 SOURCE="pydot"
claudinei@3417 5 VERSION="1.0.2"
claudinei@3417 6 CATEGORY="development"
claudinei@3417 7 SHORT_DESC="Python interface to Graphviz's dot language."
claudinei@3417 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15378 9 LICENSE="MIT"
claudinei@3417 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20672 11 WEB_SITE="https://pypi.org/project/$SOURCE/"
claudinei@3417 12 WGET_URL="http://$SOURCE.googlecode.com/files/$TARBALL"
pascal@15378 13
claudinei@3418 14 DEPENDS="python python-pyparsing graphviz"
pascal@17742 15 BUILD_DEPENDS="python"
claudinei@3417 16
claudinei@3417 17 # Rules to configure and make the package.
claudinei@3417 18 compile_rules()
claudinei@3417 19 {
claudinei@3417 20 python setup.py build
pascal@15378 21 python setup.py install --root=$DESTDIR
claudinei@3417 22 }
claudinei@3417 23
claudinei@3417 24 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3417 25 genpkg_rules()
claudinei@3417 26 {
claudinei@3417 27 mkdir -p $fs/usr
pascal@15378 28 cp -a $install/usr/lib $fs/usr
claudinei@3417 29 }
claudinei@3417 30
claudinei@3417 31 # Remove old package.
claudinei@3417 32 post_install()
claudinei@3417 33 {
pascal@18730 34 [ ! -d "$1/var/lib/tazpkg/installed/pydot" ] ||
pascal@18730 35 rm -rf "$1/var/lib/tazpkg/installed/pydot"
claudinei@3417 36 }
al@18086 37