pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-hashstructure devel/go-hashstructure: import ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83ba29363681
branches:  trunk
changeset: 387446:83ba29363681
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 18 08:02:08 2018 +0000

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

diffstat:

 devel/go-hashstructure/DESCR         |   7 +++++++
 devel/go-hashstructure/Makefile      |  19 +++++++++++++++++++
 devel/go-hashstructure/PLIST         |   9 +++++++++
 devel/go-hashstructure/buildlink3.mk |  15 +++++++++++++++
 devel/go-hashstructure/distinfo      |   6 ++++++
 5 files changed, 56 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r d5f52f453b80 -r 83ba29363681 devel/go-hashstructure/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-hashstructure/DESCR      Sun Nov 18 08:02:08 2018 +0000
@@ -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.
diff -r d5f52f453b80 -r 83ba29363681 devel/go-hashstructure/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-hashstructure/Makefile   Sun Nov 18 08:02:08 2018 +0000
@@ -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"
diff -r d5f52f453b80 -r 83ba29363681 devel/go-hashstructure/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-hashstructure/PLIST      Sun Nov 18 08:02:08 2018 +0000
@@ -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
diff -r d5f52f453b80 -r 83ba29363681 devel/go-hashstructure/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-hashstructure/buildlink3.mk      Sun Nov 18 08:02:08 2018 +0000
@@ -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
diff -r d5f52f453b80 -r 83ba29363681 devel/go-hashstructure/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-hashstructure/distinfo   Sun Nov 18 08:02:08 2018 +0000
@@ -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