pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel New package, go-testify.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d676fa0f288
branches:  trunk
changeset: 349843:6d676fa0f288
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Jul 16 13:21:41 2016 +0000

description:
New package, go-testify.

Go code (golang) set of packages that provide many tools for testifying that
your code will behave as you intend.

Features include:

- Easy assertions
- Mocking
- HTTP response trapping
- Testing suite interfaces and functions

diffstat:

 devel/Makefile                 |   3 +-
 devel/go-testify/DESCR         |   9 ++++
 devel/go-testify/Makefile      |  19 ++++++++++
 devel/go-testify/PLIST         |  76 ++++++++++++++++++++++++++++++++++++++++++
 devel/go-testify/buildlink3.mk |  15 ++++++++
 devel/go-testify/distinfo      |   6 +++
 6 files changed, 127 insertions(+), 1 deletions(-)

diffs (162 lines):

diff -r 54899d66d202 -r 6d676fa0f288 devel/Makefile
--- a/devel/Makefile    Sat Jul 16 13:03:42 2016 +0000
+++ b/devel/Makefile    Sat Jul 16 13:21:41 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2284 2016/07/16 13:03:42 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2285 2016/07/16 13:21:41 bsiegert Exp $
 #
 
 COMMENT=       Development utilities
@@ -298,6 +298,7 @@
 SUBDIR+=       go-nbreader
 SUBDIR+=       go-ratelimit
 SUBDIR+=       go-review
+SUBDIR+=       go-testify
 SUBDIR+=       go-tools
 SUBDIR+=       gob2
 SUBDIR+=       gobject-introspection
