pkgsrc-WIP-changes archive

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

Import go-gabs-2.6.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 19 09:34:31 2021 +0100
Changeset:	6ec950f5e152462b1ae55f719a08026373bfca80

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

Log Message:
Import go-gabs-2.6.0 to wip

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

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

diffstat:
 Makefile              |  1 +
 go-gabs/DESCR         |  6 ++++++
 go-gabs/Makefile      | 18 ++++++++++++++++++
 go-gabs/PLIST         |  9 +++++++++
 go-gabs/buildlink3.mk | 15 +++++++++++++++
 go-gabs/distinfo      |  6 ++++++
 6 files changed, 55 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 694ea3c987..b9f3d9ae4c 100644
--- a/Makefile
+++ b/Makefile
@@ -1208,6 +1208,7 @@ SUBDIR+=	go-flags
 SUBDIR+=	go-flock
 SUBDIR+=	go-freetype
 SUBDIR+=	go-fsnotify
+SUBDIR+=	go-gabs
 SUBDIR+=	go-genny
 SUBDIR+=	go-ghodss-yaml
 SUBDIR+=	go-godot
diff --git a/go-gabs/DESCR b/go-gabs/DESCR
new file mode 100644
index 0000000000..dbc5c84946
--- /dev/null
+++ b/go-gabs/DESCR
@@ -0,0 +1,6 @@
+Gabs is a small utility for dealing with dynamic
+or unknown JSON structures in Go. It's pretty
+much just a helpful wrapper for navigating hierarchies
+of map[string]interface{} objects provided by the
+encoding/json package. It does nothing spectacular
+apart from being fabulous
diff --git a/go-gabs/Makefile b/go-gabs/Makefile
new file mode 100644
index 0000000000..2acc692155
--- /dev/null
+++ b/go-gabs/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-gabs-2.6.0
+GITHUB_PROJECT=	gabs
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Jeffail/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/Jeffail/gabs/
+COMMENT=	For parsing, creating and editing unknown or dynamic JSON in Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/Jeffail/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-gabs/PLIST b/go-gabs/PLIST
new file mode 100644
index 0000000000..4939a8ee9f
--- /dev/null
+++ b/go-gabs/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/Jeffail/gabs.a
+gopkg/src/github.com/Jeffail/gabs/LICENSE
+gopkg/src/github.com/Jeffail/gabs/README.md
+gopkg/src/github.com/Jeffail/gabs/gabs.go
+gopkg/src/github.com/Jeffail/gabs/gabs_logo.png
+gopkg/src/github.com/Jeffail/gabs/gabs_test.go
+gopkg/src/github.com/Jeffail/gabs/go.mod
+gopkg/src/github.com/Jeffail/gabs/migration.md
diff --git a/go-gabs/buildlink3.mk b/go-gabs/buildlink3.mk
new file mode 100644
index 0000000000..0d425ae9fb
--- /dev/null
+++ b/go-gabs/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-gabs
+
+.if !defined(GO_GABS_BUILDLINK3_MK)
+GO_GABS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-gabs=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-gabs?=		build
+
+BUILDLINK_API_DEPENDS.go-gabs+=	go-gabs>=2.6.0
+BUILDLINK_PKGSRCDIR.go-gabs?=	../../wip/go-gabs
+.endif	# GO_GABS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-gabs
diff --git a/go-gabs/distinfo b/go-gabs/distinfo
new file mode 100644
index 0000000000..aa9d926651
--- /dev/null
+++ b/go-gabs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-gabs-2.6.0.tar.gz) = 6443e4ea5d65b593166ec06e3035c244460468b2
+RMD160 (go-gabs-2.6.0.tar.gz) = d478868990d77eef497d5e1e399533dbf30580c6
+SHA512 (go-gabs-2.6.0.tar.gz) = 59195ade7aae719689ff29cc2f2eb3ea2f9acf4c36e876f8dd84041d249c132f428f1a2a0fede2c65c0f2a5b191fd986a35e87d0d2745890d22445dd084bab7f
+Size (go-gabs-2.6.0.tar.gz) = 182300 bytes


Home | Main Index | Thread Index | Old Index