Date: Friday, March 1, 2019 @ 16:31:44
  Author: felixonmars
Revision: 437283

upgpkg: golang-deepin-lib 1.9.2-2

add some go depends

Modified:
  golang-deepin-lib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-03-01 15:49:42 UTC (rev 437282)
+++ PKGBUILD    2019-03-01 16:31:44 UTC (rev 437283)
@@ -2,12 +2,16 @@
 
 pkgname=golang-deepin-lib
 pkgver=1.9.2
-pkgrel=1
+pkgrel=2
 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=('go-pie' 'libpulse' 'gdk-pixbuf2' 'mobile-broadband-provider-info' 
'libx11')
+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')
@@ -19,8 +23,13 @@
   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
-  # go test -v $(go list ./...)
+  # 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() {

Reply via email to