go-cmp: remove
deprecated go-package; no users in pkgsrc
This commit is contained in:
parent
1a1c313174
commit
52e15f07b0
6 changed files with 1 additions and 125 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3463 2021/07/16 06:21:20 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.3464 2021/07/16 06:26:42 nia Exp $
|
||||
#
|
||||
|
||||
COMMENT= Development utilities
|
||||
|
@ -410,7 +410,6 @@ SUBDIR+= gnustep-objc
|
|||
SUBDIR+= gnustep-objc-lf2
|
||||
SUBDIR+= go-blackfriday
|
||||
SUBDIR+= go-check
|
||||
SUBDIR+= go-cmp
|
||||
SUBDIR+= go-colorable
|
||||
SUBDIR+= go-colortext
|
||||
SUBDIR+= go-ed25519
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
go-cmp is a package for equality of Go values.
|
||||
|
||||
This package is intended to be a more powerful and safer alternative
|
||||
to reflect.DeepEqual for comparing whether two values are semantically
|
||||
equal.
|
||||
|
||||
The primary features of cmp are:
|
||||
|
||||
- When the default behavior of equality does not suit the needs of the
|
||||
test, custom equality functions can override the equality
|
||||
operation. For example, an equality function may report floats as
|
||||
equal so long as they are within some tolerance of each other.
|
||||
|
||||
- Types that have an Equal method may use that method to determine
|
||||
equality. This allows package authors to determine the equality
|
||||
operation for the types that they define.
|
||||
|
||||
- If no custom equality functions are used and no Equal method is
|
||||
defined, equality is determined by recursively comparing the
|
||||
primitive kinds on both values, much like reflect.DeepEqual. Unlike
|
||||
reflect.DeepEqual, unexported fields are not compared by default;
|
||||
they result in panics unless suppressed by using an Ignore option
|
||||
(see cmpopts.IgnoreUnexported) or explicitly compared using the
|
||||
AllowUnexported option.
|
|
@ -1,20 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.13 2021/07/13 11:36:39 bsiegert Exp $
|
||||
|
||||
DISTNAME= go-cmp-0.4.0
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
|
||||
PKGREVISION= 12
|
||||
CATEGORIES= devel
|
||||
GITHUB_PROJECT= go-cmp
|
||||
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/google/go-cmp
|
||||
COMMENT= Package for comparing Go values in tests
|
||||
LICENSE= modified-bsd
|
||||
|
||||
GO_DIST_BASE= ${DISTNAME}
|
||||
GO_SRCPATH= github.com/google/go-cmp
|
||||
|
||||
.include "../../devel/go-xerrors/buildlink3.mk"
|
||||
.include "../../lang/go/go-package.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -1,56 +0,0 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2020/04/27 17:15:22 nikita Exp $
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/cmpopts.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/internal/diff.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/internal/flags.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/internal/function.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/internal/testprotos.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/internal/teststructs.a
|
||||
gopkg/pkg/${GO_PLATFORM}/github.com/google/go-cmp/cmp/internal/value.a
|
||||
gopkg/src/github.com/google/go-cmp/CONTRIBUTING.md
|
||||
gopkg/src/github.com/google/go-cmp/LICENSE
|
||||
gopkg/src/github.com/google/go-cmp/README.md
|
||||
gopkg/src/github.com/google/go-cmp/cmp/cmpopts/equate.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/cmpopts/ignore.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/cmpopts/sort.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/cmpopts/struct_filter.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/cmpopts/util_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/cmpopts/xform.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/compare.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/compare_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/example_reporter_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/example_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/export_panic.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/export_unsafe.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/diff/debug_enable.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/diff/diff.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/diff/diff_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/flags/flags.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/function/func.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/function/func_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/testprotos/protos.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/teststructs/project1.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/teststructs/project2.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/teststructs/project3.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/teststructs/project4.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/teststructs/structs.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/value/pointer_purego.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/value/pointer_unsafe.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/value/sort.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/value/sort_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/value/zero.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/internal/value/zero_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/options.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/options_test.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/path.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/report.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/report_compare.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/report_reflect.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/report_slices.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/report_text.go
|
||||
gopkg/src/github.com/google/go-cmp/cmp/report_value.go
|
||||
gopkg/src/github.com/google/go-cmp/go.mod
|
||||
gopkg/src/github.com/google/go-cmp/go.sum
|
|
@ -1,17 +0,0 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.2 2020/06/24 22:31:49 nikita Exp $
|
||||
|
||||
BUILDLINK_TREE+= go-cmp
|
||||
|
||||
.if !defined(GO_CMP_BUILDLINK3_MK)
|
||||
GO_CMP_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_CONTENTS_FILTER.go-cmp= ${EGREP} gopkg/
|
||||
BUILDLINK_DEPMETHOD.go-cmp?= build
|
||||
|
||||
BUILDLINK_API_DEPENDS.go-cmp+= go-cmp>=0.4.0
|
||||
BUILDLINK_PKGSRCDIR.go-cmp?= ../../devel/go-cmp
|
||||
|
||||
.include "../../devel/go-xerrors/buildlink3.mk"
|
||||
.endif # GO_CMP_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -go-cmp
|
|
@ -1,6 +0,0 @@
|
|||
$NetBSD: distinfo,v 1.1 2020/04/27 17:15:22 nikita Exp $
|
||||
|
||||
SHA1 (go-cmp-0.4.0.tar.gz) = 9a75761c56d72ff0a50eccaa014f315811796a13
|
||||
RMD160 (go-cmp-0.4.0.tar.gz) = dbb7e95152e5bb674920901352bebe0ae0bdcd68
|
||||
SHA512 (go-cmp-0.4.0.tar.gz) = f848f5509189e14019eea56abde0e1fdf64a0de666b56270cfbd8832a656376273e3b71be556e0b637f69304c5b7099f1af4e069d6e025961dbafecf969e90ab
|
||||
Size (go-cmp-0.4.0.tar.gz) = 81600 bytes
|
Loading…
Reference in a new issue