pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-assert devel/go-assert: import go-assert-0.0....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/883904afdf30
branches:  trunk
changeset: 387428:883904afdf30
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 18 07:46:43 2018 +0000

description:
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).

diffstat:

 devel/go-assert/DESCR         |  10 ++++++++++
 devel/go-assert/Makefile      |  23 +++++++++++++++++++++++
 devel/go-assert/PLIST         |  12 ++++++++++++
 devel/go-assert/buildlink3.mk |  16 ++++++++++++++++
 devel/go-assert/distinfo      |   6 ++++++
 5 files changed, 67 insertions(+), 0 deletions(-)

diffs (87 lines):

diff -r 3f5a00a0e547 -r 883904afdf30 devel/go-assert/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-assert/DESCR     Sun Nov 18 07:46:43 2018 +0000
@@ -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).
diff -r 3f5a00a0e547 -r 883904afdf30 devel/go-assert/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-assert/Makefile  Sun Nov 18 07:46:43 2018 +0000
@@ -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"
diff -r 3f5a00a0e547 -r 883904afdf30 devel/go-assert/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-assert/PLIST     Sun Nov 18 07:46:43 2018 +0000
@@ -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
diff -r 3f5a00a0e547 -r 883904afdf30 devel/go-assert/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-assert/buildlink3.mk     Sun Nov 18 07:46:43 2018 +0000
@@ -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
diff -r 3f5a00a0e547 -r 883904afdf30 devel/go-assert/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-assert/distinfo  Sun Nov 18 07:46:43 2018 +0000
@@ -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