pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/go-pflag
Module Name: pkgsrc
Committed By: gavan
Date: Thu Aug 17 01:36:26 UTC 2017
Added Files:
pkgsrc/devel/go-pflag: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
Add go-pflag package
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-pflag/DESCR \
pkgsrc/devel/go-pflag/Makefile pkgsrc/devel/go-pflag/PLIST \
pkgsrc/devel/go-pflag/buildlink3.mk pkgsrc/devel/go-pflag/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-pflag/DESCR
diff -u /dev/null pkgsrc/devel/go-pflag/DESCR:1.1
--- /dev/null Thu Aug 17 01:36:26 2017
+++ pkgsrc/devel/go-pflag/DESCR Thu Aug 17 01:36:26 2017
@@ -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.
Index: pkgsrc/devel/go-pflag/Makefile
diff -u /dev/null pkgsrc/devel/go-pflag/Makefile:1.1
--- /dev/null Thu Aug 17 01:36:26 2017
+++ pkgsrc/devel/go-pflag/Makefile Thu Aug 17 01:36:26 2017
@@ -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"
+
Index: pkgsrc/devel/go-pflag/PLIST
diff -u /dev/null pkgsrc/devel/go-pflag/PLIST:1.1
--- /dev/null Thu Aug 17 01:36:26 2017
+++ pkgsrc/devel/go-pflag/PLIST Thu Aug 17 01:36:26 2017
@@ -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
Index: pkgsrc/devel/go-pflag/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-pflag/buildlink3.mk:1.1
--- /dev/null Thu Aug 17 01:36:26 2017
+++ pkgsrc/devel/go-pflag/buildlink3.mk Thu Aug 17 01:36:26 2017
@@ -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
+
Index: pkgsrc/devel/go-pflag/distinfo
diff -u /dev/null pkgsrc/devel/go-pflag/distinfo:1.1
--- /dev/null Thu Aug 17 01:36:26 2017
+++ pkgsrc/devel/go-pflag/distinfo Thu Aug 17 01:36:26 2017
@@ -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