community/lua-http: upgrade to 0.4

This commit is contained in:
omni 2021-03-24 21:13:24 +00:00 committed by Rasmus Thomsen
parent 6b02930bd0
commit 9cf0588134

View File

@ -1,17 +1,15 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=lua-http
pkgver=0.3
pkgrel=1
pkgver=0.4
pkgrel=0
pkgdesc="HTTP Library for Lua that supports HTTP(S) 1.0, 1.1 and 2.0"
url="https://github.com/daurnimator/lua-http"
arch="noarch"
license="MIT"
depends="lua-binaryheap lua-cqueues lua-basexx lua-fifo lua-lpeg lua-lpeg_patterns>=0.5 lua-ossl"
checkdepends="lua-busted lua5.1-compat53 lua5.2-compat53 lua5.1-bit32 luajit"
source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/lua-http/archive/v$pkgver.tar.gz
https://github.com/daurnimator/lua-http/commit/cb7b59474a2ca6b64474330ec2bb279c092f661a.patch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/lua-http/archive/v$pkgver.tar.gz"
case "$CARCH" in
# FIXME: Some tests fail with "Address not available".
@ -58,5 +56,4 @@ _subpackage() {
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="5728848849e8d3e99328abdc6aff3034a708f0e5884e8718a9266900a561a37850e2bf911e9cbd0d4d538799e1fd8bb4fd66008f4787011f5802b259d51f8281 lua-http-0.3.tar.gz
a4f0f329885be9ae03ef86eaf58cfa10609ae2eb58204a73eaa97840829ba555e6a3aba97120cf262ade5155887468715c92f78d32d404bba6ef9129b86a1589 cb7b59474a2ca6b64474330ec2bb279c092f661a.patch"
sha512sums="3933c36e2d439c81ba4506d3ab1dd53a85ba3cd641abbd945210bdc6b6edb3e01516adb473cf59c5c194d9f45e7de9196e31265318d01c5b7684bb5e87dbd26a lua-http-0.4.tar.gz"