python3-graphviz: update to 0.20.1

This commit is contained in:
chrysos349 2023-06-13 02:07:46 +03:00 committed by Duncan Overbruck
parent 9c812d6335
commit c577e8f6b7

View file

@ -1,18 +1,25 @@
# Template file for 'python3-graphviz'
pkgname=python3-graphviz
version=0.13.2
revision=4
version=0.20.1
revision=1
build_style=python3-module
pycompile_module="graphviz"
hostmakedepends="python3-setuptools"
depends="graphviz python3"
checkdepends="python3-pytest-mock ${depends}"
short_desc="Simple Python3 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=bb932d6833e7c62ac6b53624b6d55bfd81f40e861f55642e1221ac4f4d8421b4
checksum=815346b8c2fcd8ccede29623a67bfc30abdbb75749e96128b9d414573d6d8f04
post_extract() {
# do not run python3-coverage in unittests :/
vsed -i setup.cfg -e 's/--cov --cov-report=term --cov-report=html//'
# don't add pointless dependency on python3-pytest-mock needed on python 3.5
vsed -i setup.cfg -e '/mock_use_standalone_module/d'
}
post_install() {
vlicense LICENSE.txt