wip/go-spew: import go-spew-1.1.1

Go-spew implements a deep pretty printer for Go data structures
to aid in debugging.
This commit is contained in:
ng0 2019-06-01 10:17:10 +00:00
parent 9f78867e4d
commit d39d31db41
5 changed files with 66 additions and 0 deletions

2
go-spew/DESCR Normal file
View File

@ -0,0 +1,2 @@
Go-spew implements a deep pretty printer for Go data structures
to aid in debugging.

19
go-spew/Makefile Normal file
View File

@ -0,0 +1,19 @@
# $NetBSD$
DISTNAME= go-spew-${GITHUB_TAG}
PKGNAME= go-spew-1.1.1
GITHUB_PROJECT= go-spew
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=davecgh/}
GITHUB_TAG= 8991bc29aa16c548c550c7ff78260e27b9ab7c73
MAINTAINER= ng0@n0.is
HOMEPAGE= https://github.com/davecgh/go-spew
COMMENT= Deep pretty printer for Go data structures
LICENSE= isc
GO_SRCPATH= github.com/davecgh/go-spew
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

24
go-spew/PLIST Normal file
View File

@ -0,0 +1,24 @@
@comment $NetBSD$
gopkg/pkg/${GO_PLATFORM}/github.com/davecgh/go-spew/spew.a
gopkg/src/github.com/davecgh/go-spew/LICENSE
gopkg/src/github.com/davecgh/go-spew/README.md
gopkg/src/github.com/davecgh/go-spew/cov_report.sh
gopkg/src/github.com/davecgh/go-spew/spew/bypass.go
gopkg/src/github.com/davecgh/go-spew/spew/bypasssafe.go
gopkg/src/github.com/davecgh/go-spew/spew/common.go
gopkg/src/github.com/davecgh/go-spew/spew/common_test.go
gopkg/src/github.com/davecgh/go-spew/spew/config.go
gopkg/src/github.com/davecgh/go-spew/spew/doc.go
gopkg/src/github.com/davecgh/go-spew/spew/dump.go
gopkg/src/github.com/davecgh/go-spew/spew/dump_test.go
gopkg/src/github.com/davecgh/go-spew/spew/dumpcgo_test.go
gopkg/src/github.com/davecgh/go-spew/spew/dumpnocgo_test.go
gopkg/src/github.com/davecgh/go-spew/spew/example_test.go
gopkg/src/github.com/davecgh/go-spew/spew/format.go
gopkg/src/github.com/davecgh/go-spew/spew/format_test.go
gopkg/src/github.com/davecgh/go-spew/spew/internal_test.go
gopkg/src/github.com/davecgh/go-spew/spew/internalunsafe_test.go
gopkg/src/github.com/davecgh/go-spew/spew/spew.go
gopkg/src/github.com/davecgh/go-spew/spew/spew_test.go
gopkg/src/github.com/davecgh/go-spew/spew/testdata/dumpcgo.go
gopkg/src/github.com/davecgh/go-spew/test_coverage.txt

15
go-spew/buildlink3.mk Normal file
View File

@ -0,0 +1,15 @@
# $NetBSD$
BUILDLINK_TREE+= go-spew
.if !defined(GO_SPEW_BUILDLINK3_MK)
GO_SPEW_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-spew= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-spew?= build
BUILDLINK_API_DEPENDS.go-spew+= go-spew>=1.1.1
BUILDLINK_PKGSRCDIR.go-spew?= ../../wip/go-spew
.endif # GO_SPEW_BUILDLINK3_MK
BUILDLINK_TREE+= -go-spew

6
go-spew/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (go-spew-8991bc29aa16c548c550c7ff78260e27b9ab7c73-8991bc29aa16c548c550c7ff78260e27b9ab7c73.tar.gz) = 7ad90568b2d6bf8a486ca77b313245e35235e355
RMD160 (go-spew-8991bc29aa16c548c550c7ff78260e27b9ab7c73-8991bc29aa16c548c550c7ff78260e27b9ab7c73.tar.gz) = ee254016edb46d734f3f4bb05c76cbcdd0bf7191
SHA512 (go-spew-8991bc29aa16c548c550c7ff78260e27b9ab7c73-8991bc29aa16c548c550c7ff78260e27b9ab7c73.tar.gz) = 4c4047bc9a8cbb27973c7b11779388458dd9cca5937e8b65e19ea513cbc7bfe8e97f538fcc132c7512aaebef44429f531a15b367b027d731db5762b7f4a210b9
Size (go-spew-8991bc29aa16c548c550c7ff78260e27b9ab7c73-8991bc29aa16c548c550c7ff78260e27b9ab7c73.tar.gz) = 42217 bytes