pkgsrc-WIP-changes archive

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

Add a package for go-xerrors.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sun Dec 22 14:31:54 2019 +0100
Changeset:	c3f8ec035b4205a9ca3049cc799cb11c3d61eb9b

Added Files:
	go-xerrors/DESCR
	go-xerrors/Makefile
	go-xerrors/PLIST
	go-xerrors/distinfo

Log Message:
Add a package for go-xerrors.

Go 1.13 contains new functions in the errors package for wrapping error
values. This package contains compatibility code to provide equivalent
APIs for older Go versions too.

This will be needed to make the current version of grafana compile with Go
1.13.

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

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

diffstat:
 go-xerrors/DESCR    |  3 +++
 go-xerrors/Makefile | 19 +++++++++++++++++++
 go-xerrors/PLIST    | 25 +++++++++++++++++++++++++
 go-xerrors/distinfo |  6 ++++++
 4 files changed, 53 insertions(+)

diffs:
diff --git a/go-xerrors/DESCR b/go-xerrors/DESCR
new file mode 100644
index 0000000000..58134b90ed
--- /dev/null
+++ b/go-xerrors/DESCR
@@ -0,0 +1,3 @@
+Go 1.13 contains new functions in the errors package for wrapping error
+values. This package contains compatibility code to provide equivalent
+APIs for older Go versions too.
diff --git a/go-xerrors/Makefile b/go-xerrors/Makefile
new file mode 100644
index 0000000000..f9c958482a
--- /dev/null
+++ b/go-xerrors/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2015/03/12 21:15:31 tnn2 Exp $
+#
+
+DISTNAME=		go-xerrors-20190719
+CATEGORIES=		devel
+MASTER_SITES=		${MASTER_SITE_GITHUB:=golang/}
+GITHUB_PROJECT=		xerrors
+GITHUB_TAG=		9bdfabe685
+
+MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=		https://golang.org/x/xerrors
+COMMENT=		Transition package for Go 1.13 error values
+LICENSE=		modified-bsd
+
+GO_SRCPATH=		golang.org/x/xerrors
+GO_DIST_BASE=		${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-xerrors/PLIST b/go-xerrors/PLIST
new file mode 100644
index 0000000000..3e95ca6a35
--- /dev/null
+++ b/go-xerrors/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/xerrors.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/xerrors/internal.a
+gopkg/src/golang.org/x/xerrors/LICENSE
+gopkg/src/golang.org/x/xerrors/PATENTS
+gopkg/src/golang.org/x/xerrors/README
+gopkg/src/golang.org/x/xerrors/adaptor.go
+gopkg/src/golang.org/x/xerrors/codereview.cfg
+gopkg/src/golang.org/x/xerrors/doc.go
+gopkg/src/golang.org/x/xerrors/errors.go
+gopkg/src/golang.org/x/xerrors/errors_test.go
+gopkg/src/golang.org/x/xerrors/example_As_test.go
+gopkg/src/golang.org/x/xerrors/example_FormatError_test.go
+gopkg/src/golang.org/x/xerrors/example_test.go
+gopkg/src/golang.org/x/xerrors/fmt.go
+gopkg/src/golang.org/x/xerrors/fmt_test.go
+gopkg/src/golang.org/x/xerrors/fmt_unexported_test.go
+gopkg/src/golang.org/x/xerrors/format.go
+gopkg/src/golang.org/x/xerrors/frame.go
+gopkg/src/golang.org/x/xerrors/go.mod
+gopkg/src/golang.org/x/xerrors/internal/internal.go
+gopkg/src/golang.org/x/xerrors/stack_test.go
+gopkg/src/golang.org/x/xerrors/wrap.go
+gopkg/src/golang.org/x/xerrors/wrap_113_test.go
+gopkg/src/golang.org/x/xerrors/wrap_test.go
diff --git a/go-xerrors/distinfo b/go-xerrors/distinfo
new file mode 100644
index 0000000000..1c74eb4962
--- /dev/null
+++ b/go-xerrors/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-xerrors-20190719-9bdfabe685.tar.gz) = 1fc793c05d63019a565f75d9ca8c1c40f70ec987
+RMD160 (go-xerrors-20190719-9bdfabe685.tar.gz) = e3aa1982f3557027fe0b99cbdbdec1d50480a5c4
+SHA512 (go-xerrors-20190719-9bdfabe685.tar.gz) = 9f6f524feda6c6fcf56c0a2347362a245d7a6f7f430826d2ccf56c521f6db6c913d8788f7894866dd6667c9ed65b5a6c35176e5952f8687f71cd7c7b179083f9
+Size (go-xerrors-20190719-9bdfabe685.tar.gz) = 13661 bytes


Home | Main Index | Thread Index | Old Index