diff --git a/srcpkgs/python3-aiofiles/template b/srcpkgs/python3-aiofiles/template index a416ede9ebe..a4ae4a79471 100644 --- a/srcpkgs/python3-aiofiles/template +++ b/srcpkgs/python3-aiofiles/template @@ -1,15 +1,20 @@ # Template file for 'python3-aiofiles' pkgname=python3-aiofiles -version=0.6.0 +version=0.7.0 revision=1 wrksrc="${pkgname#*-}-${version}" -build_style=python3-module -hostmakedepends="python3-setuptools" +build_style=python3-pep517 +hostmakedepends="python3-poetry-core" depends="python3" +checkdepends="python3-pytest-asyncio" short_desc="File support for asyncio in Python" maintainer="Andrew J. Hesford " license="Apache-2.0" homepage="https://github.com/Tinche/aiofiles" changelog="https://raw.githubusercontent.com/Tinche/aiofiles/master/README.rst" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=6eab26cca53ea091d0e1730b289a5b460e665fad062caec061a8cca33566c375 +checksum=2baf8e70f95618214c4910730fd625bfaa4a8b8957838b34364b0a2c7d41db9e + +do_check() { + PYTHONPATH=src python3 -m pytest +}