testing/buf: upgrade to 1.31.0

This commit is contained in:
Hoang Nguyen 2024-05-04 00:00:00 +07:00 committed by omni
parent 240a305789
commit 67e95f386b

View File

@ -1,7 +1,7 @@
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=buf
pkgver=1.29.0
pkgrel=2
pkgver=1.31.0
pkgrel=0
pkgdesc="CLI to work with Protocol Buffers"
url="https://buf.build/"
# 32bit: fail tests with int overflow
@ -16,6 +16,12 @@ subpackages="
$pkgname-protoc-plugins:_protoc
"
source="$pkgname-$pkgver.tar.gz::https://github.com/bufbuild/buf/archive/refs/tags/v$pkgver.tar.gz"
options="net" # download Go modules
# private/bufpkg/bufstudioagent tests time out
case "$CARCH" in
riscv64|ppc64le) options="$options !check"
esac
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
@ -69,5 +75,5 @@ _protoc() {
}
sha512sums="
4b7e034429cb4eb3607546f6e671919ed3863221a52b374fb608148836dafb8aba7609716a2c3ceb30dc6b30370e8956a74d1d187cec3a48f7cf3216501e3466 buf-1.29.0.tar.gz
ddee58f528f938718fafdf5ae751b815edb2e62edf43b0710bd480d164484a9d7a1a6cef1ab948b93abe8cad8b56d5e3fc274edaf90caca1a9ec1f3831b0975c buf-1.31.0.tar.gz
"