void-packages/srcpkgs/python3-yarl/template

22 lines
657 B
Bash

# Template file for 'python3-yarl'
pkgname=python3-yarl
version=1.1.1
revision=1
wrksrc="yarl-${version}"
build_style=python3-module
pycompile_module="yarl"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
depends="python3-multidict python3-idna"
checkdepends="python3-pytest ${depends}"
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=90c726bdf744046cfd516f679441a65996ffbc672c28120b14fdd475b1b600a3
do_check() {
python3 setup.py test
}