diff -r 54899d66d202 -r 6d676fa0f288 devel/go-testify/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-testify/DESCR    Sat Jul 16 13:21:41 2016 +0000
@@ -0,0 +1,9 @@
+Go code (golang) set of packages that provide many tools for testifying that
+your code will behave as you intend.
+
+Features include:
+
+- Easy assertions
+- Mocking
+- HTTP response trapping
+- Testing suite interfaces and functions
diff -r 54899d66d202 -r 6d676fa0f288 devel/go-testify/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-testify/Makefile Sat Jul 16 13:21:41 2016 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/07/16 13:21:41 bsiegert Exp $
+
+DISTNAME=      go-testify-1.1.3
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=stretchr/}
+GITHUB_PROJECT=        testify
+GITHUB_TAG=    v1.1.3
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/stretchr/testify
+COMMENT=       Extension to the standard Go testing package
+LICENSE=       modified-bsd
+
+WRKSRC=                ${WRKDIR}
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG:S/v//}
+GO_SRCPATH=    github.com/stretchr/testify
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 54899d66d202 -r 6d676fa0f288 devel/go-testify/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-testify/PLIST    Sat Jul 16 13:21:41 2016 +0000
@@ -0,0 +1,76 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/16 13:21:41 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/assert.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/http.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/mock.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/require.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/suite.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/difflib.a
+gopkg/pkg/${GO_PLATFORM}/github.com/stretchr/testify/vendor/github.com/stretchr/objx.a
+gopkg/src/github.com/stretchr/testify/Godeps/Godeps.json
+gopkg/src/github.com/stretchr/testify/Godeps/Readme
+gopkg/src/github.com/stretchr/testify/LICENCE.txt
+gopkg/src/github.com/stretchr/testify/LICENSE
+gopkg/src/github.com/stretchr/testify/README.md
+gopkg/src/github.com/stretchr/testify/_codegen/main.go
+gopkg/src/github.com/stretchr/testify/assert/assertion_forward.go
+gopkg/src/github.com/stretchr/testify/assert/assertion_forward.go.tmpl
+gopkg/src/github.com/stretchr/testify/assert/assertions.go
+gopkg/src/github.com/stretchr/testify/assert/assertions_test.go
+gopkg/src/github.com/stretchr/testify/assert/doc.go
+gopkg/src/github.com/stretchr/testify/assert/errors.go
+gopkg/src/github.com/stretchr/testify/assert/forward_assertions.go
+gopkg/src/github.com/stretchr/testify/assert/forward_assertions_test.go
+gopkg/src/github.com/stretchr/testify/assert/http_assertions.go
+gopkg/src/github.com/stretchr/testify/assert/http_assertions_test.go
+gopkg/src/github.com/stretchr/testify/doc.go
+gopkg/src/github.com/stretchr/testify/http/doc.go
+gopkg/src/github.com/stretchr/testify/http/test_response_writer.go
+gopkg/src/github.com/stretchr/testify/http/test_round_tripper.go
+gopkg/src/github.com/stretchr/testify/mock/doc.go
+gopkg/src/github.com/stretchr/testify/mock/mock.go
+gopkg/src/github.com/stretchr/testify/mock/mock_test.go
+gopkg/src/github.com/stretchr/testify/package_test.go
+gopkg/src/github.com/stretchr/testify/require/doc.go
+gopkg/src/github.com/stretchr/testify/require/forward_requirements.go
+gopkg/src/github.com/stretchr/testify/require/forward_requirements_test.go
+gopkg/src/github.com/stretchr/testify/require/require.go
+gopkg/src/github.com/stretchr/testify/require/require.go.tmpl
+gopkg/src/github.com/stretchr/testify/require/require_forward.go
+gopkg/src/github.com/stretchr/testify/require/require_forward.go.tmpl
+gopkg/src/github.com/stretchr/testify/require/requirements.go
+gopkg/src/github.com/stretchr/testify/require/requirements_test.go
+gopkg/src/github.com/stretchr/testify/suite/doc.go
+gopkg/src/github.com/stretchr/testify/suite/interfaces.go
+gopkg/src/github.com/stretchr/testify/suite/suite.go
+gopkg/src/github.com/stretchr/testify/suite/suite_test.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/LICENSE
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/bypass.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/common.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/config.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/doc.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/dump.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/format.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew/spew.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/LICENSE
+gopkg/src/github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/difflib/difflib.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/.gitignore
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/LICENSE.md
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/README.md
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/accessors.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/codegen/array-access.txt
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/codegen/index.html
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/codegen/template.txt
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/codegen/types_list.txt
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/constants.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/conversions.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/doc.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/map.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/mutations.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/security.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/tests.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/type_specific_codegen.go
+gopkg/src/github.com/stretchr/testify/vendor/github.com/stretchr/objx/value.go
+@pkgdir bin
diff -r 54899d66d202 -r 6d676fa0f288 devel/go-testify/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-testify/buildlink3.mk    Sat Jul 16 13:21:41 2016 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/16 13:21:41 bsiegert Exp $
+
+BUILDLINK_TREE+=       go-testify
+
+.if !defined(GO_TESTIFY_BUILDLINK3_MK)
+GO_TESTIFY_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-testify=  ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-testify?=               build
+
+BUILDLINK_API_DEPENDS.go-testify+=     go-testify>=1.1.3
+BUILDLINK_PKGSRCDIR.go-testify?=       ../../devel/go-testify
+.endif # GO_TESTIFY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-testify
diff -r 54899d66d202 -r 6d676fa0f288 devel/go-testify/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-testify/distinfo Sat Jul 16 13:21:41 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/16 13:21:41 bsiegert Exp $
+
+SHA1 (go-testify-1.1.3.tar.gz) = 2494724ccad2de8003c2c5304a9e5e7470f32290
+RMD160 (go-testify-1.1.3.tar.gz) = 59afdb4e0eb9587c0139e322a747c3be1efa8144
+SHA512 (go-testify-1.1.3.tar.gz) = bd177d7c54246e480bea21a53820cd1246096ab05eaf436aa7d4d3dc81388239be79981ea7e6b2a960fbb120a7dff0faa8aee7bcf267d8d3499eecc65a49d179
+Size (go-testify-1.1.3.tar.gz) = 81051 bytes



Home | Main Index | Thread Index | Old Index