void-packages/srcpkgs/python3-yarl/template
maxice8 6597c0919d python3-yarl: update to 0.15.0.
Closes: #9488 [via git-merge-pr]
2017-11-24 16:22:25 -05:00

24 lines
841 B
Bash

# Template file for 'python3-yarl'
pkgname=python3-yarl
version=0.15.0
revision=1
wrksrc="yarl-${version}"
build_style=python3-module
pycompile_module="yarl"
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
checkdepends="python3-pytest python3-multidict"
depends="python3-multidict"
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=6107964241d524a61064b395677a18b736ca410f3eb8c43f1b518b3325261a63
do_check() {
# Ignore the tests that fail due _quote not being found
# TODO: find root cause and fix them
PYTHONENV="${PWD}/lib.linux-${XBPS_TARGET_MACHINE}-3.6" python3 -m pytest \
--ignore=tests/test_quoting.py tests/
}