pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-jwalterweatherman



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 01:31:19 UTC 2017

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

Log Message:
Add go-jwalterweatherman package


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

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

Added files:

Index: pkgsrc/devel/go-jwalterweatherman/DESCR
diff -u /dev/null pkgsrc/devel/go-jwalterweatherman/DESCR:1.1
--- /dev/null   Thu Aug 17 01:31:19 2017
+++ pkgsrc/devel/go-jwalterweatherman/DESCR     Thu Aug 17 01:31:19 2017
@@ -0,0 +1,19 @@
+jWalterWeatherman
+
+Seamless printing to the terminal (stdout) and logging to a io.Writer (file) that’s as easy to use as fmt.Println.
+
+JWW is primarily a wrapper around the excellent standard log library. It provides a few advantages over using the standard log library alone.
+
+1. Ready to go out of the box.
+2. One library for both printing to the terminal and logging (to files).
+3. Really easy to log to either a temp file or a file you specify.
+
+I really wanted a very straightforward library that could seamlessly do the following things.
+
+1. Replace all the println, printf, etc statements thought my code with something more useful
+2. Allow the user to easily control what levels are printed to stdout
+3. Allow the user to easily control what levels are logged
+4. Provide an easy mechanism (like fmt.Println) to print info to the user which can be easily logged as well
+5. Due to 2 & 3 provide easy verbose mode for output and logs
+6. Not have any unnecessary initialization cruft. Just use it.
+
Index: pkgsrc/devel/go-jwalterweatherman/Makefile
diff -u /dev/null pkgsrc/devel/go-jwalterweatherman/Makefile:1.1
--- /dev/null   Thu Aug 17 01:31:19 2017
+++ pkgsrc/devel/go-jwalterweatherman/Makefile  Thu Aug 17 01:31:19 2017
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:31:19 gavan Exp $
+
+DISTNAME=      jWalterWeatherman-20170523
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=spf13/}
+CATEGORIES=    devel
+GITHUB_TAG=    0efa5202c04663c757d84f90f5219c1250baf94f
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/spf13/jwalterweatherman
+COMMENT=       Seamless printing to the terminal (stdout) and logging to a io.Writer (file)
+LICENSE=       mit
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/spf13/jwalterweatherman
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
Index: pkgsrc/devel/go-jwalterweatherman/PLIST
diff -u /dev/null pkgsrc/devel/go-jwalterweatherman/PLIST:1.1
--- /dev/null   Thu Aug 17 01:31:19 2017
+++ pkgsrc/devel/go-jwalterweatherman/PLIST     Thu Aug 17 01:31:19 2017
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:31:19 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/jwalterweatherman.a
+gopkg/src/github.com/spf13/jwalterweatherman/LICENSE
+gopkg/src/github.com/spf13/jwalterweatherman/README.md
+gopkg/src/github.com/spf13/jwalterweatherman/default_notepad.go
+gopkg/src/github.com/spf13/jwalterweatherman/default_notepad_test.go
+gopkg/src/github.com/spf13/jwalterweatherman/log_counter.go
+gopkg/src/github.com/spf13/jwalterweatherman/notepad.go
+gopkg/src/github.com/spf13/jwalterweatherman/notepad_test.go
+@pkgdir bin
Index: pkgsrc/devel/go-jwalterweatherman/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-jwalterweatherman/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 01:31:19 2017
+++ pkgsrc/devel/go-jwalterweatherman/buildlink3.mk     Thu Aug 17 01:31:19 2017
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:31:19 gavan Exp $
+
+BUILDLINK_TREE+=       go-jwalterweatherman
+
+.if !defined(GO_JWALTERWEATHERMAN_BUILDLINK3_MK)
+GO_JWALTERWEATHERMAN_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-jwalterweatherman=        ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-jwalterweatherman?=             build
+
+BUILDLINK_API_DEPENDS.go-jwalterweatherman+=           go-jWalterWeatherman>=20170523
+BUILDLINK_PKGSRCDIR.go-jwalterweatherman?=             ../../devel/go-jwalterweatherman
+
+.endif  # GO_JWALTERWEATHERMAN_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-jwalterweatherman
+
Index: pkgsrc/devel/go-jwalterweatherman/distinfo
diff -u /dev/null pkgsrc/devel/go-jwalterweatherman/distinfo:1.1
--- /dev/null   Thu Aug 17 01:31:19 2017
+++ pkgsrc/devel/go-jwalterweatherman/distinfo  Thu Aug 17 01:31:19 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:31:19 gavan Exp $
+
+SHA1 (jWalterWeatherman-20170523-0efa5202c04663c757d84f90f5219c1250baf94f.tar.gz) = f6155eb5e800326dd05e22a0911d4b9724356ac8
+RMD160 (jWalterWeatherman-20170523-0efa5202c04663c757d84f90f5219c1250baf94f.tar.gz) = 4dbb1882a2f1315831d9d76ee8842d001bf3eb8a
+SHA512 (jWalterWeatherman-20170523-0efa5202c04663c757d84f90f5219c1250baf94f.tar.gz) = 
e994187443d8c4f05e9864a9c6db52847f3459d4afb1b094bfd9ab6d9d374856028319f7b8a99e2483242a2decc6432e8fd85cb567b4f6dc76dc700900eb5ca1
+Size (jWalterWeatherman-20170523-0efa5202c04663c757d84f90f5219c1250baf94f.tar.gz) = 6340 bytes



Home | Main Index | Thread Index | Old Index