backports/py3-httptools: upgrade to 0.5.0

This commit is contained in:
Antoine Martin 2023-05-05 01:18:24 -04:00
parent 8aa6acdcad
commit 9d78b36505
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,8 +1,8 @@
# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-httptools
pkgver=0.4.0
pkgrel=0
pkgver=0.5.0
pkgrel=3
pkgdesc="Fast HTTP parser"
url="https://github.com/MagicStack/httptools"
license="MIT"
@ -10,6 +10,7 @@ arch="all !riscv64" # llhttp
depends="python3"
makedepends="py3-setuptools python3-dev cython http-parser-dev llhttp-dev"
checkdepends="py3-pytest py3-aiohttp py3-openssl py3-psutil"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/MagicStack/httptools/archive/v$pkgver/py3-httptools-$pkgver.tar.gz"
builddir="$srcdir/httptools-$pkgver"
@ -19,7 +20,7 @@ build() {
}
check() {
PYTHONPATH="$(echo "$PWD"/build/lib.linux-*)" pytest || true
PYTHONPATH="$(echo "$PWD"/build/lib.linux-*)" pytest
}
package() {
@ -27,5 +28,5 @@ package() {
}
sha512sums="
b1e374f0b924bb0ff699d106038603f126da9065a63bc53080efc630392e0c666b1b87f8ca410fe23ee0fd07c77e89b590bf4154c4c07ad59982977630605961 py3-httptools-0.4.0.tar.gz
f7db490d74fb0b8d57c452c7f5c252a506c2173a80349317016a05e5c343fc203ffe038453fedd14963b46dd5b6efdf46f6173855d10145fa1404bbb6beccb42 py3-httptools-0.5.0.tar.gz
"