pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Sep 11 08:15:43 UTC 2016

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/go-glog: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
New package, go-glog.

Package glog implements logging analogous to the Google-internal
C++ INFO/ERROR/V setup.  It provides functions Info, Warning,
Error, Fatal, plus formatting variants such as Infof. It
also provides V-style logging controlled by the -v and
-vmodule=file=2 flags.

This is an efficient pure Go implementation of leveled logs in the
manner of the open source C++ package
        https://github.com/google/glog
        (pkgsrc/devel/google-glog)

By binding methods to booleans it is possible to use the log package
without paying the expense of evaluating the arguments to the log.
Through the -vmodule flag, the package also provides fine-grained
control over logging at the file level.


To generate a diff of this commit:
cvs rdiff -u -r1.2306 -r1.2307 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-glog/DESCR \
    pkgsrc/devel/go-glog/Makefile pkgsrc/devel/go-glog/PLIST \
    pkgsrc/devel/go-glog/buildlink3.mk pkgsrc/devel/go-glog/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2306 pkgsrc/devel/Makefile:1.2307
--- pkgsrc/devel/Makefile:1.2306        Sun Sep 11 08:02:29 2016
+++ pkgsrc/devel/Makefile       Sun Sep 11 08:15:43 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2306 2016/09/11 08:02:29 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2307 2016/09/11 08:15:43 bsiegert Exp $
 #
 
 COMMENT=       Development utilities
@@ -296,6 +296,7 @@ SUBDIR+=    gnustep-objc
 SUBDIR+=       gnustep-objc-lf2
 SUBDIR+=       go-check
 SUBDIR+=       go-flags-svent
+SUBDIR+=       go-glog
 SUBDIR+=       go-gls
 SUBDIR+=       go-ini
 SUBDIR+=       go-mow-cli

Added files:

Index: pkgsrc/devel/go-glog/DESCR
diff -u /dev/null pkgsrc/devel/go-glog/DESCR:1.1
--- /dev/null   Sun Sep 11 08:15:43 2016
+++ pkgsrc/devel/go-glog/DESCR  Sun Sep 11 08:15:43 2016
@@ -0,0 +1,15 @@
+Package glog implements logging analogous to the Google-internal
+C++ INFO/ERROR/V setup.  It provides functions Info, Warning,
+Error, Fatal, plus formatting variants such as Infof. It
+also provides V-style logging controlled by the -v and
+-vmodule=file=2 flags.
+
+This is an efficient pure Go implementation of leveled logs in the
+manner of the open source C++ package
+       https://github.com/google/glog
+       (pkgsrc/devel/google-glog)
+
+By binding methods to booleans it is possible to use the log package
+without paying the expense of evaluating the arguments to the log.
+Through the -vmodule flag, the package also provides fine-grained
+control over logging at the file level.
Index: pkgsrc/devel/go-glog/Makefile
diff -u /dev/null pkgsrc/devel/go-glog/Makefile:1.1
--- /dev/null   Sun Sep 11 08:15:43 2016
+++ pkgsrc/devel/go-glog/Makefile       Sun Sep 11 08:15:43 2016
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/09/11 08:15:43 bsiegert Exp $
+#
+
+DISTNAME=              go-glog-20160125
+CATEGORIES=            devel
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=golang/}
+GITHUB_PROJECT=                glog
+GITHUB_TAG=            23def4e
+
+HOMEPAGE=              http://godoc.org/${GO_SRCPATH}
+COMMENT=               Leveled execution logs for Go
+LICENSE=               apache-2.0
+
+GO_SRCPATH=            github.com/golang/glog
+GO_DIST_BASE=          ${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-glog/PLIST
diff -u /dev/null pkgsrc/devel/go-glog/PLIST:1.1
--- /dev/null   Sun Sep 11 08:15:43 2016
+++ pkgsrc/devel/go-glog/PLIST  Sun Sep 11 08:15:43 2016
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/11 08:15:43 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/glog.a
+gopkg/src/github.com/golang/glog/LICENSE
+gopkg/src/github.com/golang/glog/README
+gopkg/src/github.com/golang/glog/glog.go
+gopkg/src/github.com/golang/glog/glog_file.go
+gopkg/src/github.com/golang/glog/glog_test.go
+@pkgdir bin
Index: pkgsrc/devel/go-glog/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-glog/buildlink3.mk:1.1
--- /dev/null   Sun Sep 11 08:15:43 2016
+++ pkgsrc/devel/go-glog/buildlink3.mk  Sun Sep 11 08:15:43 2016
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/09/11 08:15:43 bsiegert Exp $
+
+BUILDLINK_TREE+=       go-glog
+
+.if !defined(GO_GLOG_BUILDLINK3_MK)
+GO_GLOG_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-glog=     ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-glog?=          build
+
+BUILDLINK_API_DEPENDS.go-glog+=        go-glog>=20160125
+BUILDLINK_PKGSRCDIR.go-glog?=  ../../devel/go-glog
+.endif # GO_GLOG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-glog
Index: pkgsrc/devel/go-glog/distinfo
diff -u /dev/null pkgsrc/devel/go-glog/distinfo:1.1
--- /dev/null   Sun Sep 11 08:15:43 2016
+++ pkgsrc/devel/go-glog/distinfo       Sun Sep 11 08:15:43 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/11 08:15:43 bsiegert Exp $
+
+SHA1 (go-glog-20160125-23def4e.tar.gz) = f3d7dfc5ea4a87434aef3645e8d73a1a21a81453
+RMD160 (go-glog-20160125-23def4e.tar.gz) = fd08038c1dcab78c9470aaeaee873982bcdc69a5
+SHA512 (go-glog-20160125-23def4e.tar.gz) = e9e70cf2a2d74ca813d0cadc23d213a1112ca4d1167abb63d8e0929585fca90c3a5bab1f49db20095c48bf1fe03b4424353c33728d09a201334eb65770888dc5
+Size (go-glog-20160125-23def4e.tar.gz) = 19688 bytes



Home | Main Index | Thread Index | Old Index