diff --git a/srcpkgs/python3-multidict/template b/srcpkgs/python3-multidict/template index 6de08d76c87..5772113c14b 100644 --- a/srcpkgs/python3-multidict/template +++ b/srcpkgs/python3-multidict/template @@ -1,15 +1,22 @@ # Template file for 'python3-multidict' pkgname=python3-multidict -version=4.2.0 +version=4.3.1 revision=1 wrksrc="multidict-${version}" build_style=python3-module pycompile_module="multidict" hostmakedepends="python3-Cython python3-setuptools" makedepends="python3-devel" +checkdepends="python3-pytest python3-perf" 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" distfiles="https://github.com/aio-libs/multidict/archive/v${version}.tar.gz" -checksum=e449839b6f272ec63687c3451dc6d3726491f6a267b701b1bf7549148aaa00c7 +checksum=2d4f7249a11bd4387e2bbb8a29267be927db86b50d1beff9c0f6b53e00d81a65 + +do_check() { + sed -i 's|--cov=multidict||g' pytest.ini + python3 setup.py test +} diff --git a/srcpkgs/python3-perf/template b/srcpkgs/python3-perf/template new file mode 100644 index 00000000000..a0cadf3bf31 --- /dev/null +++ b/srcpkgs/python3-perf/template @@ -0,0 +1,21 @@ +# Template file for 'python3-perf' +pkgname=python3-perf +version=1.5.1 +revision=1 +noarch=yes +wrksrc="perf-${version}" +build_style=python3-module +pycompile_module="perf" +hostmakedepends="python3-setuptools" +depends="python3-six" +short_desc="Toolkit to run python benchmarks" +maintainer="maxice8 " +license="MIT" +#changelog="https://raw.githubusercontent.com/vstinner/perf/master/doc/changelog.rst" +homepage="https://github.com/vstinner/perf" +distfiles="https://github.com/vstinner/perf/archive/${version}.tar.gz" +checksum=0b20382c819114bcbb7b6ff27b1259d44a4b68e5b791324ef9a12e0afaa2e294 + +post_install() { + vlicense COPYING +}