void-packages/srcpkgs/python-graphviz/template

32 lines
823 B
Bash

# Template file for 'python-graphviz'
pkgname=python-graphviz
version=0.8.2
revision=1
wrksrc="${pkgname/python-/}-${version}"
build_style=python-module
pycompile_module="graphviz"
hostmakedepends="python-setuptools python3-setuptools"
depends="python graphviz"
short_desc="Simple Python interface for Graphviz"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/xflr6/graphviz"
distfiles="https://github.com/xflr6/graphviz/archive/${version}.tar.gz"
checksum=bbe1b086b9b34db6037a83d5c8158de63a40d36c0415c7eea7c26df43252e3de
noarch=yes
post_install() {
vlicense LICENSE
}
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
}
}