# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py-pygraphviz
pkgver=1.3
pkgrel=0
pkgdesc="Python interface to Graphviz"
url="https://pygraphviz.github.io/"
arch="all"
license="BSD"
depends="python2"
depends_dev=""
makedepends="python2-dev graphviz-dev py-setuptools"
subpackages="$pkgname-doc"
source="https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-$pkgver.tar.gz"

builddir="$srcdir/pygraphviz-pygraphviz-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="889574a735e8a9ff696dc38d59baebe44ad2b8b9ce7012e961e48a6f2974d4dfaf54a4dbf28f6c79b9bfcf71499aceec0ea618bf508399efda6583bde3b55107  pygraphviz-1.3.tar.gz"
