pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import go-jsonerror-0.1.2 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:45:55 2021 +0100
Changeset: 330efd7ff107e7150ba4fbff368a63ef6e083c7d
Modified Files:
Makefile
Added Files:
go-jsonerror/DESCR
go-jsonerror/Makefile
go-jsonerror/PLIST
go-jsonerror/buildlink3.mk
go-jsonerror/distinfo
Log Message:
Import go-jsonerror-0.1.2 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=330efd7ff107e7150ba4fbff368a63ef6e083c7d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-jsonerror/DESCR | 2 ++
go-jsonerror/Makefile | 18 ++++++++++++++++++
go-jsonerror/PLIST | 8 ++++++++
go-jsonerror/buildlink3.mk | 15 +++++++++++++++
go-jsonerror/distinfo | 6 ++++++
6 files changed, 50 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index e625125795..48651a45e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1237,6 +1237,7 @@ SUBDIR+= go-intern
SUBDIR+= go-jira
SUBDIR+= go-jpillora-backoff
SUBDIR+= go-json-iterator
+SUBDIR+= go-jsonerror
SUBDIR+= go-jsonparser
SUBDIR+= go-jump
SUBDIR+= go-junit-report
diff --git a/go-jsonerror/DESCR b/go-jsonerror/DESCR
new file mode 100644
index 0000000000..5c662e89a6
--- /dev/null
+++ b/go-jsonerror/DESCR
@@ -0,0 +1,2 @@
+Go-JsonError is meant to allow us to easily create
+json response errors that follow the JsonApi spec.
diff --git a/go-jsonerror/Makefile b/go-jsonerror/Makefile
new file mode 100644
index 0000000000..0c703e741d
--- /dev/null
+++ b/go-jsonerror/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME= go-jsonerror-0.1.2
+GITHUB_PROJECT= go-jsonerror
+GITHUB_TAG= v${PKGVERSION_NOREV}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GITHUB:=ddymko/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/ddymko/go-jsonerror/
+COMMENT= Package which wraps error responses to follow jsonapi.org
+LICENSE= mit
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH= github.com/ddymko/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-jsonerror/PLIST b/go-jsonerror/PLIST
new file mode 100644
index 0000000000..be70c026cf
--- /dev/null
+++ b/go-jsonerror/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/ddymko/go-jsonerror.a
+gopkg/src/github.com/ddymko/go-jsonerror/LICENSE
+gopkg/src/github.com/ddymko/go-jsonerror/README.md
+gopkg/src/github.com/ddymko/go-jsonerror/codecov.yml
+gopkg/src/github.com/ddymko/go-jsonerror/go.mod
+gopkg/src/github.com/ddymko/go-jsonerror/json_error.go
+gopkg/src/github.com/ddymko/go-jsonerror/json_error_test.go
diff --git a/go-jsonerror/buildlink3.mk b/go-jsonerror/buildlink3.mk
new file mode 100644
index 0000000000..3b1d0f49d0
--- /dev/null
+++ b/go-jsonerror/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-jsonerror
+
+.if !defined(GO_JSONERROR_BUILDLINK3_MK)
+GO_JSONERROR_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-jsonerror= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-jsonerror?= build
+
+BUILDLINK_API_DEPENDS.go-jsonerror+= go-jsonerror>=0.1.2
+BUILDLINK_PKGSRCDIR.go-jsonerror?= ../../wip/go-jsonerror
+.endif # GO_JSONERROR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-jsonerror
diff --git a/go-jsonerror/distinfo b/go-jsonerror/distinfo
new file mode 100644
index 0000000000..739216150e
--- /dev/null
+++ b/go-jsonerror/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-jsonerror-0.1.2.tar.gz) = c0c582f25e43869ae6a98c04a33babc2b19adf93
+RMD160 (go-jsonerror-0.1.2.tar.gz) = 437a258fdabc87003a20bd53e6d8dc0a423740ef
+SHA512 (go-jsonerror-0.1.2.tar.gz) = dc226b72fa048ff2c4994c7263a5ca110cacee182dd73df0e17cc96e98ce2d87b168ca789b3b496053ef6ad8934e78654e395dd26c16fd45029f7759ee113e4c
+Size (go-jsonerror-0.1.2.tar.gz) = 3972 bytes
Home |
Main Index |
Thread Index |
Old Index