pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Add devel/go-argv version 0.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d67cf409468c
branches:  trunk
changeset: 417205:d67cf409468c
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Wed Nov 06 10:45:25 2019 +0000

description:
Add devel/go-argv version 0.0.1

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

diffstat:

 devel/Makefile              |   3 ++-
 devel/go-argv/DESCR         |   1 +
 devel/go-argv/Makefile      |  18 ++++++++++++++++++
 devel/go-argv/PLIST         |  11 +++++++++++
 devel/go-argv/buildlink3.mk |  15 +++++++++++++++
 devel/go-argv/distinfo      |   6 ++++++
 6 files changed, 53 insertions(+), 1 deletions(-)

diffs (88 lines):

diff -r d3b0cda52aab -r d67cf409468c devel/Makefile
--- a/devel/Makefile    Wed Nov 06 10:16:42 2019 +0000
+++ b/devel/Makefile    Wed Nov 06 10:45:25 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2939 2019/11/04 04:20:28 taca Exp $
+# $NetBSD: Makefile,v 1.2940 2019/11/06 10:45:25 ng0 Exp $
 #
 
 COMMENT=       Development utilities
@@ -363,6 +363,7 @@
 SUBDIR+=       go-afero
 SUBDIR+=       go-amber
 SUBDIR+=       go-appengine
+SUBDIR+=       go-argv
 SUBDIR+=       go-assert
 SUBDIR+=       go-blackfriday
 SUBDIR+=       go-buffruneio
diff -r d3b0cda52aab -r d67cf409468c devel/go-argv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-argv/DESCR       Wed Nov 06 10:45:25 2019 +0000
@@ -0,0 +1,1 @@
+Argv is a library for Go to split command line string into arguments array.
diff -r d3b0cda52aab -r d67cf409468c devel/go-argv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-argv/Makefile    Wed Nov 06 10:45:25 2019 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/11/06 10:45:25 ng0 Exp $
+
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      go-argv-0.0.1
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=cosiner/}
+GITHUB_PROJECT=        argv
+
+MAINTAINER=    ng0%NetBSD.org@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=  argv-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d3b0cda52aab -r d67cf409468c devel/go-argv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-argv/PLIST       Wed Nov 06 10:45:25 2019 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/06 10:45:25 ng0 Exp $
+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/go.mod
+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 -r d3b0cda52aab -r d67cf409468c devel/go-argv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-argv/buildlink3.mk       Wed Nov 06 10:45:25 2019 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 10:45:25 ng0 Exp $
+
+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?=          ../../devel/go-argv
+.endif # GO_ARGV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-argv
diff -r d3b0cda52aab -r d67cf409468c devel/go-argv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-argv/distinfo    Wed Nov 06 10:45:25 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/06 10:45:25 ng0 Exp $
+
+SHA1 (go-argv-0.0.1.tar.gz) = 847731c48d51e5550970899f0d4c4fae88cc9e08
+RMD160 (go-argv-0.0.1.tar.gz) = c488ae8f3c0a51fda4261c170c55fe3bd7141ef6
+SHA512 (go-argv-0.0.1.tar.gz) = 6e027334f8a07b1c2700ab3dc2b871e411ab45d42a3037785cecfe116790ac131cd780687fcd95f271f387e6fc5ad297c2e2cb782ea4ef76f64119c661ae8115
+Size (go-argv-0.0.1.tar.gz) = 6344 bytes



Home | Main Index | Thread Index | Old Index