wok view python-pygraphviz/receipt @ rev 24093

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