pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-assert



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov 18 07:46:44 UTC 2018

Added Files:
        pkgsrc/devel/go-assert: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
devel/go-assert: import go-assert-0.0.0.20170929

Go assertion library (fork of stretchr/testify/require)

This is a fork of stretchr's assertion library that does two things:

    It makes spotting differences in equality much easier. It uses
    repr and diffmatchpatch to display structural differences in
    colour.

    Aborts tests on first assertion failure (the same behaviour as
    stretchr/testify/require).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-assert/DESCR \
    pkgsrc/devel/go-assert/Makefile pkgsrc/devel/go-assert/PLIST \
    pkgsrc/devel/go-assert/buildlink3.mk pkgsrc/devel/go-assert/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/go-assert/DESCR
diff -u /dev/null pkgsrc/devel/go-assert/DESCR:1.1
--- /dev/null   Sun Nov 18 07:46:44 2018
+++ pkgsrc/devel/go-assert/DESCR        Sun Nov 18 07:46:43 2018
@@ -0,0 +1,10 @@
+Go assertion library (fork of stretchr/testify/require)
+
+This is a fork of stretchr's assertion library that does two things:
+
+    It makes spotting differences in equality much easier. It uses
+    repr and diffmatchpatch to display structural differences in
+    colour.
+
+    Aborts tests on first assertion failure (the same behaviour as
+    stretchr/testify/require).
Index: pkgsrc/devel/go-assert/Makefile
diff -u /dev/null pkgsrc/devel/go-assert/Makefile:1.1
--- /dev/null   Sun Nov 18 07:46:44 2018
+++ pkgsrc/devel/go-assert/Makefile     Sun Nov 18 07:46:43 2018
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 07:46:43 ryoon Exp $
+
+DISTNAME=      assert-0.0.0.20170929
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=alecthomas/}
+CATEGORIES=    devel
+GITHUB_PROJECT=        assert
+GITHUB_TAG=    405dbfeb8e38effee6e723317226e93fff912d06
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/alecthomas/assert
+COMMENT=       Go assertion library
+LICENSE=       mit
+
+GO_DIST_BASE=  assert-${GITHUB_TAG}
+GO_SRCPATH=    github.com/alecthomas/assert
+
+.include "../../devel/go-colour/buildlink3.mk"
+.include "../../devel/go-isatty/buildlink3.mk"
+.include "../../devel/go-repr/buildlink3.mk"
+.include "../../textproc/go-diff/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-assert/PLIST
diff -u /dev/null pkgsrc/devel/go-assert/PLIST:1.1
--- /dev/null   Sun Nov 18 07:46:44 2018
+++ pkgsrc/devel/go-assert/PLIST        Sun Nov 18 07:46:43 2018
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 07:46:43 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/alecthomas/assert.a
+gopkg/src/github.com/alecthomas/assert/LICENCE.txt
+gopkg/src/github.com/alecthomas/assert/README.md
+gopkg/src/github.com/alecthomas/assert/_example/diff.png
+gopkg/src/github.com/alecthomas/assert/_example/example_test.go
+gopkg/src/github.com/alecthomas/assert/assertions.go
+gopkg/src/github.com/alecthomas/assert/diff.go
+gopkg/src/github.com/alecthomas/assert/doc.go
+gopkg/src/github.com/alecthomas/assert/errors.go
+gopkg/src/github.com/alecthomas/assert/forward_assertions.go
+gopkg/src/github.com/alecthomas/assert/http_assertions.go
Index: pkgsrc/devel/go-assert/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-assert/buildlink3.mk:1.1
--- /dev/null   Sun Nov 18 07:46:44 2018
+++ pkgsrc/devel/go-assert/buildlink3.mk        Sun Nov 18 07:46:43 2018
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 07:46:43 ryoon Exp $
+
+BUILDLINK_TREE+=       go-assert
+
+.if !defined(GO_ASSERT_BUILDLINK3_MK)
+GO_ASSERT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-assert=   ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-assert?=                build
+
+BUILDLINK_API_DEPENDS.go-assert+=      go-assert>=0.0.0.20170929
+BUILDLINK_PKGSRCDIR.go-assert?=                ../../devel/go-assert
+
+.endif # GO_ASSERT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-assert
Index: pkgsrc/devel/go-assert/distinfo
diff -u /dev/null pkgsrc/devel/go-assert/distinfo:1.1
--- /dev/null   Sun Nov 18 07:46:44 2018
+++ pkgsrc/devel/go-assert/distinfo     Sun Nov 18 07:46:43 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 07:46:43 ryoon Exp $
+
+SHA1 (assert-0.0.0.20170929-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz) = d764a9788c20f05c6e67cd3dc1f0050cb93ec73e
+RMD160 (assert-0.0.0.20170929-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz) = 8c4d3bfbaf5b35f4ade9294f1934714de7eae8ee
+SHA512 (assert-0.0.0.20170929-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz) = 
182f141d83bb9b1d7d94cf3b1beb2e7c4074f9be3bd0250e3423fe64e6182f34b54b36e517397aa88440e42fe116973ed435bde6b8343df299db6ebb32591331
+Size (assert-0.0.0.20170929-405dbfeb8e38effee6e723317226e93fff912d06.tar.gz) = 71099 bytes



Home | Main Index | Thread Index | Old Index