wok annotate python-pygraphviz/receipt @ rev 24159
Up ventoy (1.0.62)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 20 10:05:11 2021 +0000 (2021-12-20) |
parents | 7390f8de9846 |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@3790 | 1 # SliTaz package receipt. |
pascal@3790 | 2 |
pascal@3790 | 3 PACKAGE="python-pygraphviz" |
Hans-G?nter@23540 | 4 VERSION="1.5" |
pascal@3790 | 5 CATEGORY="development" |
pascal@3790 | 6 SHORT_DESC="A Python wrapper for the Graphviz Agraph data structure." |
pascal@3790 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="BSD" |
Hans-G?nter@23540 | 9 WEB_SITE="https://pypi.python.org/pypi/pygraphviz" |
Hans-G?nter@23540 | 10 |
pascal@3790 | 11 SOURCE="pygraphviz" |
Hans-G?nter@23540 | 12 TARBALL="$SOURCE-$VERSION.zip" |
Hans-G?nter@23540 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/p/$SOURCE/$TARBALL" |
pascal@15378 | 14 |
pascal@5005 | 15 DEPENDS="graphviz python" |
Hans-G?nter@23540 | 16 BUILD_DEPENDS="graphviz-dev python-dev python-setuptools" |
pascal@3790 | 17 |
pascal@3790 | 18 # Rules to configure and make the package. |
pascal@3790 | 19 compile_rules() |
pascal@3790 | 20 { |
Hans-G?nter@23540 | 21 python setup.py build && |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
pascal@3790 | 23 } |
pascal@3790 | 24 |
pascal@3790 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3790 | 26 genpkg_rules() |
pascal@3790 | 27 { |
pascal@3790 | 28 mkdir -p $fs/usr |
Hans-G?nter@23540 | 29 cp -a $install/usr/lib $fs/usr |
pascal@3790 | 30 } |