python3-yarl: update to 1.6.2.

This commit is contained in:
Andrew J. Hesford 2020-10-27 13:12:01 -04:00
parent e1faea048e
commit e68e3d16cc
2 changed files with 10 additions and 6 deletions

View file

@ -1,11 +1,11 @@
# Template file for 'python3-yarl'
pkgname=python3-yarl
version=1.3.0
revision=4
version=1.6.2
revision=1
wrksrc="yarl-${version}"
build_style=python3-module
pycompile_module="yarl"
hostmakedepends="python3-Cython python3-setuptools"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3-idna python3-multidict"
checkdepends="python3-idna python3-multidict python3-pytest"
@ -13,9 +13,12 @@ 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/v${version}.tar.gz"
checksum=0d4acfd6c750612871e11c49eea43213949f1528686a184eefc1366142a6fbb3
distfiles="${PYPI_SITE}/y/yarl/yarl-${version}.tar.gz"
checksum=c45b49b59a5724869899798e1bbd447ac486215269511d3b76b4c235a1b766b6
do_check() {
python3 setup.py test
vsed -e '/addopts/d' -i setup.cfg
cp -f build/lib.linux-*/yarl/*.so yarl
python3 -m pytest
}

View file

@ -0,0 +1 @@
ignore="*[a-z]*"