# Template file for 'python3-aiosqlite'
pkgname=python3-aiosqlite
version=0.22.1
revision=1
build_style=python3-pep517
hostmakedepends="python3-flit_core"
checkdepends="python3-pytest"
short_desc="Python asyncio bridge to the standard sqlite3 module"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="MIT"
homepage="https://github.com/omnilib/aiosqlite"
changelog="https://github.com/omnilib/aiosqlite/blob/main/CHANGELOG.md"
distfiles="https://github.com/omnilib/aiosqlite/archive/refs/tags/v${version}.tar.gz"
checksum=f58e04673453a709e59a04e80f411c327c0555304c210e84272febbcff1de7fd

do_check() {
	python3 -m unittest discover -v
}

post_install() {
	vlicense LICENSE
}
