void-packages/srcpkgs/python3-altgraph/template

24 lines
654 B
Bash

# Template file for 'python3-altgraph'
pkgname=python3-altgraph
version=0.17
revision=2
wrksrc="altgraph-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
checkdepends="python3-coverage"
short_desc="Fork of graphlib for building network graphs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://altgraph.readthedocs.io/en/latest/"
distfiles="${PYPI_SITE}/a/altgraph/altgraph-${version}.tar.gz"
checksum=1f05a47122542f97028caf78775a095fbe6a2699b5089de8477eb583167d69aa
do_check() {
python3 -m coverage run --parallel setup.py test
}
post_install() {
vlicense LICENSE
}