[arch-commits] Commit in golang-golang-x-net/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 2 09:29:39 UTC 2019


    Date: Tuesday, April 2, 2019 @ 09:29:38
  Author: felixonmars
Revision: 447457

archrelease: copy trunk to community-any

Added:
  golang-golang-x-net/repos/community-any/PKGBUILD
    (from rev 447456, golang-golang-x-net/trunk/PKGBUILD)
Deleted:
  golang-golang-x-net/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   58 ++++++++++++++++++++++++++++------------------------------
 1 file changed, 28 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 09:29:20 UTC (rev 447456)
+++ PKGBUILD	2019-04-02 09:29:38 UTC (rev 447457)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-golang-x-net
-pkgver=0.0.20190211
-_commit=3a22650c66bd7f4fb6d1e8072ffd7b75c8a27898
-pkgrel=1
-pkgdesc='Supplementary Go networking libraries'
-arch=('any')
-url="https://github.com/golang/net"
-license=('BSD')
-depends=('go-pie' 'golang-golang-x-text')
-source=("$pkgname-$_commit.tar.gz::https://github.com/golang/net/archive/$_commit.tar.gz")
-sha512sums=('4a8b5aaafd122fe55ed3bab8cf23a2334443f0ba788f5b7b98340ffbc672721ec593008a80857867a17f1bf87cafcbed0326de5a5a75654c2b2b971af7787589')
-
-check() {
-  # Tests need permission to send icmp packets
-
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/golang.org/x
-  cp -a "$srcdir"/net-$_commit "$srcdir"/build/src/golang.org/x/net
-  cd "$srcdir"/build/src/golang.org/x/net
-  go test -v $(go list ./... | grep -v vendor) || warning "Tests failed"
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/golang.org/x
-  cp -a "$srcdir"/net-$_commit "$pkgdir"/usr/share/gocode/src/golang.org/x/net
-
-  install -Dm644 net-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: golang-golang-x-net/repos/community-any/PKGBUILD (from rev 447456, golang-golang-x-net/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 09:29:38 UTC (rev 447457)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-golang-x-net
+pkgver=0.0.20190326
+_commit=74de082e2cca95839e88aa0aeee5aadf6ce7710f
+pkgrel=1
+pkgdesc='Supplementary Go networking libraries'
+arch=('any')
+url="https://github.com/golang/net"
+license=('BSD')
+depends=('go-pie' 'golang-golang-x-crypto' 'golang-golang-x-text')
+source=("$pkgname-$_commit.tar.gz::https://github.com/golang/net/archive/$_commit.tar.gz")
+sha512sums=('afd0169a4de53a36ed87c4510e4bf02147bc10b2fb3de22b3608a05feb72b571e8a560ea1ce4b3953385b6627ba012e5da54dc8c264194e01ea9d83745c5e9da')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/golang.org/x
+  cp -a "$srcdir"/net-$_commit "$srcdir"/build/src/golang.org/x/net
+  cd "$srcdir"/build/src/golang.org/x/net
+  go test -v $(go list ./...)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/golang.org/x
+  cp -a "$srcdir"/net-$_commit "$pkgdir"/usr/share/gocode/src/golang.org/x/net
+
+  install -Dm644 net-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list