26 lines
880 B
Bash
26 lines
880 B
Bash
# Template file for 'python3-multidict'
|
|
pkgname=python3-multidict
|
|
version=4.7.6
|
|
revision=2
|
|
wrksrc="multidict-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-Cython python3-setuptools"
|
|
makedepends="python3-devel"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Multidict implementation from aiohttp"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/aio-libs/multidict"
|
|
changelog="https://raw.githubusercontent.com/aio-libs/multidict/master/CHANGES.rst"
|
|
distfiles="https://github.com/aio-libs/multidict/archive/v${version}.tar.gz"
|
|
checksum=449035f89a12f189579ff83811424c71e4a39e335bcb8045145ad084b7bde2dc
|
|
|
|
do_check() {
|
|
# don't enable coverage for tests
|
|
vsed -e '/pytest-cov==/d' -i requirements/pytest.txt
|
|
vsed -e '/addopts/d' -e setup.cfg
|
|
|
|
cp -f build/lib.linux-*/multidict/*.so multidict
|
|
python3 -m pytest
|
|
}
|