[arch-commits] Commit in golang-deepin-lib/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 9 09:24:50 UTC 2019


    Date: Tuesday, April 9, 2019 @ 09:24:49
  Author: felixonmars
Revision: 450513

archrelease: copy trunk to community-any

Added:
  golang-deepin-lib/repos/community-any/PKGBUILD
    (from rev 450512, golang-deepin-lib/trunk/PKGBUILD)
Deleted:
  golang-deepin-lib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-09 09:24:35 UTC (rev 450512)
+++ PKGBUILD	2019-04-09 09:24:49 UTC (rev 450513)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-deepin-lib
-pkgver=1.10.1
-pkgrel=1
-pkgdesc='A library containing many useful go routines for things such as glib, gettext, archive, graphic,etc.'
-arch=('any')
-url="https://github.com/linuxdeepin/go-lib"
-license=('GPL3')
-depends=('dbus' 'go-pie' 'libpulse' 'gdk-pixbuf2' 'mobile-broadband-provider-info' 'libx11'
-         'golang-gopkg-alecthomas-kingpin.v2' 'golang-deepin-gir'
-         'golang-github-linuxdeepin-go-x11-client' 'golang-golang-x-net' 'golang-golang-x-image')
-         # 'golang-github-cryptix-wav' not packaged yet, paused until our go packaging standards formed
-checkdepends=('iso-codes' 'git') # git needed only for go get
-replaces=('deepin-go-lib')
-conflicts=('deepin-go-lib')
-provides=('deepin-go-lib')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$pkgver.tar.gz")
-sha512sums=('673b4febbe853aff55a4e796d72cdfd41afc5f9ff6f8e65340afc235f198bf98655d7735f80a6146c71ada30f37e00547b0d48bff4f2afdf81fb3c2992a887f0')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/pkg.deepin.io
-  cp -a "$srcdir"/go-lib-$pkgver "$srcdir"/build/src/pkg.deepin.io/lib
-  cd "$srcdir"/build/src/pkg.deepin.io/lib
-  # TODO: make packages for them
-  go get github.com/cryptix/wav github.com/smartystreets/goconvey/convey 
-  # TODO: figure out why pulse tests hang
-  # passwd: test needs to access /etc/passwd
-  # group & timer & log & dbus: build failed
-  # shell: TestEncode failed
-  go test -v $(go list ./... | grep -v -e lib/pulse -e lib/users/passwd -e lib/users/group -e lib/timer -e lib/log -e lib/dbus -e lib/shell)
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
-  cp -a "$srcdir"/go-lib-$pkgver "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib
-
-  rm -r "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib/debian
-}

Copied: golang-deepin-lib/repos/community-any/PKGBUILD (from rev 450512, golang-deepin-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-09 09:24:49 UTC (rev 450513)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-deepin-lib
+pkgver=1.10.2
+pkgrel=1
+pkgdesc='A library containing many useful go routines for things such as glib, gettext, archive, graphic,etc.'
+arch=('any')
+url="https://github.com/linuxdeepin/go-lib"
+license=('GPL3')
+depends=('dbus' 'go-pie' 'libpulse' 'gdk-pixbuf2' 'mobile-broadband-provider-info' 'libx11'
+         'golang-gopkg-alecthomas-kingpin.v2' 'golang-deepin-gir'
+         'golang-github-linuxdeepin-go-x11-client' 'golang-golang-x-net' 'golang-golang-x-image')
+         # 'golang-github-cryptix-wav' not packaged yet, paused until our go packaging standards formed
+checkdepends=('iso-codes' 'git') # git needed only for go get
+replaces=('deepin-go-lib')
+conflicts=('deepin-go-lib')
+provides=('deepin-go-lib')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$pkgver.tar.gz")
+sha512sums=('a69f28ccfb183c708fe5cfa1f93e2e8ca6d805176a8e0d85b3b97b99b6b4ae888d2a18d2449a559756e57912361318fa15b01dbda1e43590b22f4100e3b41770')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/pkg.deepin.io
+  cp -a "$srcdir"/go-lib-$pkgver "$srcdir"/build/src/pkg.deepin.io/lib
+  cd "$srcdir"/build/src/pkg.deepin.io/lib
+  # TODO: make packages for them
+  go get github.com/cryptix/wav github.com/smartystreets/goconvey/convey 
+  # TODO: figure out why pulse tests hang
+  # passwd: test needs to access /etc/passwd
+  # group & timer & log & dbus: build failed
+  # shell: TestEncode failed
+  go test -v $(go list ./... | grep -v -e lib/pulse -e lib/users/passwd -e lib/users/group -e lib/timer -e lib/log -e lib/dbus -e lib/shell)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
+  cp -a "$srcdir"/go-lib-$pkgver "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib
+
+  rm -r "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib/debian
+}



More information about the arch-commits mailing list