diff --git a/srcpkgs/python-texttable/template b/srcpkgs/python-texttable/template index acb9723b120..8b80c80c912 100644 --- a/srcpkgs/python-texttable/template +++ b/srcpkgs/python-texttable/template @@ -1,19 +1,24 @@ # Template file for 'python-texttable' pkgname=python-texttable -version=1.6.0 +version=1.6.1 revision=1 -noarch=yes +archs=noarch wrksrc="texttable-${version}" build_style=python-module pycompile_module="texttable.py" hostmakedepends="python-setuptools python3-setuptools" depends="python" +checkdepends="python3-pytest" short_desc="Python2 module for creating simple ASCII tables" maintainer="Sergi Alvarez " license="LGPL-3.0-or-later" homepage="https://github.com/foutaise/texttable/" distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz" -checksum=624b9d6a94255b3d168b22f0808b78eca8b765d8b14c095e530641b8655c7dfc +checksum=2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2 + +do_check() { + pytest3 tests.py +} python3-texttable_package() { noarch=yes