wok-current view python-pygraphviz/receipt @ rev 23913

Add linux-mmc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 17:17:01 2020 +0000 (2020-08-16)
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 }