python3-altgraph: update to 0.17

Add check target
This commit is contained in:
Nathan Owens 2020-11-17 16:43:26 -06:00 committed by Piotr
parent fc34ce8dfa
commit 948cbc4b9c
1 changed files with 9 additions and 5 deletions

View File

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