From 948cbc4b9c7e6c6cdb769ceeb8e43df9aaf31ce5 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Tue, 17 Nov 2020 16:43:26 -0600 Subject: [PATCH] python3-altgraph: update to 0.17 Add check target --- srcpkgs/python3-altgraph/template | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-altgraph/template b/srcpkgs/python3-altgraph/template index a1ad53d67a..4a1c146215 100644 --- a/srcpkgs/python3-altgraph/template +++ b/srcpkgs/python3-altgraph/template @@ -1,18 +1,22 @@ # Template file for 'python3-altgraph' pkgname=python3-altgraph -version=0.16.1 -revision=3 +version=0.17 +revision=1 wrksrc="altgraph-${version}" build_style=python3-module -pycompile_module="altgraph" hostmakedepends="python3-setuptools" -depends="python3" +depends="python3-setuptools" +checkdepends="python3-coverage" short_desc="Fork of graphlib for building network graphs" maintainer="Orphaned " license="MIT" homepage="https://altgraph.readthedocs.io/en/latest/" 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() { vlicense LICENSE