# Contributor: Stuart Cardall # Maintainer: Stuart Cardall pkgname=py3-pygraphviz pkgver=1.3 pkgrel=1 pkgdesc="Python interface to Graphviz" options="!check" # FAILED (failures=11, errors=47) url="https://pygraphviz.github.io/" arch="all" license="BSD-3-Clause" depends="python3" makedepends="python3-dev graphviz-dev py3-setuptools" checkdepends="py3-nose" subpackages="$pkgname-doc" source="https://github.com/pygraphviz/pygraphviz/archive/pygraphviz-$pkgver.tar.gz" builddir="$srcdir/pygraphviz-pygraphviz-$pkgver" replaces="py-pygraphviz" # Backwards compatibility provides="py-pygraphviz=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="889574a735e8a9ff696dc38d59baebe44ad2b8b9ce7012e961e48a6f2974d4dfaf54a4dbf28f6c79b9bfcf71499aceec0ea618bf508399efda6583bde3b55107 pygraphviz-1.3.tar.gz"