pkgsrc-WIP-changes archive

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

Import go-context-20190109 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 18 14:29:39 2021 +0100
Changeset:	4a85134527d4388eceafd5709306a8cb877edf2d

Modified Files:
	Makefile
Added Files:
	go-context/DESCR
	go-context/Makefile
	go-context/PLIST
	go-context/distinfo

Log Message:
Import go-context-20190109 to wip

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

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

diffstat:
 Makefile            |  1 +
 go-context/DESCR    |  6 ++++++
 go-context/Makefile | 18 ++++++++++++++++++
 go-context/PLIST    |  7 +++++++
 go-context/distinfo |  6 ++++++
 5 files changed, 38 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index fccc60cdff..321f131162 100644
--- a/Makefile
+++ b/Makefile
@@ -1186,6 +1186,7 @@ SUBDIR+=	go-clir
 SUBDIR+=	go-collectd
 SUBDIR+=	go-color
 SUBDIR+=	go-config
+SUBDIR+=	go-context
 SUBDIR+=	go-copier
 SUBDIR+=	go-current
 SUBDIR+=	go-cyclo
diff --git a/go-context/DESCR b/go-context/DESCR
new file mode 100644
index 0000000000..ae931b2ca0
--- /dev/null
+++ b/go-context/DESCR
@@ -0,0 +1,6 @@
+Provides goroutine-based context state inspired by
+https://github.com/tylerb/gls and https://github.com/jtolds/gls.
+It uses the same basic hack as tylerb's library, but
+adds a stack abstraction that allows nested contexts
+similar to jtolds' library, but using Enter() and
+Exit() instead of callback functions
diff --git a/go-context/Makefile b/go-context/Makefile
new file mode 100644
index 0000000000..f38588cba1
--- /dev/null
+++ b/go-context/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-context-20190109
+GITHUB_PROJECT=	context
+GITHUB_TAG=	c447772
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=getlantern/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/getlantern/context
+COMMENT=	TODO: Short description of the package
+#LICENSE=	# TODO: (see mk/license.mk)
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}*
+GO_SRCPATH=	github.com/getlantern/context
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-context/PLIST b/go-context/PLIST
new file mode 100644
index 0000000000..0dc3f4a9b6
--- /dev/null
+++ b/go-context/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/getlantern/context.a
+gopkg/src/github.com/getlantern/context/LICENSE
+gopkg/src/github.com/getlantern/context/README.md
+gopkg/src/github.com/getlantern/context/context.go
+gopkg/src/github.com/getlantern/context/context_test.go
+gopkg/src/github.com/getlantern/context/gotrack.go
diff --git a/go-context/distinfo b/go-context/distinfo
new file mode 100644
index 0000000000..d16800d7aa
--- /dev/null
+++ b/go-context/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-context-20190109-c447772.tar.gz) = 619ce6eae6a39cb0da48a7f92f9361739fae606e
+RMD160 (go-context-20190109-c447772.tar.gz) = dfb7cd9fec82ba37e88e37a3b7b023df9d514efa
+SHA512 (go-context-20190109-c447772.tar.gz) = 1d604dd5de88d75302fb8760c8d6c4be5e5d39ea6612851a77289f6081eb879c7921863e028d31e50bb6ce4a05d1f0c302937f240b228114fe055726155f47c4
+Size (go-context-20190109-c447772.tar.gz) = 8538 bytes


Home | Main Index | Thread Index | Old Index