testing/yaegi: upgrade to 0.16.1

This commit is contained in:
Hoang Nguyen 2024-05-02 00:00:00 +07:00 committed by omni
parent 7c9b673b6e
commit a37fb61514

View File

@ -1,12 +1,11 @@
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
pkgname=yaegi
pkgver=0.16.0
pkgrel=2
pkgver=0.16.1
pkgrel=0
pkgdesc="Elegant Go interpreter"
url="https://github.com/traefik/yaegi"
# 32bit: TestEvalBuiltin test fails
# riscv64: interp tests time out
arch="all !x86 !armhf !armv7 !riscv64"
arch="all !x86 !armhf !armv7"
license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/traefik/yaegi/archive/refs/tags/v$pkgver.tar.gz"
@ -32,8 +31,8 @@ build() {
}
check() {
# extract_test.go:157: cannot find package "math"
GOFLAGS="${GOFLAGS/-trimpath/}" go test ./...
# Tests in interp module time out on riscv64 after the default 10 minutes.
GOFLAGS="${GOFLAGS/-trimpath/}" go test -timeout=30m ./...
}
package() {
@ -41,5 +40,5 @@ package() {
}
sha512sums="
68962e276c64ec9b681d183b48f179960709397233e4062b8338d35adf526a3ac14ecb52d45e5f0a5aaada206b184bd650a917110db962522bc0b83afd3a60b7 yaegi-0.16.0.tar.gz
44db8b3748980c60873aef6b2aa7198e34e9c3aec9141ba56c9c91120e38e4d587c4bbfd09b250b52b607c88d1da41b82b31859d90636bf62cfe6d07bd30fea8 yaegi-0.16.1.tar.gz
"