pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gocheck New package, gocheck-20160125.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f9107d7d509
branches:  trunk
changeset: 349669:0f9107d7d509
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Thu Jul 14 20:01:06 2016 +0000

description:
New package, gocheck-20160125.

The Go language provides an internal testing library, named testing,
which is relatively slim due to the fact that the standard library
correctness by itself is verified using it. The check package, on the
other hand, expects the standard library from Go to be working
correctly, and builds on it to offer a richer testing framework for
libraries and applications to use.

gocheck works as an extension to the testing package and to the "go
test" runner. That allows keeping all current tests and using
gocheck-based tests right away for new tests without conflicts. The
gocheck API was purposefully made similar to the testing package for a
smooth migration.

diffstat:

 devel/gocheck/DESCR         |  12 ++++++++++++
 devel/gocheck/Makefile      |  19 +++++++++++++++++++
 devel/gocheck/PLIST         |  24 ++++++++++++++++++++++++
 devel/gocheck/buildlink3.mk |  15 +++++++++++++++
 devel/gocheck/distinfo      |   6 ++++++
 5 files changed, 76 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r 8916009583f2 -r 0f9107d7d509 devel/gocheck/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gocheck/DESCR       Thu Jul 14 20:01:06 2016 +0000
@@ -0,0 +1,12 @@
+The Go language provides an internal testing library, named testing,
+which is relatively slim due to the fact that the standard library
+correctness by itself is verified using it. The check package, on the
+other hand, expects the standard library from Go to be working
+correctly, and builds on it to offer a richer testing framework for
+libraries and applications to use.
+
+gocheck works as an extension to the testing package and to the "go
+test" runner. That allows keeping all current tests and using
+gocheck-based tests right away for new tests without conflicts. The
+gocheck API was purposefully made similar to the testing package for a
+smooth migration.
diff -r 8916009583f2 -r 0f9107d7d509 devel/gocheck/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gocheck/Makefile    Thu Jul 14 20:01:06 2016 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/07/14 20:01:06 bsiegert Exp $
+
+DISTNAME=      gocheck-20160125
+CATEGORIES=    wip www
+GITHUB_PROJECT=        check
+GITHUB_TAG=    v1
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=go-check/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    bsiegert%NetBSD.org@localhost
+HOMEPAGE=      https://labix.org/gocheck
+COMMENT=       Rich testing support for Go
+LICENSE=       apache-2.0
+
+GO_SRCPATH=    gopkg.in/check.v1
+GO_DIST_BASE=  ${GITHUB_PROJECT}-1
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8916009583f2 -r 0f9107d7d509 devel/gocheck/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gocheck/PLIST       Thu Jul 14 20:01:06 2016 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/14 20:01:06 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/gopkg.in/check.v1.a
+gopkg/src/gopkg.in/check.v1/LICENSE
+gopkg/src/gopkg.in/check.v1/README.md
+gopkg/src/gopkg.in/check.v1/TODO
+gopkg/src/gopkg.in/check.v1/benchmark.go
+gopkg/src/gopkg.in/check.v1/benchmark_test.go
+gopkg/src/gopkg.in/check.v1/bootstrap_test.go
+gopkg/src/gopkg.in/check.v1/check.go
+gopkg/src/gopkg.in/check.v1/check_test.go
+gopkg/src/gopkg.in/check.v1/checkers.go
+gopkg/src/gopkg.in/check.v1/checkers_test.go
+gopkg/src/gopkg.in/check.v1/export_test.go
+gopkg/src/gopkg.in/check.v1/fixture_test.go
+gopkg/src/gopkg.in/check.v1/foundation_test.go
+gopkg/src/gopkg.in/check.v1/helpers.go
+gopkg/src/gopkg.in/check.v1/helpers_test.go
+gopkg/src/gopkg.in/check.v1/printer.go
+gopkg/src/gopkg.in/check.v1/printer_test.go
+gopkg/src/gopkg.in/check.v1/reporter.go
+gopkg/src/gopkg.in/check.v1/reporter_test.go
+gopkg/src/gopkg.in/check.v1/run.go
+gopkg/src/gopkg.in/check.v1/run_test.go
+@pkgdir bin
diff -r 8916009583f2 -r 0f9107d7d509 devel/gocheck/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gocheck/buildlink3.mk       Thu Jul 14 20:01:06 2016 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/14 20:01:06 bsiegert Exp $
+
+BUILDLINK_TREE+=       gocheck
+
+.if !defined(GOCHECK_BUILDLINK3_MK)
+GOCHECK_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.gocheck=     ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.gocheck?=          build
+
+BUILDLINK_API_DEPENDS.gocheck+=        gocheck>=20160125
+BUILDLINK_PKGSRCDIR.gocheck?=  ../../devel/gocheck
+.endif # GOCHECK_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -gocheck
diff -r 8916009583f2 -r 0f9107d7d509 devel/gocheck/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gocheck/distinfo    Thu Jul 14 20:01:06 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/14 20:01:06 bsiegert Exp $
+
+SHA1 (check/gocheck-20160125.tar.gz) = 9e9398831e23641805382d78869e34ef25f7ccea
+RMD160 (check/gocheck-20160125.tar.gz) = 5a51c89237c36b2bc71d3fa10535b1dab57c3d9e
+SHA512 (check/gocheck-20160125.tar.gz) = af0df648c86dab60750e181f7358166fe1e6ed6371e35b5c0c2207bd90e40da16e4a5e5c7fd96d1893ac8c430673b421bf8e2b5b193816f475bd9bc3af4c036e
+Size (check/gocheck-20160125.tar.gz) = 30327 bytes



Home | Main Index | Thread Index | Old Index