pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add a package for go-xerrors (golang.org/x/xerro...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc2d171205d0
branches: trunk
changeset: 420248:fc2d171205d0
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Wed Jan 01 17:42:11 2020 +0000
description:
Add a package for go-xerrors (golang.org/x/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.
diffstat:
devel/Makefile | 3 ++-
devel/go-xerrors/DESCR | 3 +++
devel/go-xerrors/Makefile | 19 +++++++++++++++++++
devel/go-xerrors/PLIST | 25 +++++++++++++++++++++++++
devel/go-xerrors/buildlink3.mk | 15 +++++++++++++++
devel/go-xerrors/distinfo | 6 ++++++
6 files changed, 70 insertions(+), 1 deletions(-)
diffs (105 lines):
diff -r 26ae90c894fa -r fc2d171205d0 devel/Makefile
--- a/devel/Makefile Wed Jan 01 16:38:20 2020 +0000
+++ b/devel/Makefile Wed Jan 01 17:42:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2969 2020/01/01 05:03:44 pho Exp $
+# $NetBSD: Makefile,v 1.2970 2020/01/01 17:42:11 bsiegert Exp $
#
COMMENT= Development utilities
@@ -440,6 +440,7 @@
SUBDIR+= go-tools
SUBDIR+= go-try
SUBDIR+= go-viper
+SUBDIR+= go-xerrors
SUBDIR+= go-yaml
SUBDIR+= gob2
SUBDIR+= gobject-introspection
diff -r 26ae90c894fa -r fc2d171205d0 devel/go-xerrors/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-xerrors/DESCR Wed Jan 01 17:42:11 2020 +0000
@@ -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 -r 26ae90c894fa -r fc2d171205d0 devel/go-xerrors/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-xerrors/Makefile Wed Jan 01 17:42:11 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/01/01 17:42:12 bsiegert 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 -r 26ae90c894fa -r fc2d171205d0 devel/go-xerrors/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-xerrors/PLIST Wed Jan 01 17:42:11 2020 +0000
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/01 17:42:12 bsiegert Exp $
+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 -r 26ae90c894fa -r fc2d171205d0 devel/go-xerrors/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-xerrors/buildlink3.mk Wed Jan 01 17:42:11 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/01 17:42:12 bsiegert Exp $
+
+BUILDLINK_TREE+= go-xerrors
+
+.if !defined(GO_XERRORS_BUILDLINK3_MK)
+GO_XERRORS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-xerrors= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-xerrors?= build
+
+BUILDLINK_API_DEPENDS.go-xerrors+= go-xerrors>=20190719
+BUILDLINK_PKGSRCDIR.go-xerrors?= ../../wip/go-xerrors
+.endif # GO_XERRORS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-xerrors
diff -r 26ae90c894fa -r fc2d171205d0 devel/go-xerrors/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-xerrors/distinfo Wed Jan 01 17:42:11 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/01 17:42:12 bsiegert Exp $
+
+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