Merge pull request #14180 from maxice8/python3-multidict

python3-multidict: update to 4.3.1.
New package: python3-perf-1.5.1.
This commit is contained in:
Alessio Sergi 2018-05-23 20:23:26 +02:00 committed by GitHub
commit 19d85a8d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 2 deletions

View file

@ -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 <maldridge@VoidLinux.eu>"
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
}

View file

@ -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 <thinkabit.ukim@gmail.com>"
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
}