void-packages/srcpkgs/python3-aiofiles/template

21 lines
664 B
Bash

# Template file for 'python3-aiofiles'
pkgname=python3-aiofiles
version=0.7.0
revision=1
wrksrc="${pkgname#*-}-${version}"
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 <ajh@sideband.org>"
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=2baf8e70f95618214c4910730fd625bfaa4a8b8957838b34364b0a2c7d41db9e
do_check() {
PYTHONPATH=src python3 -m pytest
}