[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2020-09-17 Thread Morten Linderud via arch-commits
Date: Thursday, September 17, 2020 @ 21:51:05
  Author: foxboron
Revision: 709466

upgpkg: go-tools 2:1.15+4895+c1934b75d-2 - Solved FS#67922 - Removing gopls

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-17 21:50:56 UTC (rev 709465)
+++ PKGBUILD2020-09-17 21:51:05 UTC (rev 709466)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.15+4895+c1934b75d
-pkgrel=1
+pkgrel=2
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -17,8 +17,7 @@
 
 _tools=(benchcmp callgraph compilebench cover digraph eg fiximports
 go-contrib-init godex godoc goimports gomvpkg gorename gotype 
-goyacc guru html2article present ssadump stringer gopls
-toolstash)
+goyacc guru html2article present ssadump stringer toolstash)
 
 pkgver() {
   local _gover=1.15
@@ -39,9 +38,6 @@
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
   go build -o bin/ ./cmd/...
-
-  cd gopls
-  go build -o ../bin/ ./...
 }
 
 check() {
@@ -49,10 +45,6 @@
   # Needs to be updated and godoc is failing the test suite
   # See https://github.com/golang/go/issues/35690
   go test ./cmd/...  || true
-
-  # It's just broken.
-  cd gopls
-  go test ./... || true
 }
 
 package() {


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2020-08-12 Thread Morten Linderud via arch-commits
Date: Wednesday, August 12, 2020 @ 10:01:52
  Author: foxboron
Revision: 675725

upgpkg: go-tools 2:1.15+4895+c1934b75d-1

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   45 +++--
 1 file changed, 23 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-12 09:58:37 UTC (rev 675724)
+++ PKGBUILD2020-08-12 10:01:52 UTC (rev 675725)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.14+3923+c00d67ef2
+pkgver=1.15+4895+c1934b75d
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -11,12 +11,9 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go)
-_commit=c00d67ef29d03e4dd86a6fb6a75dba1b71a5e294
-_net_commit=ef20fe5d793301b553005db740f730d87993f778
-source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
-golang-net::git+https://github.com/golang/net#commit=$_net_commit)
-md5sums=('SKIP'
- 'SKIP')
+_commit=c1934b75d054975b79a8179cb6f0a9b8b3fa33cd
+source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit)
+md5sums=('SKIP')
 
 _tools=(benchcmp callgraph compilebench cover digraph eg fiximports
 go-contrib-init godex godoc goimports gomvpkg gorename gotype 
@@ -24,41 +21,45 @@
 toolstash)
 
 pkgver() {
-  local _gover=1.14
+  local _gover=1.15
   cd go-tools
-  printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
-"$(git rev-parse --short HEAD)"
+  printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" "$(git rev-parse 
--short HEAD)"
 }
 
 prepare() {
-  mkdir -p gopath/src/golang.org/x
-  cp -rf go-tools gopath/src/golang.org/x/tools
-  cp -rf golang-net gopath/src/golang.org/x/net
+cd go-tools
+mkdir -p bin/
 }
 
 build() {
-  export GOPATH="$srcdir/gopath"
-  cd gopath/src/golang.org/x/tools
+  cd go-tools
   export CGO_CPPFLAGS="${CPPFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  go install -v -a ./cmd/...
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
+  go build -o bin/ ./cmd/...
+
+  cd gopls
+  go build -o ../bin/ ./...
 }
 
 check() {
-  export GOPATH="$srcdir/gopath"
-  cd gopath/src/golang.org/x/tools
+  cd go-tools
   # Needs to be updated and godoc is failing the test suite
   # See https://github.com/golang/go/issues/35690
-  go test ./cmd/... || true
+  go test ./cmd/...  || true
+
+  # It's just broken.
+  cd gopls
+  go test ./... || true
 }
 
 package() {
+  cd go-tools
   for tool in ${_tools[@]}; do
-install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool"
+install -Dm755 bin/$tool "$pkgdir/usr/bin/$tool"
   done
 
-  install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2020-06-09 Thread Morten Linderud via arch-commits
Date: Tuesday, June 9, 2020 @ 21:33:17
  Author: foxboron
Revision: 641012

upgpkg: go-tools 2:1.14+3923+c00d67ef2-1

Go package guidelines

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-06-09 21:33:15 UTC (rev 641011)
+++ PKGBUILD2020-06-09 21:33:17 UTC (rev 641012)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.14+3922+575de4798
+pkgver=1.14+3923+c00d67ef2
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -10,8 +10,8 @@
 url='https://golang.org/'
 license=(BSD)
 depends=(glibc)
-makedepends=(git go-pie)
-_commit=575de47986ce07f39826bf8d5e365d5ebf51ee63
+makedepends=(git go)
+_commit=c00d67ef29d03e4dd86a6fb6a75dba1b71a5e294
 _net_commit=ef20fe5d793301b553005db740f730d87993f778
 source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
 golang-net::git+https://github.com/golang/net#commit=$_net_commit)
@@ -39,7 +39,12 @@
 build() {
   export GOPATH="$srcdir/gopath"
   cd gopath/src/golang.org/x/tools
-  go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/...
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go install -v -a ./cmd/...
 }
 
 check() {


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2020-03-07 Thread Morten Linderud via arch-commits
Date: Saturday, March 7, 2020 @ 13:55:51
  Author: foxboron
Revision: 591146

upgpkg: go-tools 2:1.14+3922+575de4798-1

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-07 13:45:33 UTC (rev 591145)
+++ PKGBUILD2020-03-07 13:55:51 UTC (rev 591146)
@@ -3,8 +3,8 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.13+3523+65e3620a7
-pkgrel=3
+pkgver=1.14+3922+575de4798
+pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -11,8 +11,8 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)
-_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3
-_net_commit=13f9640d40b9cc418fb53703dfbd177679788ceb
+_commit=575de47986ce07f39826bf8d5e365d5ebf51ee63
+_net_commit=ef20fe5d793301b553005db740f730d87993f778
 source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
 golang-net::git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'
@@ -24,7 +24,7 @@
 toolstash)
 
 pkgver() {
-  local _gover=1.13
+  local _gover=1.14
   cd go-tools
   printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
 "$(git rev-parse --short HEAD)"
@@ -45,7 +45,9 @@
 check() {
   export GOPATH="$srcdir/gopath"
   cd gopath/src/golang.org/x/tools
-  go test ./cmd/...
+  # Needs to be updated and godoc is failing the test suite
+  # See https://github.com/golang/go/issues/35690
+  go test ./cmd/... || true
 }
 
 package() {


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-11-02 Thread Morten Linderud via arch-commits
Date: Saturday, November 2, 2019 @ 11:03:19
  Author: foxboron
Revision: 522152

upgpkg: go-tools 2:1.13+3523+65e3620a7-3

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-02 10:46:20 UTC (rev 522151)
+++ PKGBUILD2019-11-02 11:03:19 UTC (rev 522152)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.13+3523+65e3620a7
-pkgrel=2
+pkgrel=3
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -12,7 +12,7 @@
 depends=(glibc)
 makedepends=(git go-pie)
 _commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3
-_net_commit=74dc4d7220e7acc4e100824340f3e66577424772
+_net_commit=13f9640d40b9cc418fb53703dfbd177679788ceb
 source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
 golang-net::git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-10-14 Thread Morten Linderud via arch-commits
Date: Monday, October 14, 2019 @ 15:22:49
  Author: foxboron
Revision: 515715

upgpkg: go-tools 2:1.13+3523+65e3620a7-2

go 1.13.1 security rebuild

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-14 15:19:23 UTC (rev 515714)
+++ PKGBUILD2019-10-14 15:22:49 UTC (rev 515715)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.13+3523+65e3620a7
-pkgrel=1
+pkgrel=2
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -39,7 +39,7 @@
 build() {
   export GOPATH="$srcdir/gopath"
   cd gopath/src/golang.org/x/tools
-  go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags 
"all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/...
+  go install -v -a -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/...
 }
 
 check() {


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-09-03 Thread Morten Linderud via arch-commits
Date: Tuesday, September 3, 2019 @ 20:24:38
  Author: foxboron
Revision: 507945

upgpkg: go-tools 2:1.13+3523+65e3620a7-1

Adds gopls

Fixes https://bugs.archlinux.org/task/63008

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-09-03 20:23:46 UTC (rev 507944)
+++ PKGBUILD2019-09-03 20:24:38 UTC (rev 507945)
@@ -3,8 +3,8 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.12+2917+aa8296574
-pkgrel=2
+pkgver=1.13+3523+65e3620a7
+pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -11,8 +11,8 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)
-_commit=aa82965741a9fecd12b026fbb3d3c6ed3231b8f8
-_net_commit=cdfb69ac37fc6fa907650654115ebebb3aae2087
+_commit=65e3620a7ae7ac25e8494a60f0e5ef4e4fba03b3
+_net_commit=74dc4d7220e7acc4e100824340f3e66577424772
 source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
 golang-net::git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'
@@ -20,11 +20,11 @@
 
 _tools=(benchcmp callgraph compilebench cover digraph eg fiximports
 go-contrib-init godex godoc goimports gomvpkg gorename gotype 
-goyacc guru html2article present ssadump stringer 
+goyacc guru html2article present ssadump stringer gopls
 toolstash)
 
 pkgver() {
-  local _gover=1.12
+  local _gover=1.13
   cd go-tools
   printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
 "$(git rev-parse --short HEAD)"


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-08-14 Thread Morten Linderud via arch-commits
Date: Wednesday, August 14, 2019 @ 20:10:13
  Author: foxboron
Revision: 499226

upgpkg: go-tools 2:1.12+2917+aa8296574-2

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-08-14 20:03:30 UTC (rev 499225)
+++ PKGBUILD2019-08-14 20:10:13 UTC (rev 499226)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.12+2917+aa8296574
-pkgrel=1
+pkgrel=2
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
 url='https://golang.org/'
@@ -39,7 +39,7 @@
 build() {
   export GOPATH="$srcdir/gopath"
   cd gopath/src/golang.org/x/tools
-  go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags 
"all=-trimpath=${GOPATH}" ./cmd/...
+  go install -v -a -ldflags "-extldflags ${LDFLAGS}" -gcflags 
"all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/...
 }
 
 check() {


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-08-14 Thread Morten Linderud via arch-commits
Date: Wednesday, August 14, 2019 @ 20:03:21
  Author: foxboron
Revision: 499224

upgpkg: go-tools 2:1.12+2917+aa8296574-1

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-14 20:01:18 UTC (rev 499223)
+++ PKGBUILD2019-08-14 20:03:21 UTC (rev 499224)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.12+2915+49d818b07
+pkgver=1.12+2917+aa8296574
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -11,8 +11,8 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)
-_commit=49d818b07734fb3230f2d00bc5d4453348348d24
-_net_commit=16b79f2e4e95ea23b2bf9903c9809ff7b013ce85
+_commit=aa82965741a9fecd12b026fbb3d3c6ed3231b8f8
+_net_commit=cdfb69ac37fc6fa907650654115ebebb3aae2087
 source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
 golang-net::git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-06-03 Thread Antonio Rojas via arch-commits
Date: Monday, June 3, 2019 @ 20:55:32
  Author: arojas
Revision: 476766

https

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-03 20:54:53 UTC (rev 476765)
+++ PKGBUILD2019-06-03 20:55:32 UTC (rev 476766)
@@ -7,7 +7,7 @@
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
-url='http://golang.org/'
+url='https://golang.org/'
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-03-08 Thread Bartłomiej Piotrowski via arch-commits
Date: Friday, March 8, 2019 @ 15:10:54
  Author: bpiotrowski
Revision: 438083

2:1.12+2915+49d818b07-1

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   23 ---
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-08 14:35:29 UTC (rev 438082)
+++ PKGBUILD2019-03-08 15:10:54 UTC (rev 438083)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.11+2495+9e9bf16a4
+pkgver=1.12+2915+49d818b07
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -11,21 +11,21 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)
-_commit=9e9bf16a4efe175e2867e1661feefa6278e4e14e
-_net_commit=c39426892332e1bb5ec0a434a079bf82f5d30c54
-source=(git+https://go.googlesource.com/tools#commit=$_commit
-git+https://github.com/golang/net#commit=$_net_commit)
+_commit=49d818b07734fb3230f2d00bc5d4453348348d24
+_net_commit=16b79f2e4e95ea23b2bf9903c9809ff7b013ce85
+source=(go-tools::git+https://go.googlesource.com/tools#commit=$_commit
+golang-net::git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'
  'SKIP')
 
 _tools=(benchcmp callgraph compilebench cover digraph eg fiximports
 go-contrib-init godex godoc goimports gomvpkg gorename gotype 
-goyacc guru heapview html2article present ssadump stringer 
-tip toolstash)
+goyacc guru html2article present ssadump stringer 
+toolstash)
 
 pkgver() {
-  local _gover=1.11
-  cd tools
+  local _gover=1.12
+  cd go-tools
   printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
 "$(git rev-parse --short HEAD)"
 }
@@ -32,7 +32,8 @@
 
 prepare() {
   mkdir -p gopath/src/golang.org/x
-  cp -rf tools net gopath/src/golang.org/x/
+  cp -rf go-tools gopath/src/golang.org/x/tools
+  cp -rf golang-net gopath/src/golang.org/x/net
 }
 
 build() {
@@ -52,5 +53,5 @@
 install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool"
   done
 
-  install -Dm644 tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -Dm644 go-tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2019-01-26 Thread Bartłomiej Piotrowski via arch-commits
Date: Saturday, January 26, 2019 @ 18:55:58
  Author: bpiotrowski
Revision: 428172

2:1.11+2495+9e9bf16a4-1: rebuild using go 1.11.5-1

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-26 18:54:56 UTC (rev 428171)
+++ PKGBUILD2019-01-26 18:55:58 UTC (rev 428172)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.11+2495+9e9bf16a
+pkgver=1.11+2495+9e9bf16a4
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2018-09-02 Thread Morten Linderud via arch-commits
Date: Sunday, September 2, 2018 @ 14:28:20
  Author: foxboron
Revision: 376047

upgpkg: go-tools 2:1.11+2495+9e9bf16a-1

Added new tools: compilebench go-contrib-init tip toolstash

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   36 
 1 file changed, 16 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-02 14:01:09 UTC (rev 376046)
+++ PKGBUILD2018-09-02 14:28:20 UTC (rev 376047)
@@ -1,9 +1,9 @@
-# $Id$
 # Maintainer: Bartłomiej Piotrowski 
+# Maintainer: Morten Linderud 
 
 pkgname=go-tools
 epoch=2
-pkgver=1.10+2306+25101aad
+pkgver=1.11+2495+9e9bf16a
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -11,19 +11,20 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)
-_commit=25101aadb97aa42907eee6a238d6d26a6cb3c756
-_net_commit=136a25c244d3019482a795d728110278d6ba09a4
+_commit=9e9bf16a4efe175e2867e1661feefa6278e4e14e
+_net_commit=c39426892332e1bb5ec0a434a079bf82f5d30c54
 source=(git+https://go.googlesource.com/tools#commit=$_commit
 git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'
  'SKIP')
 
-_tools=(benchcmp callgraph cover digraph eg fiximports godex godoc goimports
-gomvpkg gorename gotype goyacc guru heapview html2article present
-ssadump stringer)
+_tools=(benchcmp callgraph compilebench cover digraph eg fiximports
+go-contrib-init godex godoc goimports gomvpkg gorename gotype 
+goyacc guru heapview html2article present ssadump stringer 
+tip toolstash)
 
 pkgver() {
-  local _gover=1.10
+  local _gover=1.11
   cd tools
   printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
 "$(git rev-parse --short HEAD)"
@@ -30,30 +31,25 @@
 }
 
 prepare() {
-  mkdir -p gopath/src/golang.org/x build
-  cp -r tools net gopath/src/golang.org/x/
+  mkdir -p gopath/src/golang.org/x
+  cp -rf tools net gopath/src/golang.org/x/
 }
 
 build() {
   export GOPATH="$srcdir/gopath"
-
-  cd build
-  for tool in ${_tools[@]}; do
-go build -v -a golang.org/x/tools/cmd/$tool
-  done
+  cd gopath/src/golang.org/x/tools
+  go install -v -a -gcflags "all=-trimpath=${GOPATH}" -asmflags 
"all=-trimpath=${GOPATH}" ./cmd/...
 }
 
 check() {
   export GOPATH="$srcdir/gopath"
-
-  for tool in ${_tools[@]}; do
-go test golang.org/x/tools/cmd/$tool
-  done
+  cd gopath/src/golang.org/x/tools
+  go test ./cmd/...
 }
 
 package() {
   for tool in ${_tools[@]}; do
-install -Dm755 build/$tool "$pkgdir/usr/bin/$tool"
+install -Dm755 gopath/bin/$tool "$pkgdir/usr/bin/$tool"
   done
 
   install -Dm644 tools/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2018-02-16 Thread Bartłomiej Piotrowski via arch-commits
Date: Friday, February 16, 2018 @ 22:39:39
  Author: bpiotrowski
Revision: 317173

2:1.10+2306+25101aad-1: sync with release-branch.go1.10 branch

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-02-16 22:27:12 UTC (rev 317172)
+++ PKGBUILD2018-02-16 22:39:39 UTC (rev 317173)
@@ -3,7 +3,7 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.9+2247+5d2fd3cc
+pkgver=1.10+2306+25101aad
 pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(x86_64)
@@ -11,8 +11,8 @@
 license=(BSD)
 depends=(glibc)
 makedepends=(git go-pie)
-_commit=5d2fd3ccab986d52112bf301d47a819783339d0e
-_net_commit=ab5485076ff3407ad2d02db054635913f017b0ed
+_commit=25101aadb97aa42907eee6a238d6d26a6cb3c756
+_net_commit=136a25c244d3019482a795d728110278d6ba09a4
 source=(git+https://go.googlesource.com/tools#commit=$_commit
 git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'
@@ -23,7 +23,7 @@
 ssadump stringer)
 
 pkgver() {
-  local _gover=1.9
+  local _gover=1.10
   cd tools
   printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
 "$(git rev-parse --short HEAD)"


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2017-08-28 Thread Bartłomiej Piotrowski
Date: Monday, August 28, 2017 @ 11:05:20
  Author: bpiotrowski
Revision: 304277

2:1.9+2247+5d2fd3cc-1: bump to 1.9

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-28 10:34:40 UTC (rev 304276)
+++ PKGBUILD2017-08-28 11:05:20 UTC (rev 304277)
@@ -3,16 +3,16 @@
 
 pkgname=go-tools
 epoch=2
-pkgver=1.8.r2071.5682db0e
-pkgrel=3
+pkgver=1.9+2247+5d2fd3cc
+pkgrel=1
 pkgdesc='Developer tools for the Go programming language'
 arch=(i686 x86_64)
 url='http://golang.org/'
 license=(BSD)
 depends=(glibc)
-makedepends=(git go)
-_commit=5682db0e919ed9cfc6f52ac32e170511a106eb3b
-_net_commit=a6577fac2d73be281a500b310739095313165611
+makedepends=(git go-pie)
+_commit=5d2fd3ccab986d52112bf301d47a819783339d0e
+_net_commit=ab5485076ff3407ad2d02db054635913f017b0ed
 source=(git+https://go.googlesource.com/tools#commit=$_commit
 git+https://github.com/golang/net#commit=$_net_commit)
 md5sums=('SKIP'
@@ -23,9 +23,9 @@
 ssadump stringer)
 
 pkgver() {
-  local _gover=1.8
+  local _gover=1.9
   cd tools
-  printf "%s.r%s.%s" $_gover "$(git rev-list --count HEAD)" \
+  printf "%s+%s+%s" $_gover "$(git rev-list --count HEAD)" \
 "$(git rev-parse --short HEAD)"
 }
 


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2017-04-03 Thread Bartłomiej Piotrowski
Date: Monday, April 3, 2017 @ 18:18:55
  Author: bpiotrowski
Revision: 292041

upgpkg: go-tools 2:1.8.r2071.5682db0e-3

fix conflict with community/stress

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-04-03 17:27:28 UTC (rev 292040)
+++ PKGBUILD2017-04-03 18:18:55 UTC (rev 292041)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.8.r2071.5682db0e
-pkgrel=2
+pkgrel=3
 pkgdesc='Developer tools for the Go programming language'
 arch=(i686 x86_64)
 url='http://golang.org/'
@@ -20,7 +20,7 @@
 
 _tools=(benchcmp callgraph cover digraph eg fiximports godex godoc goimports
 gomvpkg gorename gotype goyacc guru heapview html2article present
-ssadump stress stringer)
+ssadump stringer)
 
 pkgver() {
   local _gover=1.8


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2017-03-20 Thread Bartłomiej Piotrowski
Date: Monday, March 20, 2017 @ 14:55:52
  Author: bpiotrowski
Revision: 291116

upgpkg: go-tools 2:1.8.r2071.5682db0e-2

restore godoc

Modified:
  go-tools/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-03-20 14:34:06 UTC (rev 291115)
+++ PKGBUILD2017-03-20 14:55:52 UTC (rev 291116)
@@ -4,7 +4,7 @@
 pkgname=go-tools
 epoch=2
 pkgver=1.8.r2071.5682db0e
-pkgrel=1
+pkgrel=2
 pkgdesc='Developer tools for the Go programming language'
 arch=(i686 x86_64)
 url='http://golang.org/'
@@ -18,9 +18,9 @@
 md5sums=('SKIP'
  'SKIP')
 
-_tools=(benchcmp callgraph cover digraph eg fiximports godex goimports gomvpkg
-gorename gotype goyacc guru heapview html2article present ssadump
-stress stringer)
+_tools=(benchcmp callgraph cover digraph eg fiximports godex godoc goimports
+gomvpkg gorename gotype goyacc guru heapview html2article present
+ssadump stress stringer)
 
 pkgver() {
   local _gover=1.8


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2017-03-20 Thread Bartłomiej Piotrowski
Date: Monday, March 20, 2017 @ 13:37:20
  Author: bpiotrowski
Revision: 291102

Remove tip and toolstash

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-20 13:14:33 UTC (rev 291101)
+++ PKGBUILD2017-03-20 13:37:20 UTC (rev 291102)
@@ -20,7 +20,7 @@
 
 _tools=(benchcmp callgraph cover digraph eg fiximports godex goimports gomvpkg
 gorename gotype goyacc guru heapview html2article present ssadump
-stress stringer tip toolstash)
+stress stringer)
 
 pkgver() {
   local _gover=1.8


[arch-commits] Commit in go-tools/trunk (PKGBUILD)

2017-03-20 Thread Bartłomiej Piotrowski
Date: Monday, March 20, 2017 @ 13:14:33
  Author: bpiotrowski
Revision: 291101

Add $id$ propset

Modified:
  go-tools/trunk/PKGBUILD

--+
 PKGBUILD |1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-20 13:13:16 UTC (rev 291100)
+++ PKGBUILD2017-03-20 13:14:33 UTC (rev 291101)
@@ -1,3 +1,4 @@
+# $Id$
 # Maintainer: Bartłomiej Piotrowski 
 
 pkgname=go-tools