pkgsrc-WIP-changes archive

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

Import go-flaggy-1.4.4 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Thu Jan 21 15:49:46 2021 +0100
Changeset:	bb04a805c2236d957e75972dd928c640a25114d9

Modified Files:
	Makefile
Added Files:
	go-flaggy/DESCR
	go-flaggy/Makefile
	go-flaggy/PLIST
	go-flaggy/PLISt
	go-flaggy/buildlink3.mk
	go-flaggy/distinfo

Log Message:
Import go-flaggy-1.4.4 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bb04a805c2236d957e75972dd928c640a25114d9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  1 +
 go-flaggy/DESCR         |  3 +++
 go-flaggy/Makefile      | 18 ++++++++++++++++++
 go-flaggy/PLIST         |  4 ++++
 go-flaggy/PLISt         | 39 +++++++++++++++++++++++++++++++++++++++
 go-flaggy/buildlink3.mk | 15 +++++++++++++++
 go-flaggy/distinfo      |  6 ++++++
 7 files changed, 86 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7ab08651c2..54144dec99 100644
--- a/Makefile
+++ b/Makefile
@@ -1208,6 +1208,7 @@ SUBDIR+=	go-fastprinter
 SUBDIR+=	go-fasttemplate
 SUBDIR+=	go-ffmpeg
 SUBDIR+=	go-flac-eaburns
+SUBDIR+=	go-flaggy
 SUBDIR+=	go-flags
 SUBDIR+=	go-flock
 SUBDIR+=	go-freetype
diff --git a/go-flaggy/DESCR b/go-flaggy/DESCR
new file mode 100644
index 0000000000..b6ee037983
--- /dev/null
+++ b/go-flaggy/DESCR
@@ -0,0 +1,3 @@
+Sensible and fast command-line flag parsing
+with excellent support for subcommands and
+positional values. Flags can be at any position.
diff --git a/go-flaggy/Makefile b/go-flaggy/Makefile
new file mode 100644
index 0000000000..b5a9397fd7
--- /dev/null
+++ b/go-flaggy/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-flaggy-1.4.4
+GITHUB_PROJECT=	flaggy
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=integrii/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/integrii/flaggy/
+COMMENT=	Idiomatic Go input parsing with subcommands, positional values
+LICENSE=	unlicense
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/integrii/flaggy
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-flaggy/PLIST b/go-flaggy/PLIST
new file mode 100644
index 0000000000..cf8b8836f1
--- /dev/null
+++ b/go-flaggy/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/pkg/bin/bmake package"
+@comment TODO: 2. run "/usr/pkg/bin/bmake print-PLIST"
diff --git a/go-flaggy/PLISt b/go-flaggy/PLISt
new file mode 100644
index 0000000000..8c89455156
--- /dev/null
+++ b/go-flaggy/PLISt
@@ -0,0 +1,39 @@
+@comment $NetBSD$
+bin/complex
+bin/customParser
+bin/customTemplate
+bin/positionalValue
+bin/simple
+bin/sliceFlag
+bin/subcommand
+gopkg/pkg/${GO_PLATFORM}/github.com/integrii/flaggy.a
+gopkg/src/github.com/integrii/flaggy/LICENSE
+gopkg/src/github.com/integrii/flaggy/README.md
+gopkg/src/github.com/integrii/flaggy/argumentParser.go
+gopkg/src/github.com/integrii/flaggy/examples/.gitignore
+gopkg/src/github.com/integrii/flaggy/examples/complex/main.go
+gopkg/src/github.com/integrii/flaggy/examples/customParser/main.go
+gopkg/src/github.com/integrii/flaggy/examples/customTemplate/main.go
+gopkg/src/github.com/integrii/flaggy/examples/positionalValue/main.go
+gopkg/src/github.com/integrii/flaggy/examples/simple/main.go
+gopkg/src/github.com/integrii/flaggy/examples/sliceFlag/.gitignore
+gopkg/src/github.com/integrii/flaggy/examples/sliceFlag/main.go
+gopkg/src/github.com/integrii/flaggy/examples/subcommand/main.go
+gopkg/src/github.com/integrii/flaggy/examples_test.go
+gopkg/src/github.com/integrii/flaggy/flag.go
+gopkg/src/github.com/integrii/flaggy/flag_test.go
+gopkg/src/github.com/integrii/flaggy/flaggy_test.go
+gopkg/src/github.com/integrii/flaggy/go.mod
+gopkg/src/github.com/integrii/flaggy/help.go
+gopkg/src/github.com/integrii/flaggy/helpValues.go
+gopkg/src/github.com/integrii/flaggy/helpValues_blackbox_test.go
+gopkg/src/github.com/integrii/flaggy/helpValues_whitebox_test.go
+gopkg/src/github.com/integrii/flaggy/logo.png
+gopkg/src/github.com/integrii/flaggy/main.go
+gopkg/src/github.com/integrii/flaggy/main_test.go
+gopkg/src/github.com/integrii/flaggy/parsedValue.go
+gopkg/src/github.com/integrii/flaggy/parser.go
+gopkg/src/github.com/integrii/flaggy/parser_test.go
+gopkg/src/github.com/integrii/flaggy/positionalValue.go
+gopkg/src/github.com/integrii/flaggy/subCommand.go
+gopkg/src/github.com/integrii/flaggy/subcommand_test.go
diff --git a/go-flaggy/buildlink3.mk b/go-flaggy/buildlink3.mk
new file mode 100644
index 0000000000..5dffc46703
--- /dev/null
+++ b/go-flaggy/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-flaggy
+
+.if !defined(GO_FLAGGY_BUILDLINK3_MK)
+GO_FLAGGY_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-flaggy=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-flaggy?=		build
+
+BUILDLINK_API_DEPENDS.go-flaggy+=	go-flaggy>=1.4.4
+BUILDLINK_PKGSRCDIR.go-flaggy?=		../../wip/go-flaggy
+.endif	# GO_FLAGGY_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-flaggy
diff --git a/go-flaggy/distinfo b/go-flaggy/distinfo
new file mode 100644
index 0000000000..23815eec96
--- /dev/null
+++ b/go-flaggy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-flaggy-1.4.4.tar.gz) = 8bac45ebc0cae49110b61b004785f5e753f46e8a
+RMD160 (go-flaggy-1.4.4.tar.gz) = 100e4403f9e0c68af51b5759485288ebe225b9c7
+SHA512 (go-flaggy-1.4.4.tar.gz) = 027b76482efa243b987f4b451b76fce06ee717d62c6392c4266f4a16918cd5d1d079113c7c1df1a3f5b5e62da83c8c532fe600ecb38a26ad538a10191d42887d
+Size (go-flaggy-1.4.4.tar.gz) = 46392 bytes


Home | Main Index | Thread Index | Old Index