pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gocheck



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Thu Jul 14 20:01:06 UTC 2016

Added Files:
        pkgsrc/devel/gocheck: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gocheck/DESCR \
    pkgsrc/devel/gocheck/Makefile pkgsrc/devel/gocheck/PLIST \
    pkgsrc/devel/gocheck/buildlink3.mk pkgsrc/devel/gocheck/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/gocheck/DESCR
diff -u /dev/null pkgsrc/devel/gocheck/DESCR:1.1
--- /dev/null   Thu Jul 14 20:01:06 2016
+++ pkgsrc/devel/gocheck/DESCR  Thu Jul 14 20:01:06 2016
@@ -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.
Index: pkgsrc/devel/gocheck/Makefile
diff -u /dev/null pkgsrc/devel/gocheck/Makefile:1.1
--- /dev/null   Thu Jul 14 20:01:06 2016
+++ pkgsrc/devel/gocheck/Makefile       Thu Jul 14 20:01:06 2016
@@ -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"
Index: pkgsrc/devel/gocheck/PLIST
diff -u /dev/null pkgsrc/devel/gocheck/PLIST:1.1
--- /dev/null   Thu Jul 14 20:01:06 2016
+++ pkgsrc/devel/gocheck/PLIST  Thu Jul 14 20:01:06 2016
@@ -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
Index: pkgsrc/devel/gocheck/buildlink3.mk
diff -u /dev/null pkgsrc/devel/gocheck/buildlink3.mk:1.1
--- /dev/null   Thu Jul 14 20:01:06 2016
+++ pkgsrc/devel/gocheck/buildlink3.mk  Thu Jul 14 20:01:06 2016
@@ -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
Index: pkgsrc/devel/gocheck/distinfo
diff -u /dev/null pkgsrc/devel/gocheck/distinfo:1.1
--- /dev/null   Thu Jul 14 20:01:06 2016
+++ pkgsrc/devel/gocheck/distinfo       Thu Jul 14 20:01:06 2016
@@ -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