pkgsrc-WIP-changes archive

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

Import go-stack-1.8.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sun Jan 10 10:11:14 2021 +0100
Changeset:	fb4417c54b87dad741632ce009b8c738fdf861e1

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

Log Message:
Import go-stack-1.8.0 to wip

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

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

diffstat:
 Makefile               |  1 +
 go-stack/DESCR         |  6 ++++++
 go-stack/Makefile      | 18 ++++++++++++++++++
 go-stack/PLIST         |  9 +++++++++
 go-stack/buildlink3.mk | 15 +++++++++++++++
 go-stack/distinfo      |  6 ++++++
 6 files changed, 55 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 281ad06215..b4bee87da3 100644
--- a/Makefile
+++ b/Makefile
@@ -1233,6 +1233,7 @@ SUBDIR+=	go-raymond
 SUBDIR+=	go-rest
 SUBDIR+=	go-resty
 SUBDIR+=	go-riff
+SUBDIR+=	go-stack
 SUBDIR+=	go-stripansi
 SUBDIR+=	go-structs
 SUBDIR+=	go-tiff
diff --git a/go-stack/DESCR b/go-stack/DESCR
new file mode 100644
index 0000000000..78e1475fbe
--- /dev/null
+++ b/go-stack/DESCR
@@ -0,0 +1,6 @@
+Package stack implements utilities to capture,
+manipulate, and format call stacks. It provides
+a simpler API than package runtime. The implementation
+takes care of the minutia and special cases of
+interpreting the program counter (pc) values
+returned by runtime.Callers.
diff --git a/go-stack/Makefile b/go-stack/Makefile
new file mode 100644
index 0000000000..92469a1730
--- /dev/null
+++ b/go-stack/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-stack-1.8.0
+GITHUB_PROJECT=	stack
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=go-stack/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/go-stack/stack/
+COMMENT=	Utilities to capture, manipulate, and format call stacks
+LICENSE=	mit
+
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=     github.com/go-gl/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-stack/PLIST b/go-stack/PLIST
new file mode 100644
index 0000000000..d1e388fccc
--- /dev/null
+++ b/go-stack/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/go-gl/stack.a
+gopkg/src/github.com/go-gl/stack/LICENSE.md
+gopkg/src/github.com/go-gl/stack/README.md
+gopkg/src/github.com/go-gl/stack/format_test.go
+gopkg/src/github.com/go-gl/stack/go.mod
+gopkg/src/github.com/go-gl/stack/stack-go19_test.go
+gopkg/src/github.com/go-gl/stack/stack.go
+gopkg/src/github.com/go-gl/stack/stack_test.go
diff --git a/go-stack/buildlink3.mk b/go-stack/buildlink3.mk
new file mode 100644
index 0000000000..c9840af42d
--- /dev/null
+++ b/go-stack/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-stack
+
+.if !defined(GO_STACK_BUILDLINK3_MK)
+GO_STACK_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-stack=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-stack?=		build
+
+BUILDLINK_API_DEPENDS.go-stack+=	go-stack>=1.8.0
+BUILDLINK_PKGSRCDIR.go-stack?=	../../wip/go-stack
+.endif	# GO_STACK_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-stack
diff --git a/go-stack/distinfo b/go-stack/distinfo
new file mode 100644
index 0000000000..ca5f618395
--- /dev/null
+++ b/go-stack/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-stack-1.8.0.tar.gz) = 1eb153ce8661591a97a9015cd1a45ba456f839ab
+RMD160 (go-stack-1.8.0.tar.gz) = 1f54b9238005aa80488a50094ee93be36a5b0f37
+SHA512 (go-stack-1.8.0.tar.gz) = e8f7ba32445ee083b92485f870891f224b976ff17871d6a6b5b24a1e4eabb3ae0b623812e6835ccedded2c2868804cbc05b9a2806f49e68a381062568b0cc872
+Size (go-stack-1.8.0.tar.gz) = 8039 bytes


Home | Main Index | Thread Index | Old Index