wok-6.x view python-pygraphviz/receipt @ rev 19026

Up tazpkg(905)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Apr 03 03:59:59 2016 +0300 (2016-04-03)
parents fd4f1e692109
children f4d0ccc2e940
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pygraphviz"
4 VERSION="0.99.1"
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 SOURCE="pygraphviz"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
12 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
14 DEPENDS="graphviz python"
15 BUILD_DEPENDS="graphviz-dev python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }