pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import go-mock-1.4.4 to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Tue Jan 19 09:27:34 2021 +0100
Changeset: 8e36e663b74ed88db79935fc09a9a0f31510e3c8
Modified Files:
Makefile
Added Files:
go-mock/DESCR
go-mock/Makefile
go-mock/PLIST
go-mock/buildlink3.mk
go-mock/distinfo
Log Message:
Import go-mock-1.4.4 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8e36e663b74ed88db79935fc09a9a0f31510e3c8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-mock/DESCR | 4 ++
go-mock/Makefile | 22 +++++++++
go-mock/PLIST | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++
go-mock/buildlink3.mk | 20 ++++++++
go-mock/distinfo | 6 +++
6 files changed, 179 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a041700e1d..c8156d0e29 100644
--- a/Makefile
+++ b/Makefile
@@ -1240,6 +1240,7 @@ SUBDIR+= go-memcache
SUBDIR+= go-mp3
SUBDIR+= go-mpb
SUBDIR+= go-maligned
+SUBDIR+= go-mock
SUBDIR+= go-notify
SUBDIR+= go-ole
SUBDIR+= go-opentracing
diff --git a/go-mock/DESCR b/go-mock/DESCR
new file mode 100644
index 0000000000..3e9ca356c6
--- /dev/null
+++ b/go-mock/DESCR
@@ -0,0 +1,4 @@
+GoMock is a mocking framework for the Go
+programming language. It integrates well
+with Go's built-in testing package, but
+can be used in other contexts too.
diff --git a/go-mock/Makefile b/go-mock/Makefile
new file mode 100644
index 0000000000..c66fc44b2a
--- /dev/null
+++ b/go-mock/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= go-mock-1.4.4
+GITHUB_PROJECT= mock
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/golang/mock
+COMMENT= GoMock is a mocking framework for the Go
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH= github.com/golang/mock
+
+.include "../../devel/go-mod/buildlink3.mk"
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../devel/go-xerrors/buildlink3.mk"
+.include "../../textproc/go-goldmark/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-mock/PLIST b/go-mock/PLIST
new file mode 100644
index 0000000000..0bec33bf47
--- /dev/null
+++ b/go-mock/PLIST
@@ -0,0 +1,126 @@
+@comment $NetBSD$
+bin/mockgen
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/gomock.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/gomock/internal/mock_gomock.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface/faux.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/copyright_file.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/custom_package_name/client/v1.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/custom_package_name/greeter.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/custom_package_name/validator.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/dot_imports.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/empty_interface.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/generated_identifier_conflict.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/import_source.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/import_source/definition.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/internal_pkg.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg/reflect_output.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg/source_output.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/mock_in_test_package.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/performance/big_interface.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/self_package.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/test_package.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/unexported_method.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/vendor_dep.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/vendor_dep/source_mock_package.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/internal/tests/vendor_pkg.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/mockgen/model.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/concurrent.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/concurrent/mock.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/imp1.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/imp2.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/imp3.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/imp4.a
+gopkg/pkg/${GO_PLATFORM}/github.com/golang/mock/sample/mock_user.a
+gopkg/src/github.com/golang/mock/AUTHORS
+gopkg/src/github.com/golang/mock/CONTRIBUTORS
+gopkg/src/github.com/golang/mock/LICENSE
+gopkg/src/github.com/golang/mock/README.md
+gopkg/src/github.com/golang/mock/ci/check_go_fmt.sh
+gopkg/src/github.com/golang/mock/ci/check_go_generate.sh
+gopkg/src/github.com/golang/mock/ci/check_go_lint.sh
+gopkg/src/github.com/golang/mock/ci/check_go_mod.sh
+gopkg/src/github.com/golang/mock/go.mod
+gopkg/src/github.com/golang/mock/go.sum
+gopkg/src/github.com/golang/mock/gomock/call.go
+gopkg/src/github.com/golang/mock/gomock/call_test.go
+gopkg/src/github.com/golang/mock/gomock/callset.go
+gopkg/src/github.com/golang/mock/gomock/callset_test.go
+gopkg/src/github.com/golang/mock/gomock/controller.go
+gopkg/src/github.com/golang/mock/gomock/controller_test.go
+gopkg/src/github.com/golang/mock/gomock/internal/mock_gomock/mock_matcher.go
+gopkg/src/github.com/golang/mock/gomock/matchers.go
+gopkg/src/github.com/golang/mock/gomock/matchers_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface/bugreport.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface/bugreport_mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface/bugreport_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/aux_imports_embedded_interface/faux/faux.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/copyright_file/input.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/copyright_file/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/copyright_file/mock_copyright_header
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/custom_package_name/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/custom_package_name/client/v1/client.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/custom_package_name/greeter/greeter.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/custom_package_name/greeter/greeter_mock_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/custom_package_name/greeter/greeter_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/custom_package_name/validator/validate.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/dot_imports/input.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/dot_imports/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/empty_interface/input.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/empty_interface/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/generated_identifier_conflict/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/generated_identifier_conflict/bugreport.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/generated_identifier_conflict/bugreport_mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/generated_identifier_conflict/bugreport_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/import_source/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/import_source/definition/source.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/import_source/definition/source_mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/import_source/source_mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/internal_pkg/generate.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg/input.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg/reflect_output/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/internal_pkg/subdir/internal/pkg/source_output/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/mock_in_test_package/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/mock_in_test_package/mock_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/mock_in_test_package/user.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/performance/big_interface/big_interface.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/self_package/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/self_package/types.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/test_package/foo.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/test_package/mock_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/test_package/user_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/unexported_method/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/unexported_method/bugreport.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/unexported_method/bugreport_mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/unexported_method/bugreport_test.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_dep/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_dep/doc.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_dep/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_dep/source_mock_package/mock.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_dep/vendor_dep.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_pkg/README.md
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_pkg/doc.go
+gopkg/src/github.com/golang/mock/mockgen/internal/tests/vendor_pkg/mock.go
+gopkg/src/github.com/golang/mock/mockgen/mockgen.go
+gopkg/src/github.com/golang/mock/mockgen/mockgen_test.go
+gopkg/src/github.com/golang/mock/mockgen/model/model.go
+gopkg/src/github.com/golang/mock/mockgen/model/model_test.go
+gopkg/src/github.com/golang/mock/mockgen/parse.go
+gopkg/src/github.com/golang/mock/mockgen/parse_test.go
+gopkg/src/github.com/golang/mock/mockgen/reflect.go
+gopkg/src/github.com/golang/mock/mockgen/version.1.11.go
+gopkg/src/github.com/golang/mock/mockgen/version.1.12.go
+gopkg/src/github.com/golang/mock/sample/README.md
+gopkg/src/github.com/golang/mock/sample/concurrent/concurrent.go
+gopkg/src/github.com/golang/mock/sample/concurrent/concurrent_test.go
+gopkg/src/github.com/golang/mock/sample/concurrent/mock/concurrent_mock.go
+gopkg/src/github.com/golang/mock/sample/imp1/imp1.go
+gopkg/src/github.com/golang/mock/sample/imp2/imp2.go
+gopkg/src/github.com/golang/mock/sample/imp3/imp3.go
+gopkg/src/github.com/golang/mock/sample/imp4/imp4.go
+gopkg/src/github.com/golang/mock/sample/mock_user/mock_user.go
+gopkg/src/github.com/golang/mock/sample/user.go
+gopkg/src/github.com/golang/mock/sample/user_test.go
diff --git a/go-mock/buildlink3.mk b/go-mock/buildlink3.mk
new file mode 100644
index 0000000000..b719a2ac1b
--- /dev/null
+++ b/go-mock/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-mock
+
+.if !defined(GO_MOCK_BUILDLINK3_MK)
+GO_MOCK_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mock= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mock?= build
+
+BUILDLINK_API_DEPENDS.go-mock+= go-mock>=1.4.4
+BUILDLINK_PKGSRCDIR.go-mock?= ../../wip/go-mock
+
+.include "../../devel/go-mod/buildlink3.mk"
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../devel/go-xerrors/buildlink3.mk"
+.include "../../textproc/go-goldmark/buildlink3.mk"
+.endif # GO_MOCK_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-mock
diff --git a/go-mock/distinfo b/go-mock/distinfo
new file mode 100644
index 0000000000..40ccb3a78a
--- /dev/null
+++ b/go-mock/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-mock-1.4.4.tar.gz) = 67fe928fe1c7d03046ed3091ee699225c3dd4174
+RMD160 (go-mock-1.4.4.tar.gz) = c499075a0230e4df7e5699d7801a6b5499d59bab
+SHA512 (go-mock-1.4.4.tar.gz) = 56714ce9248af73b7d60d2daf7ded492dede7d9c7c6283890da0c2e6bb4ab4b86289071e5f58759a9fb1c58d1334357bf3270ebf00857ce05e1c8265dfa4e9db
+Size (go-mock-1.4.4.tar.gz) = 55141 bytes
Home |
Main Index |
Thread Index |
Old Index