void-packages/srcpkgs/python3-aiofiles/template

21 lines
665 B
Bash

# Template file for 'python3-aiofiles'
pkgname=python3-aiofiles
version=22.1.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=47b4e8fe8c6d07b85810badcfb38366c567db7add200cef2aeb8376e9c34f46f
do_check() {
PYTHONPATH=src python3 -m pytest
}