pkgsrc-WIP-changes archive

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

wip/go-argv: import go-argv-0.0.0



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Sun May 26 10:39:47 2019 +0000
Changeset:	72ec8960107e42b072c9539245f7349a01b984a9

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

Log Message:
wip/go-argv: import go-argv-0.0.0

Argv is a library for Go to split command line string into arguments array.

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

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

diffstat:
 Makefile              |  1 +
 go-argv/DESCR         |  1 +
 go-argv/Makefile      | 19 +++++++++++++++++++
 go-argv/PLIST         | 10 ++++++++++
 go-argv/buildlink3.mk | 15 +++++++++++++++
 go-argv/distinfo      |  6 ++++++
 6 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a53fba5a70..b9a36cc096 100644
--- a/Makefile
+++ b/Makefile
@@ -1169,6 +1169,7 @@ SUBDIR+=	gnuradio-zeromq
 SUBDIR+=	gnurl
 SUBDIR+=	gnutls
 SUBDIR+=	go
+SUBDIR+=	go-argv
 SUBDIR+=	go-backoff
 SUBDIR+=	go-bytebufferpool
 SUBDIR+=	go-collectd
diff --git a/go-argv/DESCR b/go-argv/DESCR
new file mode 100644
index 0000000000..4244faa217
--- /dev/null
+++ b/go-argv/DESCR
@@ -0,0 +1 @@
+Argv is a library for Go to split command line string into arguments array.
diff --git a/go-argv/Makefile b/go-argv/Makefile
new file mode 100644
index 0000000000..a96253d699
--- /dev/null
+++ b/go-argv/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+GITHUB_TAG=	13bacc38a0a5
+DISTNAME=	go-argv-${GITHUB_TAG}
+PKGNAME=	go-argv-0.0.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=cosiner/}
+GITHUB_PROJECT=	argv
+
+MAINTAINER=	ng0%n0.is@localhost
+HOMEPAGE=	https://github.com/cosiner/argv
+COMMENT=	Go library to split command line string into arguments array
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/cosiner/argv
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-argv/PLIST b/go-argv/PLIST
new file mode 100644
index 0000000000..eeb7a26571
--- /dev/null
+++ b/go-argv/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/cosiner/argv.a
+gopkg/src/github.com/cosiner/argv/LICENSE
+gopkg/src/github.com/cosiner/argv/README.md
+gopkg/src/github.com/cosiner/argv/argv.go
+gopkg/src/github.com/cosiner/argv/argv_test.go
+gopkg/src/github.com/cosiner/argv/cmd.go
+gopkg/src/github.com/cosiner/argv/parser.go
+gopkg/src/github.com/cosiner/argv/scanner.go
+gopkg/src/github.com/cosiner/argv/scanner_test.go
diff --git a/go-argv/buildlink3.mk b/go-argv/buildlink3.mk
new file mode 100644
index 0000000000..e714383682
--- /dev/null
+++ b/go-argv/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-argv
+
+.if !defined(GO_ARGV_BUILDLINK3_MK)
+GO_ARGV_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-argv=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-argv?=		build
+
+BUILDLINK_API_DEPENDS.go-argv+=	go-argv>=1.3.0
+BUILDLINK_PKGSRCDIR.go-argv?=		../../wip/go-argv
+.endif	# GO_ARGV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-argv
diff --git a/go-argv/distinfo b/go-argv/distinfo
new file mode 100644
index 0000000000..872d272811
--- /dev/null
+++ b/go-argv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-argv-13bacc38a0a5-13bacc38a0a5.tar.gz) = 3ae462d69d03c60fa577971b63d58708e61afc5f
+RMD160 (go-argv-13bacc38a0a5-13bacc38a0a5.tar.gz) = 795b0ef9a69c795899d0dd45a730981ceab0f499
+SHA512 (go-argv-13bacc38a0a5-13bacc38a0a5.tar.gz) = 87c294fd8cbb80541cba9240b5ec686854a795b41423695e179b9bbfc50e6a53f920e03ae0c72af794bdb835682a4eb2965a0f0e7072f7a3f482ca9fc9a877e5
+Size (go-argv-13bacc38a0a5-13bacc38a0a5.tar.gz) = 6293 bytes


Home | Main Index | Thread Index | Old Index