pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-mapstructure-bep



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

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

Log Message:
devel/go-mapstructure-bep: import go-mapstructure-bep-0.0.20180511

mapstructure is a Go library for decoding generic map values to structures and
vice versa, while providing helpful error handling.

This library is most useful when decoding values from some data stream (JSON,
Gob, etc.) where you don't quite know the structure of the underlying data
until you read a part of it. You can therefore read a map[string]interface{}
and use this library to decode it into the proper underlying native Go
structure.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-mapstructure-bep/DESCR \
    pkgsrc/devel/go-mapstructure-bep/Makefile \
    pkgsrc/devel/go-mapstructure-bep/PLIST \
    pkgsrc/devel/go-mapstructure-bep/buildlink3.mk \
    pkgsrc/devel/go-mapstructure-bep/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-mapstructure-bep/DESCR
diff -u /dev/null pkgsrc/devel/go-mapstructure-bep/DESCR:1.1
--- /dev/null   Sun Nov 18 08:06:21 2018
+++ pkgsrc/devel/go-mapstructure-bep/DESCR      Sun Nov 18 08:06:21 2018
@@ -0,0 +1,8 @@
+mapstructure is a Go library for decoding generic map values to structures and
+vice versa, while providing helpful error handling.
+
+This library is most useful when decoding values from some data stream (JSON,
+Gob, etc.) where you don't quite know the structure of the underlying data
+until you read a part of it. You can therefore read a map[string]interface{}
+and use this library to decode it into the proper underlying native Go
+structure.
Index: pkgsrc/devel/go-mapstructure-bep/Makefile
diff -u /dev/null pkgsrc/devel/go-mapstructure-bep/Makefile:1.1
--- /dev/null   Sun Nov 18 08:06:21 2018
+++ pkgsrc/devel/go-mapstructure-bep/Makefile   Sun Nov 18 08:06:21 2018
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:06:21 ryoon Exp $
+
+DISTNAME=      mapstructure-bep-0.0.20180511
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bep/}
+CATEGORIES=    devel
+GITHUB_TAG=    bb74f1db0675b241733089d5a1faa5dd8b0ef57b
+GITHUB_PROJECT=        ${PKGBASE:S/^go-//:S/-bep//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/bep/mapstructure
+COMMENT=       Library for decoding generic map values into native structures
+LICENSE=       mit
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/bep/mapstructure
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-mapstructure-bep/PLIST
diff -u /dev/null pkgsrc/devel/go-mapstructure-bep/PLIST:1.1
--- /dev/null   Sun Nov 18 08:06:21 2018
+++ pkgsrc/devel/go-mapstructure-bep/PLIST      Sun Nov 18 08:06:21 2018
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:06:21 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/bep/mapstructure.a
+gopkg/src/github.com/bep/mapstructure/LICENSE
+gopkg/src/github.com/bep/mapstructure/README.md
+gopkg/src/github.com/bep/mapstructure/decode_hooks.go
+gopkg/src/github.com/bep/mapstructure/decode_hooks_test.go
+gopkg/src/github.com/bep/mapstructure/error.go
+gopkg/src/github.com/bep/mapstructure/mapstructure.go
+gopkg/src/github.com/bep/mapstructure/mapstructure_benchmark_test.go
+gopkg/src/github.com/bep/mapstructure/mapstructure_bugs_test.go
+gopkg/src/github.com/bep/mapstructure/mapstructure_examples_test.go
+gopkg/src/github.com/bep/mapstructure/mapstructure_test.go
Index: pkgsrc/devel/go-mapstructure-bep/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-mapstructure-bep/buildlink3.mk:1.1
--- /dev/null   Sun Nov 18 08:06:21 2018
+++ pkgsrc/devel/go-mapstructure-bep/buildlink3.mk      Sun Nov 18 08:06:21 2018
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:06:21 ryoon Exp $
+
+BUILDLINK_TREE+=       go-mapstructure-bep
+
+.if !defined(GO_MAPSTRUCTURE_BEP_BUILDLINK3_MK)
+GO_MAPSTRUCTURE_BEP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-mapstructure-bep= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-mapstructure-bep?=      build
+
+BUILDLINK_API_DEPENDS.go-mapstructure-bep+=    go-mapstructure-bep>=0.0
+BUILDLINK_PKGSRCDIR.go-mapstructure-bep?=      ../../devel/go-mapstructure-bep
+
+.endif  # GO_MAPSTRUCTURE_BEP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-mapstructure-bep
Index: pkgsrc/devel/go-mapstructure-bep/distinfo
diff -u /dev/null pkgsrc/devel/go-mapstructure-bep/distinfo:1.1
--- /dev/null   Sun Nov 18 08:06:21 2018
+++ pkgsrc/devel/go-mapstructure-bep/distinfo   Sun Nov 18 08:06:21 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:06:21 ryoon Exp $
+
+SHA1 (mapstructure-bep-0.0.20180511-bb74f1db0675b241733089d5a1faa5dd8b0ef57b.tar.gz) = d24a9c3168f1da1127db69a5fb76875a6992bd63
+RMD160 (mapstructure-bep-0.0.20180511-bb74f1db0675b241733089d5a1faa5dd8b0ef57b.tar.gz) = 8738de6d8d1b7b8fc961fe120b7a73ff7b792684
+SHA512 (mapstructure-bep-0.0.20180511-bb74f1db0675b241733089d5a1faa5dd8b0ef57b.tar.gz) = 
b5740447fa3b81ff8b713f328dbbf866f01527ee71f23141595d0c0f39d865f9ea95a04bac118dc223a3ebfc3ebeb5b8f857fec66f4232ef7da8f292ac8cab59
+Size (mapstructure-bep-0.0.20180511-bb74f1db0675b241733089d5a1faa5dd8b0ef57b.tar.gz) = 18671 bytes



Home | Main Index | Thread Index | Old Index