wok-next annotate python-pygraphviz/receipt @ rev 20887

Check Repology info up to p* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 13 17:30:55 2018 +0300 (2018-07-13)
parents 7390f8de9846
children 8b5b2a6d07b8
rev   line source
pascal@3790 1 # SliTaz package receipt.
pascal@3790 2
pascal@3790 3 PACKAGE="python-pygraphviz"
pascal@3790 4 VERSION="0.99.1"
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"
al@20887 9 WEB_SITE="http://pypi.python.org/pypi/pygraphviz"
al@20887 10 REPOLOGY="python:pygraphviz"
al@20887 11
pascal@3790 12 SOURCE="pygraphviz"
pascal@3790 13 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@15378 14 WGET_URL="http://networkx.lanl.gov/download/$SOURCE/$TARBALL"
pascal@15378 15
pascal@5005 16 DEPENDS="graphviz python"
claudinei@10023 17 BUILD_DEPENDS="graphviz-dev python-dev"
pascal@3790 18
pascal@3790 19 # Rules to configure and make the package.
pascal@3790 20 compile_rules()
pascal@3790 21 {
pascal@3790 22 python setup.py build
pascal@15378 23 python setup.py install --root=$DESTDIR
pascal@3790 24 }
pascal@3790 25
pascal@3790 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3790 27 genpkg_rules()
pascal@3790 28 {
pascal@3790 29 mkdir -p $fs/usr
pascal@15378 30 cp -a $install/usr/lib $fs/usr
pascal@3790 31 }