pkgsrc-WIP-changes archive

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

Import go-streamquote-1.0.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 10:25:05 2021 +0100
Changeset:	511455b33377263b43afacfa61af6682dd1e08ec

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

Log Message:
Import go-streamquote-1.0.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=511455b33377263b43afacfa61af6682dd1e08ec

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

diffstat:
 Makefile                     |  1 +
 go-streamquote/DESCR         |  4 ++++
 go-streamquote/Makefile      | 18 ++++++++++++++++++
 go-streamquote/PLIST         |  7 +++++++
 go-streamquote/buildlink3.mk | 15 +++++++++++++++
 go-streamquote/distinfo      |  6 ++++++
 6 files changed, 51 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 266dc37519..b3b00b59d5 100644
--- a/Makefile
+++ b/Makefile
@@ -1277,6 +1277,7 @@ SUBDIR+=	go-rest
 SUBDIR+=	go-resty
 SUBDIR+=	go-riff
 SUBDIR+=	go-stack
+SUBDIR+=	go-streamquote
 SUBDIR+=	go-stripansi
 SUBDIR+=	go-structs
 SUBDIR+=	go-tiff
diff --git a/go-streamquote/DESCR b/go-streamquote/DESCR
new file mode 100644
index 0000000000..7e3e445e6e
--- /dev/null
+++ b/go-streamquote/DESCR
@@ -0,0 +1,4 @@
+This package provides a streaming version of strconv.Quote.
+It allows you to quote the data in an io.Reader and write
+it out to an io.Writer without having to store the entire
+input and the entire output in memory
diff --git a/go-streamquote/Makefile b/go-streamquote/Makefile
new file mode 100644
index 0000000000..987a689911
--- /dev/null
+++ b/go-streamquote/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-streamquote-1.0.0
+GITHUB_PROJECT=	streamquote
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=nkovacs/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/nkovacs/streamquote/
+COMMENT=	Go package providing a streaming version of strconv.Quote
+LICENSE=	2-clause-bsd
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/nkovacs/streamquote
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-streamquote/PLIST b/go-streamquote/PLIST
new file mode 100644
index 0000000000..137ab50db2
--- /dev/null
+++ b/go-streamquote/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/nkovacs/streamquote.a
+gopkg/src/github.com/nkovacs/streamquote/LICENSE
+gopkg/src/github.com/nkovacs/streamquote/README.md
+gopkg/src/github.com/nkovacs/streamquote/go.mod
+gopkg/src/github.com/nkovacs/streamquote/streamquote.go
+gopkg/src/github.com/nkovacs/streamquote/streamquote_test.go
diff --git a/go-streamquote/buildlink3.mk b/go-streamquote/buildlink3.mk
new file mode 100644
index 0000000000..da62b63e18
--- /dev/null
+++ b/go-streamquote/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-streamquote
+
+.if !defined(GO_STREAMQUOTE_BUILDLINK3_MK)
+GO_STREAMQUOTE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-streamquote=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-streamquote?=		build
+
+BUILDLINK_API_DEPENDS.go-streamquote+=	go-streamquote>=1.0.0
+BUILDLINK_PKGSRCDIR.go-streamquote?=	../../wip/go-streamquote
+.endif	# GO_STREAMQUOTE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-streamquote
diff --git a/go-streamquote/distinfo b/go-streamquote/distinfo
new file mode 100644
index 0000000000..196289b83d
--- /dev/null
+++ b/go-streamquote/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-streamquote-1.0.0.tar.gz) = 4f903c8d5c6e0765ef7424bfd0d109e114249ccc
+RMD160 (go-streamquote-1.0.0.tar.gz) = 68e235bfa89a35612d1451de0b4a61dd80190610
+SHA512 (go-streamquote-1.0.0.tar.gz) = d9c513ab61d8af79b45c5e040dbaa5eea61571ed77bd9148d986903f020ffa49c4f3c5b773cb96d7bcb08dbb118bd36ab2fdf834a75d9509addd89978265c8af
+Size (go-streamquote-1.0.0.tar.gz) = 3986 bytes


Home | Main Index | Thread Index | Old Index