23 lines
744 B
Bash
23 lines
744 B
Bash
# Template file for 'python3-async-timeout'
|
|
pkgname=python3-async-timeout
|
|
version=4.0.3
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
checkdepends="python3-pytest-asyncio"
|
|
short_desc="Timeout context manager for asyncio programs"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
#changelog="https://raw.githubusercontent.com/aio-libs/async-timeout/master/CHANGES.rst"
|
|
homepage="https://github.com/aio-libs/async-timeout"
|
|
distfiles="https://github.com/aio-libs/async-timeout/archive/v${version}.tar.gz"
|
|
checksum=c63f1252d5fa878fdceb7a6894f1df6a73f92546e52a0b7999a5de429fd64ff8
|
|
|
|
do_check() {
|
|
# don't enable coverage
|
|
sed -i '/addopts=/d' setup.cfg
|
|
|
|
python3 -m pytest
|
|
}
|