pkgsrc-WIP-changes archive

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

Initial version of go-log, git tag 61e686294e58a8698a9e1091268bb4ac1116bd5e.



Module Name:	pkgsrc-wip
Committed By:	Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By:	alnsn
Date:		Sun Aug 27 16:35:19 2017 +0100
Changeset:	d400b13426ea5e18783f26fca98901a40e76804d

Added Files:
	go-log/DESCR
	go-log/Makefile
	go-log/PLIST
	go-log/buildlink3.mk
	go-log/distinfo

Log Message:
Initial version of go-log, git tag 61e686294e58a8698a9e1091268bb4ac1116bd5e.

This repository contains logging packages for Go:

 * stdlog is the main package of this repository, it is a simple
   and fast logger to the standard output.
 * buflog and golog are customizable logging class which can be
   used as a standalone or as a building block for other loggers.
   stdlog is built upon them.
 * log just provides a common interface for logging libraries.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d400b13426ea5e18783f26fca98901a40e76804d

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

diffstat:
 go-log/DESCR         |  8 ++++++++
 go-log/Makefile      | 21 +++++++++++++++++++++
 go-log/PLIST         | 19 +++++++++++++++++++
 go-log/buildlink3.mk | 15 +++++++++++++++
 go-log/distinfo      |  6 ++++++
 5 files changed, 69 insertions(+)

diffs:
diff --git a/go-log/DESCR b/go-log/DESCR
new file mode 100644
index 0000000000..ea0fabbab9
--- /dev/null
+++ b/go-log/DESCR
@@ -0,0 +1,8 @@
+This repository contains logging packages for Go:
+
+ * stdlog is the main package of this repository, it is a simple
+   and fast logger to the standard output.
+ * buflog and golog are customizable logging class which can be
+   used as a standalone or as a building block for other loggers.
+   stdlog is built upon them.
+ * log just provides a common interface for logging libraries.
diff --git a/go-log/Makefile b/go-log/Makefile
new file mode 100644
index 0000000000..6bb17c1b3f
--- /dev/null
+++ b/go-log/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+# XXX 0.0.1 is a made-up release number, ask upstream to make a release.
+PKGNAME=	go-log-0.0.1
+GITHUB_TAG=	61e686294e58a8698a9e1091268bb4ac1116bd5e
+DISTNAME=	log-${GITHUB_TAG}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=alexcesaro/}
+GITHUB_PROJECT=	log
+
+MAINTAINER=	alnsn%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/alexcesaro/log
+COMMENT=	Logging packages for Go
+LICENSE=	mit
+
+WRKSRC=		${WRKDIR}
+GO_DIST_BASE=	log-${GITHUB_TAG}
+GO_SRCPATH=	github.com/alexcesaro/log
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-log/PLIST b/go-log/PLIST
new file mode 100644
index 0000000000..e84c3e337e
--- /dev/null
+++ b/go-log/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/alexcesaro/log.a
+gopkg/pkg/${GO_PLATFORM}/github.com/alexcesaro/log/buflog.a
+gopkg/pkg/${GO_PLATFORM}/github.com/alexcesaro/log/golog.a
+gopkg/pkg/${GO_PLATFORM}/github.com/alexcesaro/log/logtest.a
+gopkg/pkg/${GO_PLATFORM}/github.com/alexcesaro/log/stdlog.a
+gopkg/src/github.com/alexcesaro/log/LICENSE
+gopkg/src/github.com/alexcesaro/log/README.md
+gopkg/src/github.com/alexcesaro/log/buflog/buflog.go
+gopkg/src/github.com/alexcesaro/log/buflog/buflog_test.go
+gopkg/src/github.com/alexcesaro/log/golog/golog.go
+gopkg/src/github.com/alexcesaro/log/golog/golog_test.go
+gopkg/src/github.com/alexcesaro/log/log.go
+gopkg/src/github.com/alexcesaro/log/logtest/logtest.go
+gopkg/src/github.com/alexcesaro/log/null.go
+gopkg/src/github.com/alexcesaro/log/null_test.go
+gopkg/src/github.com/alexcesaro/log/stdlog/stdlog.go
+gopkg/src/github.com/alexcesaro/log/stdlog/stdlog_test.go
+@pkgdir bin
diff --git a/go-log/buildlink3.mk b/go-log/buildlink3.mk
new file mode 100644
index 0000000000..edf58bc74a
--- /dev/null
+++ b/go-log/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-log
+
+.if !defined(GO_LOG_BUILDLINK3_MK)
+GO_LOG_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-log=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-log?=		build
+
+BUILDLINK_API_DEPENDS.go-log+=	go-log>=0.0.1
+BUILDLINK_PKGSRCDIR.go-log?=	../../wip/go-log
+.endif	# GO_LOG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-log
diff --git a/go-log/distinfo b/go-log/distinfo
new file mode 100644
index 0000000000..bfd960e6ea
--- /dev/null
+++ b/go-log/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (log-61e686294e58a8698a9e1091268bb4ac1116bd5e-61e686294e58a8698a9e1091268bb4ac1116bd5e.tar.gz) = 75f4cd019490502226817b8264a6b38a5517649c
+RMD160 (log-61e686294e58a8698a9e1091268bb4ac1116bd5e-61e686294e58a8698a9e1091268bb4ac1116bd5e.tar.gz) = abb797e05870ecaa7c78195e9ecdca6177f0528e
+SHA512 (log-61e686294e58a8698a9e1091268bb4ac1116bd5e-61e686294e58a8698a9e1091268bb4ac1116bd5e.tar.gz) = 2dbdb03824f84f486adba16c321dacef892d8bcc642cffcbb2021d4972991f1ca99904bc955ef48eeb114d87390135ed48a379cf95feadf5d16d2d42d683fdae
+Size (log-61e686294e58a8698a9e1091268bb4ac1116bd5e-61e686294e58a8698a9e1091268bb4ac1116bd5e.tar.gz) = 8794 bytes


Home | Main Index | Thread Index | Old Index