# Template file for 'python3-yarl'
pkgname=python3-yarl
version=1.24.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-Cython"
makedepends="python3-devel"
depends="python3-idna python3-multidict python3-propcache"
checkdepends="${depends} python3-pytest python3-pytest-cov python3-pytest-xdist python3-hypothesis"
short_desc="Yet another URL library"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="Apache-2.0"
homepage="https://yarl.readthedocs.io/"
distfiles="https://github.com/aio-libs/yarl/archive/refs/tags/v${version}.tar.gz"
checksum=13dfb1166bb72e10b878bba6d004df6881725dd56dcd2e973ae4048612d6e9f0

pre_build() {
	cythonize yarl/_quoting_c.pyx
}
