testing/gdu: upgrade to 5.26.0

This commit is contained in:
Celeste 2024-02-13 13:04:04 +00:00 committed by Kevin Daudt
parent 3e6a1a4792
commit 4ad279f534

View File

@ -1,9 +1,9 @@
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=gdu
pkgver=5.25.0
pkgver=5.26.0
_majorver=${pkgver%%.*}
pkgrel=2
pkgrel=0
pkgdesc="Fast disk usage calculator with console interface"
url="https://github.com/dundee/gdu"
arch="all"
@ -38,7 +38,15 @@ build() {
}
check() {
go test -v ./...
# These tests are failing on 32-bit with: "error:
# cannot allocate memory while mmapping
# /tmp/badger/000002.vlog with size: 2147483646"
case "$CARCH" in
arm*|x86)
go test -skip 'TestStoredAnalyzer|TestRemoveStoredFile' -v ./... ;;
*)
go test -v ./... ;;
esac
}
package() {
@ -48,5 +56,5 @@ package() {
}
sha512sums="
25d20304e9bfd805e0991e49b663666216d93865b91be84ef58a3b0c2ef44ed35fc59aa5a5ac15d31aea40cad3e2a920037d1a8ca75a889582ece7cff174c9dd gdu-5.25.0.tar.gz
899a1c47350423bbed64335042e8ececa3b8828a22e6b7470c3e4dc13f86b7ada7f485f566df7ab819f669f2e60707b8e44b938e8d42f640e1b35795ff493f06 gdu-5.26.0.tar.gz
"