pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-viper Update go-viper to 1.3.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74146caafc92
branches:  trunk
changeset: 389498:74146caafc92
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Jan 02 19:58:39 2019 +0000

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

diffstat:

 devel/go-viper/Makefile      |   5 ++---
 devel/go-viper/PLIST         |   4 +++-
 devel/go-viper/buildlink3.mk |   4 ++--
 devel/go-viper/distinfo      |  10 +++++-----
 4 files changed, 12 insertions(+), 11 deletions(-)

diffs (64 lines):

diff -r b354c7aa9131 -r 74146caafc92 devel/go-viper/Makefile
--- a/devel/go-viper/Makefile   Wed Jan 02 19:53:01 2019 +0000
+++ b/devel/go-viper/Makefile   Wed Jan 02 19:58:39 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/12/19 15:47:08 bsiegert Exp $
+# $NetBSD: Makefile,v 1.9 2019/01/02 19:58:39 jmmv Exp $
 
-DISTNAME=      viper-1.0.2
+DISTNAME=      viper-1.3.1
 PKGNAME=       go-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=spf13/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r b354c7aa9131 -r 74146caafc92 devel/go-viper/PLIST
--- a/devel/go-viper/PLIST      Wed Jan 02 19:53:01 2019 +0000
+++ b/devel/go-viper/PLIST      Wed Jan 02 19:58:39 2019 +0000
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2018/07/30 03:17:50 minskim Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/01/02 19:58:39 jmmv Exp $
 gopkg/pkg/${GO_PLATFORM}/github.com/spf13/viper.a
 gopkg/pkg/${GO_PLATFORM}/github.com/spf13/viper/remote.a
 gopkg/src/github.com/spf13/viper/LICENSE
 gopkg/src/github.com/spf13/viper/README.md
 gopkg/src/github.com/spf13/viper/flags.go
 gopkg/src/github.com/spf13/viper/flags_test.go
+gopkg/src/github.com/spf13/viper/go.mod
+gopkg/src/github.com/spf13/viper/go.sum
 gopkg/src/github.com/spf13/viper/overrides_test.go
 gopkg/src/github.com/spf13/viper/remote/remote.go
 gopkg/src/github.com/spf13/viper/util.go
diff -r b354c7aa9131 -r 74146caafc92 devel/go-viper/buildlink3.mk
--- a/devel/go-viper/buildlink3.mk      Wed Jan 02 19:53:01 2019 +0000
+++ b/devel/go-viper/buildlink3.mk      Wed Jan 02 19:58:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2017/08/25 16:49:14 jperkin Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2019/01/02 19:58:39 jmmv Exp $
 
 BUILDLINK_TREE+=       go-viper
 
@@ -8,7 +8,7 @@
 BUILDLINK_CONTENTS_FILTER.go-viper=    ${EGREP} gopkg/
 BUILDLINK_DEPMETHOD.go-viper?=         build
 
-BUILDLINK_API_DEPENDS.go-viper+=       go-viper>=0.0
+BUILDLINK_API_DEPENDS.go-viper+=       go-viper>=1.3.1
 BUILDLINK_PKGSRCDIR.go-viper?=         ../../devel/go-viper
 
 .include "../../www/go-toml-pelletier/buildlink3.mk"
diff -r b354c7aa9131 -r 74146caafc92 devel/go-viper/distinfo
--- a/devel/go-viper/distinfo   Wed Jan 02 19:53:01 2019 +0000
+++ b/devel/go-viper/distinfo   Wed Jan 02 19:58:39 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/07/30 03:17:50 minskim Exp $
+$NetBSD: distinfo,v 1.3 2019/01/02 19:58:39 jmmv Exp $
 
-SHA1 (viper-1.0.2.tar.gz) = f0a261a4b9c5175cf7a95ffbe4f4e92d1c0d8f2c
-RMD160 (viper-1.0.2.tar.gz) = de8de49ebdbcaea9abe6d5f75d1a66f5f7ebbf52
-SHA512 (viper-1.0.2.tar.gz) = 45dcd49abd8a036cd32b677c7ef583a6dfbd85f781d022499bfca7d1d7aab05279acf1399de2e2c6670382072d0a32e51e04d55ace5d446afc1568dc1a30c696
-Size (viper-1.0.2.tar.gz) = 32018 bytes
+SHA1 (viper-1.3.1.tar.gz) = 65a8ac07ed1baf6fe478989081d4aa557f0af53b
+RMD160 (viper-1.3.1.tar.gz) = b1c468247e807450b7d3b41a258f8660d51cdbc3
+SHA512 (viper-1.3.1.tar.gz) = 5e2c2b7adb61f15b31ebed197e9054680d84115f188b83d46c4943b36ba96fee59283690aa06a443b52298c06eba413300889c305182bb84da60026efe25b487
+Size (viper-1.3.1.tar.gz) = 37683 bytes



Home | Main Index | Thread Index | Old Index