From 999f50db27a770104866946785d0a716cb25e692 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 1 Oct 2020 23:18:13 -0400 Subject: [PATCH] python3-multidict: update to 4.7.6. --- srcpkgs/python3-multidict/template | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/srcpkgs/python3-multidict/template b/srcpkgs/python3-multidict/template index 62054db71f1..111cd6f683d 100644 --- a/srcpkgs/python3-multidict/template +++ b/srcpkgs/python3-multidict/template @@ -1,28 +1,24 @@ # Template file for 'python3-multidict' pkgname=python3-multidict -version=4.5.2 -revision=3 +version=4.7.6 +revision=1 wrksrc="multidict-${version}" build_style=python3-module -pycompile_module="multidict" hostmakedepends="python3-Cython python3-setuptools" makedepends="python3-devel" checkdepends="python3-pytest" short_desc="Multidict implementation from aiohttp" maintainer="Michael Aldridge " license="Apache-2.0" -#changelog="https://raw.githubusercontent.com/aio-libs/multidict/master/docs/changes.rst" 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=09be72d0c223be82aa5ed42766665048c329dba9f4440cd2b9633f78e12b28da +checksum=449035f89a12f189579ff83811424c71e4a39e335bcb8045145ad084b7bde2dc do_check() { - # don't use pytest-runner - sed -i '/setup_requires=/d' setup.py - # don't enable coverage for tests - sed -i 's/pytest-cov//' setup.py - sed -i '/addopts/d' pytest.ini + 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