[arch-commits] Commit in golang-gopkg-alecthomas-kingpin.v2/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Sep 1 06:41:31 UTC 2022


    Date: Thursday, September 1, 2022 @ 06:41:31
  Author: felixonmars
Revision: 1289772

upgpkg: golang-gopkg-alecthomas-kingpin.v2 2.2.6-4

Modified:
  golang-gopkg-alecthomas-kingpin.v2/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-01 06:38:45 UTC (rev 1289771)
+++ PKGBUILD	2022-09-01 06:41:31 UTC (rev 1289772)
@@ -2,23 +2,22 @@
 
 pkgname=golang-gopkg-alecthomas-kingpin.v2
 pkgver=2.2.6
-pkgrel=3
+pkgrel=4
 pkgdesc='A Go (golang) command line and flag parser'
 arch=('any')
 url="https://gopkg.in/alecthomas/kingpin.v2"
 license=('MIT')
-depends=('go' 'golang-github-alecthomas-template' 'golang-github-alecthomas-units'
-         'golang-github-stretchr-testify')
-checkdepends=('git')
+depends=('go' 'golang-github-alecthomas-template' 'golang-github-alecthomas-units')
+checkdepends=('golang-github-stretchr-testify')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/alecthomas/kingpin/archive/v$pkgver.tar.gz")
 sha512sums=('09c6bb5782639efc7068ed7606fe22c463b2397dc95a89c27ba567a58da10660bfea60d7836b63dcedf7db702f79fe7247575c33a503990f5ba6ca92e29b06b3')
 
 check() {
+  export GO111MODULE=off
   export GOPATH="$srcdir/build:/usr/share/gocode"
   mkdir -p "$srcdir"/build/src/gopkg.in/alecthomas
   cp -a "$srcdir"/kingpin-$pkgver "$srcdir"/build/src/gopkg.in/alecthomas/kingpin.v2
   cd "$srcdir"/build/src/gopkg.in/alecthomas/kingpin.v2
-  go get gopkg.in/yaml.v3
   go test -v $(go list ./...)
 }
 



More information about the arch-commits mailing list