33 lines
904 B
Bash
33 lines
904 B
Bash
# Template file for 'python-graphviz'
|
|
pkgname=python-graphviz
|
|
version=0.13
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="${pkgname/python-/}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="graphviz"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="graphviz python"
|
|
short_desc="Simple Python2 interface for Graphviz"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/xflr6/graphviz"
|
|
changelog="https://github.com/xflr6/graphviz/blob/master/CHANGES.txt"
|
|
distfiles="https://github.com/xflr6/graphviz/archive/${version}.tar.gz"
|
|
checksum=e1afdadc1dcd4a4193f967f421bf6688d259685d8d8d989b8a57f7d2cf64d1ca
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-graphviz_package() {
|
|
archs=noarch
|
|
depends="python3 graphviz"
|
|
pycompile_module="graphviz"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|