pkgsrc-WIP-changes archive

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

Import go-errors-1.0.3 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Jan 8 22:22:30 2021 +0100
Changeset:	d5565322af11086a4943d32c5a610dd7b0a8d0f1

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

Log Message:
Import go-errors-1.0.3 to wip

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

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

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

diffs:
diff --git a/Makefile b/Makefile
index 2748da63ec..143fe182d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1184,6 +1184,7 @@ SUBDIR+=	go-color
 SUBDIR+=	go-cyclo
 SUBDIR+=	go-dotenv
 SUBDIR+=	go-easyjson
+SUBDIR+=	go-errors
 SUBDIR+=	go-flac-eaburns
 SUBDIR+=	go-flags
 SUBDIR+=	go-fsnotify
diff --git a/go-errorx/DESCR b/go-errorx/DESCR
new file mode 100644
index 0000000000..1b6c517423
--- /dev/null
+++ b/go-errorx/DESCR
@@ -0,0 +1 @@
+The errorx library provides error implementation and error-related utilities.
diff --git a/go-errorx/Makefile b/go-errorx/Makefile
new file mode 100644
index 0000000000..4be3e62be0
--- /dev/null
+++ b/go-errorx/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-errorx-1.0.3
+GITHUB_PROJECT=	errorx
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=joomcode/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/joomcode/errorx/
+COMMENT=	Comprehensive error handling library for Go
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/joomcode/errorx
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-errorx/PLIST b/go-errorx/PLIST
new file mode 100644
index 0000000000..3eaa429045
--- /dev/null
+++ b/go-errorx/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/joomcode/errorx.a
+gopkg/src/github.com/joomcode/errorx/LICENSE
+gopkg/src/github.com/joomcode/errorx/README.md
+gopkg/src/github.com/joomcode/errorx/benchmark/stacktrace_benchmark_test.go
+gopkg/src/github.com/joomcode/errorx/builder.go
+gopkg/src/github.com/joomcode/errorx/builder_test.go
+gopkg/src/github.com/joomcode/errorx/common.go
+gopkg/src/github.com/joomcode/errorx/error.go
+gopkg/src/github.com/joomcode/errorx/error_test.go
+gopkg/src/github.com/joomcode/errorx/example_test.go
+gopkg/src/github.com/joomcode/errorx/go.mod
+gopkg/src/github.com/joomcode/errorx/go.sum
+gopkg/src/github.com/joomcode/errorx/id.go
+gopkg/src/github.com/joomcode/errorx/modifier.go
+gopkg/src/github.com/joomcode/errorx/modifier_test.go
+gopkg/src/github.com/joomcode/errorx/namespace.go
+gopkg/src/github.com/joomcode/errorx/namespace_test.go
+gopkg/src/github.com/joomcode/errorx/panic.go
+gopkg/src/github.com/joomcode/errorx/panic_test.go
+gopkg/src/github.com/joomcode/errorx/property.go
+gopkg/src/github.com/joomcode/errorx/property_test.go
+gopkg/src/github.com/joomcode/errorx/readme.go
+gopkg/src/github.com/joomcode/errorx/registry.go
+gopkg/src/github.com/joomcode/errorx/registry_test.go
+gopkg/src/github.com/joomcode/errorx/stackframe.go
+gopkg/src/github.com/joomcode/errorx/stacktrace.go
+gopkg/src/github.com/joomcode/errorx/stacktrace_test.go
+gopkg/src/github.com/joomcode/errorx/switch.go
+gopkg/src/github.com/joomcode/errorx/switch_test.go
+gopkg/src/github.com/joomcode/errorx/trait.go
+gopkg/src/github.com/joomcode/errorx/trait_test.go
+gopkg/src/github.com/joomcode/errorx/type.go
+gopkg/src/github.com/joomcode/errorx/type_test.go
+gopkg/src/github.com/joomcode/errorx/utils.go
+gopkg/src/github.com/joomcode/errorx/utils_test.go
+gopkg/src/github.com/joomcode/errorx/wrap.go
+gopkg/src/github.com/joomcode/errorx/wrap_test.go
diff --git a/go-errorx/buildlink3.mk b/go-errorx/buildlink3.mk
new file mode 100644
index 0000000000..875634f36b
--- /dev/null
+++ b/go-errorx/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-errorx
+
+.if !defined(GO_ERRORX_BUILDLINK3_MK)
+GO_ERRORX_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-errorx=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-errorx?=		build
+
+BUILDLINK_API_DEPENDS.go-errorx+=	go-errorx>=1.0.3
+BUILDLINK_PKGSRCDIR.go-errorx?=		../../wip/go-errorx
+.endif	# GO_ERRORX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-errorx
diff --git a/go-errorx/distinfo b/go-errorx/distinfo
new file mode 100644
index 0000000000..2825faaa1b
--- /dev/null
+++ b/go-errorx/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-errorx-1.0.3.tar.gz) = fe5c5228e1ee549ee13ad778dcefa685d20a4c2d
+RMD160 (go-errorx-1.0.3.tar.gz) = 1ae243416102a263bf54d212a94b4cd1282b8fc6
+SHA512 (go-errorx-1.0.3.tar.gz) = 75aaa39517e1285cf4bc3669028e0577e3d26a64b81503f2ef37e53ae04eeb5084e611af08c11b581a83d03d76c7f9a2f22a2cacd2930358970f2a072971cf14
+Size (go-errorx-1.0.3.tar.gz) = 28506 bytes


Home | Main Index | Thread Index | Old Index