# Contributor: Leonardo Arena # Maintainer: pkgname=py3-graphviz pkgver=0.10.1 pkgrel=2 pkgdesc="Simple interface for Graphviz" url="https://github.com/xflr6/graphviz" arch="noarch" license="MIT" replaces="py-graphviz" # for backwards compatibility provides="py-graphviz=$pkgver-r$pkgrel" # for backwards compatibility depends="graphviz" makedepends="py3-setuptools" checkdepends="pytest py3-pytest-cov py3-mock py3-pytest-mock" source="$pkgname-$pkgver.tar.gz::https://github.com/xflr6/graphviz/archive/$pkgver.tar.gz" builddir="$srcdir"/graphviz-$pkgver build() { python3 setup.py --quiet build } check() { PYTHONPATH=. python3 run-tests.py } package() { python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" } sha512sums="bbc41d22c0d20a1e93e7adf89a32e60e227b77892478c81b9df1d25ecbb5c00a92911604c8959184aa3b0e02cf33446610ae6d05840bced0e528658c9edb2cb0 py3-graphviz-0.10.1.tar.gz"