backports/py3-httptools: upgrade to 0.5.0
This commit is contained in:
parent
8aa6acdcad
commit
9d78b36505
1 changed files with 5 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Contributor: Michał Polański <michal@polanski.me>
|
# Contributor: Michał Polański <michal@polanski.me>
|
||||||
# Maintainer: Michał Polański <michal@polanski.me>
|
# Maintainer: Michał Polański <michal@polanski.me>
|
||||||
pkgname=py3-httptools
|
pkgname=py3-httptools
|
||||||
pkgver=0.4.0
|
pkgver=0.5.0
|
||||||
pkgrel=0
|
pkgrel=3
|
||||||
pkgdesc="Fast HTTP parser"
|
pkgdesc="Fast HTTP parser"
|
||||||
url="https://github.com/MagicStack/httptools"
|
url="https://github.com/MagicStack/httptools"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -10,6 +10,7 @@ arch="all !riscv64" # llhttp
|
||||||
depends="python3"
|
depends="python3"
|
||||||
makedepends="py3-setuptools python3-dev cython http-parser-dev llhttp-dev"
|
makedepends="py3-setuptools python3-dev cython http-parser-dev llhttp-dev"
|
||||||
checkdepends="py3-pytest py3-aiohttp py3-openssl py3-psutil"
|
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"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/MagicStack/httptools/archive/v$pkgver/py3-httptools-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/httptools-$pkgver"
|
builddir="$srcdir/httptools-$pkgver"
|
||||||
|
|
||||||
|
@ -19,7 +20,7 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
PYTHONPATH="$(echo "$PWD"/build/lib.linux-*)" pytest || true
|
PYTHONPATH="$(echo "$PWD"/build/lib.linux-*)" pytest
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -27,5 +28,5 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
b1e374f0b924bb0ff699d106038603f126da9065a63bc53080efc630392e0c666b1b87f8ca410fe23ee0fd07c77e89b590bf4154c4c07ad59982977630605961 py3-httptools-0.4.0.tar.gz
|
f7db490d74fb0b8d57c452c7f5c252a506c2173a80349317016a05e5c343fc203ffe038453fedd14963b46dd5b6efdf46f6173855d10145fa1404bbb6beccb42 py3-httptools-0.5.0.tar.gz
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue