wok-current annotate python-pydot/receipt @ rev 23715
updated unbound and unbound-dev (1.9.4 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 29 07:26:08 2020 +0100 (2020-04-29) |
parents | 8dd8bab3f0ca |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@3417 | 1 # SliTaz package receipt. |
claudinei@3417 | 2 |
claudinei@3417 | 3 PACKAGE="python-pydot" |
Hans-G?nter@23537 | 4 VERSION="1.4.1" |
claudinei@3417 | 5 CATEGORY="development" |
claudinei@3417 | 6 SHORT_DESC="Python interface to Graphviz's dot language." |
claudinei@3417 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="MIT" |
Hans-G?nter@23537 | 9 WEB_SITE="https://pypi.org/project/$SOURCE/" |
Hans-G?nter@23537 | 10 |
Hans-G?nter@23537 | 11 SOURCE="pydot" |
claudinei@3417 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23537 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15378 | 14 |
Hans-G?nter@23537 | 15 DEPENDS="graphviz python python-pyparsing" |
pascal@17742 | 16 BUILD_DEPENDS="python" |
claudinei@3417 | 17 |
claudinei@3417 | 18 # Rules to configure and make the package. |
claudinei@3417 | 19 compile_rules() |
claudinei@3417 | 20 { |
Hans-G?nter@23537 | 21 python setup.py build && |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
claudinei@3417 | 23 } |
claudinei@3417 | 24 |
claudinei@3417 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3417 | 26 genpkg_rules() |
claudinei@3417 | 27 { |
claudinei@3417 | 28 mkdir -p $fs/usr |
Hans-G?nter@23537 | 29 cp -a $install/usr/lib $fs/usr |
claudinei@3417 | 30 } |
claudinei@3417 | 31 |
claudinei@3417 | 32 # Remove old package. |
claudinei@3417 | 33 post_install() |
claudinei@3417 | 34 { |
pascal@18730 | 35 [ ! -d "$1/var/lib/tazpkg/installed/pydot" ] || |
pascal@18730 | 36 rm -rf "$1/var/lib/tazpkg/installed/pydot" |
claudinei@3417 | 37 } |