Update go-viper to 1.3.1: 1.3.1: Make the map in MergeConfigMap case insensitive 1.3.0: Restrict Travis to >= Go 1.11, use Go Modules, and get the test to pass 1.1.0: * Added a new `DecoderConfigOption` type allowing the user to write custom functions that can override the default mapstructure.DecoderConfig settings * Added a new `DecodeHook` function which returns a `DecoderConfigOption`. This allows the user to easily set their own Decode hooks when Unmarshaling * Updated Unmarshal, UnmarshalKey and defaultDecoderConfig to support variadic trailing `DecoderConfigOption` functions to allow for customisation of the default mapstructure.DecoderConfig * Added a test case with example usagediff -r1.8 -r1.9 pkgsrc/devel/go-viper/Makefile
(jmmv)
@@ -1,18 +1,17 @@ | @@ -1,18 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2018/12/19 15:47:08 bsiegert Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2019/01/02 19:58:39 jmmv Exp $ | |
2 | 2 | |||
3 | DISTNAME= viper-1.0.2 | 3 | DISTNAME= viper-1.3.1 | |
4 | PKGNAME= go-${DISTNAME} | 4 | PKGNAME= go-${DISTNAME} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=spf13/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=spf13/} | |
8 | GITHUB_TAG= v${PKGVERSION_NOREV} | 7 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
9 | GITHUB_PROJECT= ${PKGBASE:S/^go-//} | 8 | GITHUB_PROJECT= ${PKGBASE:S/^go-//} | |
10 | 9 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= https://github.com/spf13/viper | 11 | HOMEPAGE= https://github.com/spf13/viper | |
13 | COMMENT= Go configuration with fangs | 12 | COMMENT= Go configuration with fangs | |
14 | LICENSE= mit | 13 | LICENSE= mit | |
15 | 14 | |||
16 | GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV} | 15 | GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV} | |
17 | GO_SRCPATH= github.com/spf13/viper | 16 | GO_SRCPATH= github.com/spf13/viper | |
18 | 17 |
@@ -1,14 +1,16 @@ | @@ -1,14 +1,16 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2018/07/30 03:17:50 minskim Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2019/01/02 19:58:39 jmmv Exp $ | |
2 | gopkg/pkg/${GO_PLATFORM}/github.com/spf13/viper.a | 2 | gopkg/pkg/${GO_PLATFORM}/github.com/spf13/viper.a | |
3 | gopkg/pkg/${GO_PLATFORM}/github.com/spf13/viper/remote.a | 3 | gopkg/pkg/${GO_PLATFORM}/github.com/spf13/viper/remote.a | |
4 | gopkg/src/github.com/spf13/viper/LICENSE | 4 | gopkg/src/github.com/spf13/viper/LICENSE | |
5 | gopkg/src/github.com/spf13/viper/README.md | 5 | gopkg/src/github.com/spf13/viper/README.md | |
6 | gopkg/src/github.com/spf13/viper/flags.go | 6 | gopkg/src/github.com/spf13/viper/flags.go | |
7 | gopkg/src/github.com/spf13/viper/flags_test.go | 7 | gopkg/src/github.com/spf13/viper/flags_test.go | |
8 | gopkg/src/github.com/spf13/viper/go.mod | |||
9 | gopkg/src/github.com/spf13/viper/go.sum | |||
8 | gopkg/src/github.com/spf13/viper/overrides_test.go | 10 | gopkg/src/github.com/spf13/viper/overrides_test.go | |
9 | gopkg/src/github.com/spf13/viper/remote/remote.go | 11 | gopkg/src/github.com/spf13/viper/remote/remote.go | |
10 | gopkg/src/github.com/spf13/viper/util.go | 12 | gopkg/src/github.com/spf13/viper/util.go | |
11 | gopkg/src/github.com/spf13/viper/util_test.go | 13 | gopkg/src/github.com/spf13/viper/util_test.go | |
12 | gopkg/src/github.com/spf13/viper/viper.go | 14 | gopkg/src/github.com/spf13/viper/viper.go | |
13 | gopkg/src/github.com/spf13/viper/viper_test.go | 15 | gopkg/src/github.com/spf13/viper/viper_test.go | |
14 | @pkgdir bin | 16 | @pkgdir bin |
@@ -1,24 +1,24 @@ | @@ -1,24 +1,24 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.2 2017/08/25 16:49:14 jperkin Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.3 2019/01/02 19:58:39 jmmv Exp $ | |
2 | 2 | |||
3 | BUILDLINK_TREE+= go-viper | 3 | BUILDLINK_TREE+= go-viper | |
4 | 4 | |||
5 | .if !defined(GO_VIPER_BUILDLINK3_MK) | 5 | .if !defined(GO_VIPER_BUILDLINK3_MK) | |
6 | GO_VIPER_BUILDLINK3_MK:= | 6 | GO_VIPER_BUILDLINK3_MK:= | |
7 | 7 | |||
8 | BUILDLINK_CONTENTS_FILTER.go-viper= ${EGREP} gopkg/ | 8 | BUILDLINK_CONTENTS_FILTER.go-viper= ${EGREP} gopkg/ | |
9 | BUILDLINK_DEPMETHOD.go-viper?= build | 9 | BUILDLINK_DEPMETHOD.go-viper?= build | |
10 | 10 | |||
11 | BUILDLINK_API_DEPENDS.go-viper+= go-viper>=0.0 | 11 | BUILDLINK_API_DEPENDS.go-viper+= go-viper>=1.3.1 | |
12 | BUILDLINK_PKGSRCDIR.go-viper?= ../../devel/go-viper | 12 | BUILDLINK_PKGSRCDIR.go-viper?= ../../devel/go-viper | |
13 | 13 | |||
14 | .include "../../www/go-toml-pelletier/buildlink3.mk" | 14 | .include "../../www/go-toml-pelletier/buildlink3.mk" | |
15 | .include "../../devel/go-fsnotify/buildlink3.mk" | 15 | .include "../../devel/go-fsnotify/buildlink3.mk" | |
16 | .include "../../lang/go-hcl/buildlink3.mk" | 16 | .include "../../lang/go-hcl/buildlink3.mk" | |
17 | .include "../../devel/go-properties/buildlink3.mk" | 17 | .include "../../devel/go-properties/buildlink3.mk" | |
18 | .include "../../devel/go-mapstructure/buildlink3.mk" | 18 | .include "../../devel/go-mapstructure/buildlink3.mk" | |
19 | .include "../../devel/go-cast/buildlink3.mk" | 19 | .include "../../devel/go-cast/buildlink3.mk" | |
20 | .include "../../devel/go-jwalterweatherman/buildlink3.mk" | 20 | .include "../../devel/go-jwalterweatherman/buildlink3.mk" | |
21 | .include "../../devel/go-pflag/buildlink3.mk" | 21 | .include "../../devel/go-pflag/buildlink3.mk" | |
22 | .include "../../devel/go-yaml/buildlink3.mk" | 22 | .include "../../devel/go-yaml/buildlink3.mk" | |
23 | .include "../../devel/go-sys/buildlink3.mk" | 23 | .include "../../devel/go-sys/buildlink3.mk" | |
24 | .include "../../devel/go-consul-api/buildlink3.mk" | 24 | .include "../../devel/go-consul-api/buildlink3.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2018/07/30 03:17:50 minskim Exp $ | 1 | $NetBSD: distinfo,v 1.3 2019/01/02 19:58:39 jmmv Exp $ | |
2 | 2 | |||
3 | SHA1 (viper-1.0.2.tar.gz) = f0a261a4b9c5175cf7a95ffbe4f4e92d1c0d8f2c | 3 | SHA1 (viper-1.3.1.tar.gz) = 65a8ac07ed1baf6fe478989081d4aa557f0af53b | |
4 | RMD160 (viper-1.0.2.tar.gz) = de8de49ebdbcaea9abe6d5f75d1a66f5f7ebbf52 | 4 | RMD160 (viper-1.3.1.tar.gz) = b1c468247e807450b7d3b41a258f8660d51cdbc3 | |
5 | SHA512 (viper-1.0.2.tar.gz) = 45dcd49abd8a036cd32b677c7ef583a6dfbd85f781d022499bfca7d1d7aab05279acf1399de2e2c6670382072d0a32e51e04d55ace5d446afc1568dc1a30c696 | 5 | SHA512 (viper-1.3.1.tar.gz) = 5e2c2b7adb61f15b31ebed197e9054680d84115f188b83d46c4943b36ba96fee59283690aa06a443b52298c06eba413300889c305182bb84da60026efe25b487 | |
6 | Size (viper-1.0.2.tar.gz) = 32018 bytes | 6 | Size (viper-1.3.1.tar.gz) = 37683 bytes |