From c01467b99b90cfb1d4c65362b2cbdf7b5f678548 Mon Sep 17 00:00:00 2001 From: icp Date: Tue, 29 Oct 2024 00:24:13 +0530 Subject: [PATCH] usql: update to 0.19.21. --- srcpkgs/usql/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/usql/template b/srcpkgs/usql/template index feaf721abcc..5803fb86156 100644 --- a/srcpkgs/usql/template +++ b/srcpkgs/usql/template @@ -1,7 +1,7 @@ # Template file for 'usql' pkgname=usql -version=0.19.3 -revision=2 +version=0.19.21 +revision=1 build_style=go go_import_path=github.com/xo/usql go_ldflags="-X github.com/xo/usql/text.CommandVersion=${version}" @@ -10,7 +10,12 @@ maintainer="icp " license="MIT" homepage="https://github.com/xo/usql" distfiles="https://github.com/xo/usql/archive/refs/tags/v${version}.tar.gz" -checksum=3955e13c7108cb4a3ebb968dafa501db72d4f4fa0ddf6fb128cceb84e5a3d4c4 +checksum=608558102283075114f379b7405a4b295a62b56962a1a5251ee4016056584363 + +do_check() { + go test -p "${XBPS_MAKEJOBS}" -v -tags "${go_build_tags}" -ldflags "${go_ldflags}" \ + $(go list ./... | grep -v /drivers) +} post_install() { vlicense LICENSE