pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-hashstructure



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov 18 08:02:08 UTC 2018

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

Log Message:
devel/go-hashstructure: import go-hashstructure-1.0.0

hashstructure is a Go library for creating a unique hash value for
arbitrary values in Go.

This can be used to key values in a hash (for use in a map, set,
etc.) that are complex. The most common use case is comparing two
values without sending data across the network, caching values
locally (de-dup), and so on.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-hashstructure/DESCR \
    pkgsrc/devel/go-hashstructure/Makefile \
    pkgsrc/devel/go-hashstructure/PLIST \
    pkgsrc/devel/go-hashstructure/buildlink3.mk \
    pkgsrc/devel/go-hashstructure/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-hashstructure/DESCR
diff -u /dev/null pkgsrc/devel/go-hashstructure/DESCR:1.1
--- /dev/null   Sun Nov 18 08:02:08 2018
+++ pkgsrc/devel/go-hashstructure/DESCR Sun Nov 18 08:02:08 2018
@@ -0,0 +1,7 @@
+hashstructure is a Go library for creating a unique hash value for
+arbitrary values in Go.
+
+This can be used to key values in a hash (for use in a map, set,
+etc.) that are complex. The most common use case is comparing two
+values without sending data across the network, caching values
+locally (de-dup), and so on.
Index: pkgsrc/devel/go-hashstructure/Makefile
diff -u /dev/null pkgsrc/devel/go-hashstructure/Makefile:1.1
--- /dev/null   Sun Nov 18 08:02:08 2018
+++ pkgsrc/devel/go-hashstructure/Makefile      Sun Nov 18 08:02:08 2018
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:02:08 ryoon Exp $
+
+DISTNAME=      hashstructure-1.0.0
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mitchellh/}
+CATEGORIES=    devel
+GITHUB_PROJECT=        hashstructure
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mitchellh/hashstructure
+COMMENT=       Get hash values for arbitrary values in Go
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/mitchellh/hashstructure
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-hashstructure/PLIST
diff -u /dev/null pkgsrc/devel/go-hashstructure/PLIST:1.1
--- /dev/null   Sun Nov 18 08:02:08 2018
+++ pkgsrc/devel/go-hashstructure/PLIST Sun Nov 18 08:02:08 2018
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:02:08 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/mitchellh/hashstructure.a
+gopkg/src/github.com/mitchellh/hashstructure/LICENSE
+gopkg/src/github.com/mitchellh/hashstructure/README.md
+gopkg/src/github.com/mitchellh/hashstructure/go.mod
+gopkg/src/github.com/mitchellh/hashstructure/hashstructure.go
+gopkg/src/github.com/mitchellh/hashstructure/hashstructure_examples_test.go
+gopkg/src/github.com/mitchellh/hashstructure/hashstructure_test.go
+gopkg/src/github.com/mitchellh/hashstructure/include.go
Index: pkgsrc/devel/go-hashstructure/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-hashstructure/buildlink3.mk:1.1
--- /dev/null   Sun Nov 18 08:02:08 2018
+++ pkgsrc/devel/go-hashstructure/buildlink3.mk Sun Nov 18 08:02:08 2018
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:02:08 ryoon Exp $
+
+BUILDLINK_TREE+=       go-hashstructure
+
+.if !defined(GO_HASHSTRUCTURE_BUILDLINK3_MK)
+GO_HASHSTRUCTURE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-hashstructure=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-hashstructure?=         build
+
+BUILDLINK_API_DEPENDS.go-hashstructure+=       go-hashstructure>=1.0.0
+BUILDLINK_PKGSRCDIR.go-hashstructure?=         ../../devel/go-hashstructure
+.endif # GO_HASHSTRUCTURE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-hashstructure
Index: pkgsrc/devel/go-hashstructure/distinfo
diff -u /dev/null pkgsrc/devel/go-hashstructure/distinfo:1.1
--- /dev/null   Sun Nov 18 08:02:08 2018
+++ pkgsrc/devel/go-hashstructure/distinfo      Sun Nov 18 08:02:08 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:02:08 ryoon Exp $
+
+SHA1 (hashstructure-1.0.0.tar.gz) = 4aca4957f0e5835d8f8356699c726cf6ee7c1eb1
+RMD160 (hashstructure-1.0.0.tar.gz) = fc43a21ab6cac2ca460204e56dabcf49f9359ccd
+SHA512 (hashstructure-1.0.0.tar.gz) = a2b0688cb9e352c3ade1a928ad6c3bb9feeb066703af4b125789f045537677898544b97610272edab1476894c261c558ba6ca95e32a894f5471dfb055cf88265
+Size (hashstructure-1.0.0.tar.gz) = 6507 bytes



Home | Main Index | Thread Index | Old Index