void-packages/srcpkgs/python3-yarl/template

22 lines
677 B
Bash

# Template file for 'python3-yarl'
pkgname=python3-yarl
version=1.3.0
revision=1
wrksrc="yarl-${version}"
build_style=python3-module
pycompile_module="yarl"
hostmakedepends="python3-Cython python3-setuptools"
makedepends="python3-devel"
depends="python3-idna python3-multidict"
checkdepends="python3-idna python3-multidict python3-pytest"
short_desc="Yet another URL library"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2.0"
homepage="https://yarl.readthedocs.io/"
distfiles="https://github.com/aio-libs/yarl/archive/v${version}.tar.gz"
checksum=0d4acfd6c750612871e11c49eea43213949f1528686a184eefc1366142a6fbb3
do_check() {
python3 setup.py test
}