# Template file for 'python-graphviz' pkgname=python-graphviz version=0.8.3 revision=1 noarch=yes wrksrc="${pkgname/python-/}-${version}" build_style=python-module pycompile_module="graphviz" hostmakedepends="python-setuptools python3-setuptools" depends="graphviz python" short_desc="Simple Python interface for Graphviz" maintainer="maxice8 " license="MIT" homepage="https://github.com/xflr6/graphviz" distfiles="https://github.com/xflr6/graphviz/archive/${version}.tar.gz" checksum=0ec404e5902759ec3631d2adfea7cfbfbffd9aa29a0356b7b68e685154b34399 post_install() { vlicense LICENSE.txt } python3-graphviz_package() { noarch=yes depends="python3 graphviz" pycompile_module="graphviz" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove "usr/lib/python3*" vlicense LICENSE.txt } }