pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-pflag Add go-pflag package



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e09c2227c0b2
branches:  trunk
changeset: 366650:e09c2227c0b2
user:      gavan <gavan%pkgsrc.org@localhost>
date:      Thu Aug 17 01:36:26 2017 +0000

description:
Add go-pflag package

diffstat:

 devel/go-pflag/DESCR         |   5 ++++
 devel/go-pflag/Makefile      |  20 ++++++++++++++++++
 devel/go-pflag/PLIST         |  48 ++++++++++++++++++++++++++++++++++++++++++++
 devel/go-pflag/buildlink3.mk |  17 +++++++++++++++
 devel/go-pflag/distinfo      |   6 +++++
 5 files changed, 96 insertions(+), 0 deletions(-)

diffs (116 lines):

diff -r b171885e81fb -r e09c2227c0b2 devel/go-pflag/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-pflag/DESCR      Thu Aug 17 01:36:26 2017 +0000
@@ -0,0 +1,5 @@
+pflag is a drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
+
+pflag is compatible with the GNU extensions to the POSIX recommendations for command-line options. For a more precise description, see the "Command-line flag syntax" section below.
+
+pflag is available under the same style of BSD license as the Go language, which can be found in the LICENSE file.
diff -r b171885e81fb -r e09c2227c0b2 devel/go-pflag/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-pflag/Makefile   Thu Aug 17 01:36:26 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:36:26 gavan Exp $
+
+DISTNAME=      pflag-1.0.0
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=spf13/}
+CATEGORIES=    devel
+GITHUB_TAG=     v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/spf13/pflag
+COMMENT=       Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.
+LICENSE=       modified-bsd
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/spf13/pflag
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r b171885e81fb -r e09c2227c0b2 devel/go-pflag/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-pflag/PLIST      Thu Aug 17 01:36:26 2017 +0000
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:36:26 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/pflag.a
+gopkg/src/github.com/spf13/pflag/LICENSE
+gopkg/src/github.com/spf13/pflag/README.md
+gopkg/src/github.com/spf13/pflag/bool.go
+gopkg/src/github.com/spf13/pflag/bool_slice.go
+gopkg/src/github.com/spf13/pflag/bool_slice_test.go
+gopkg/src/github.com/spf13/pflag/bool_test.go
+gopkg/src/github.com/spf13/pflag/count.go
+gopkg/src/github.com/spf13/pflag/count_test.go
+gopkg/src/github.com/spf13/pflag/duration.go
+gopkg/src/github.com/spf13/pflag/example_test.go
+gopkg/src/github.com/spf13/pflag/export_test.go
+gopkg/src/github.com/spf13/pflag/flag.go
+gopkg/src/github.com/spf13/pflag/flag_test.go
+gopkg/src/github.com/spf13/pflag/float32.go
+gopkg/src/github.com/spf13/pflag/float64.go
+gopkg/src/github.com/spf13/pflag/golangflag.go
+gopkg/src/github.com/spf13/pflag/golangflag_test.go
+gopkg/src/github.com/spf13/pflag/int.go
+gopkg/src/github.com/spf13/pflag/int32.go
+gopkg/src/github.com/spf13/pflag/int64.go
+gopkg/src/github.com/spf13/pflag/int8.go
+gopkg/src/github.com/spf13/pflag/int_slice.go
+gopkg/src/github.com/spf13/pflag/int_slice_test.go
+gopkg/src/github.com/spf13/pflag/ip.go
+gopkg/src/github.com/spf13/pflag/ip_slice.go
+gopkg/src/github.com/spf13/pflag/ip_slice_test.go
+gopkg/src/github.com/spf13/pflag/ip_test.go
+gopkg/src/github.com/spf13/pflag/ipmask.go
+gopkg/src/github.com/spf13/pflag/ipnet.go
+gopkg/src/github.com/spf13/pflag/ipnet_test.go
+gopkg/src/github.com/spf13/pflag/string.go
+gopkg/src/github.com/spf13/pflag/string_array.go
+gopkg/src/github.com/spf13/pflag/string_array_test.go
+gopkg/src/github.com/spf13/pflag/string_slice.go
+gopkg/src/github.com/spf13/pflag/string_slice_test.go
+gopkg/src/github.com/spf13/pflag/uint.go
+gopkg/src/github.com/spf13/pflag/uint16.go
+gopkg/src/github.com/spf13/pflag/uint32.go
+gopkg/src/github.com/spf13/pflag/uint64.go
+gopkg/src/github.com/spf13/pflag/uint8.go
+gopkg/src/github.com/spf13/pflag/uint_slice.go
+gopkg/src/github.com/spf13/pflag/uint_slice_test.go
+gopkg/src/github.com/spf13/pflag/verify/all.sh
+gopkg/src/github.com/spf13/pflag/verify/gofmt.sh
+gopkg/src/github.com/spf13/pflag/verify/golint.sh
+@pkgdir bin
diff -r b171885e81fb -r e09c2227c0b2 devel/go-pflag/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-pflag/buildlink3.mk      Thu Aug 17 01:36:26 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:36:26 gavan Exp $
+
+BUILDLINK_TREE+=       go-pflag
+
+.if !defined(GO_PFLAG_BUILDLINK3_MK)
+GO_PFLAG_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-pflag=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-pflag?=         build
+
+BUILDLINK_API_DEPENDS.go-pflag+=       go-pflag>=1.0.0
+BUILDLINK_PKGSRCDIR.go-pflag?=         ../../devel/go-pflag
+
+.endif  # GO_PFLAG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-pflag
+
diff -r b171885e81fb -r e09c2227c0b2 devel/go-pflag/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-pflag/distinfo   Thu Aug 17 01:36:26 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:36:26 gavan Exp $
+
+SHA1 (pflag-1.0.0.tar.gz) = bd8b8ba3a2a3f55be98a28b55d0e867ef74e50c8
+RMD160 (pflag-1.0.0.tar.gz) = 65c8e80a001a4e72190030b3eaaa3273fcc97e48
+SHA512 (pflag-1.0.0.tar.gz) = 44355d7cec724b947482d9dbbf84b387fc11b8a00bd42579bb99b3da5849fcb22a134a255e2f941d4594481cadd2b497c9c96b748d68c6f0dff29575eac6c616
+Size (pflag-1.0.0.tar.gz) = 38988 bytes



Home | Main Index | Thread Index | Old Index