pkgsrc-WIP-changes archive

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

Import go-fasttemplate-1.2.1 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:23:25 2021 +0100
Changeset:	b031a10a8fbf3a1c530c014e2d596615af37689f

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

Log Message:
Import go-fasttemplate-1.2.1 to wip

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

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

diffstat:
 Makefile                      |  1 +
 go-fasttemplate/DESCR         |  3 +++
 go-fasttemplate/Makefile      | 18 ++++++++++++++++++
 go-fasttemplate/PLIST         | 19 +++++++++++++++++++
 go-fasttemplate/buildlink3.mk | 15 +++++++++++++++
 go-fasttemplate/distinfo      |  6 ++++++
 6 files changed, 62 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 381362dca2..266dc37519 100644
--- a/Makefile
+++ b/Makefile
@@ -1204,6 +1204,7 @@ SUBDIR+=	go-errorx
 SUBDIR+=	go-eventsource
 SUBDIR+=	go-ewma
 SUBDIR+=	go-fastprinter
+SUBDIR+=	go-fasttemplate
 SUBDIR+=	go-ffmpeg
 SUBDIR+=	go-flac-eaburns
 SUBDIR+=	go-flags
diff --git a/go-fasttemplate/DESCR b/go-fasttemplate/DESCR
new file mode 100644
index 0000000000..7e7e0151b3
--- /dev/null
+++ b/go-fasttemplate/DESCR
@@ -0,0 +1,3 @@
+Simple and fast template engine for Go. Fasttemplate
+performs only a single task - it substitutes template
+placeholders with user-defined values.
diff --git a/go-fasttemplate/Makefile b/go-fasttemplate/Makefile
new file mode 100644
index 0000000000..245d4b1da1
--- /dev/null
+++ b/go-fasttemplate/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-fasttemplate-1.2.1
+GITHUB_PROJECT=	fasttemplate
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=valyala/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/valyala/fasttemplate/
+COMMENT=	Simple and fast template engine for Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/valyala/fasttemplate
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-fasttemplate/PLIST b/go-fasttemplate/PLIST
new file mode 100644
index 0000000000..a21c25d454
--- /dev/null
+++ b/go-fasttemplate/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasttemplate.a
+gopkg/src/github.com/valyala/fasttemplate/LICENSE
+gopkg/src/github.com/valyala/fasttemplate/README.md
+gopkg/src/github.com/valyala/fasttemplate/example_test.go
+gopkg/src/github.com/valyala/fasttemplate/go.mod
+gopkg/src/github.com/valyala/fasttemplate/go.sum
+gopkg/src/github.com/valyala/fasttemplate/template.go
+gopkg/src/github.com/valyala/fasttemplate/template_test.go
+gopkg/src/github.com/valyala/fasttemplate/template_timing_test.go
+gopkg/src/github.com/valyala/fasttemplate/unsafe.go
+gopkg/src/github.com/valyala/fasttemplate/unsafe_gae.go
+gopkg/src/github.com/valyala/fasttemplate/vendor/github.com/valyala/bytebufferpool/.travis.yml
+gopkg/src/github.com/valyala/fasttemplate/vendor/github.com/valyala/bytebufferpool/LICENSE
+gopkg/src/github.com/valyala/fasttemplate/vendor/github.com/valyala/bytebufferpool/README.md
+gopkg/src/github.com/valyala/fasttemplate/vendor/github.com/valyala/bytebufferpool/bytebuffer.go
+gopkg/src/github.com/valyala/fasttemplate/vendor/github.com/valyala/bytebufferpool/doc.go
+gopkg/src/github.com/valyala/fasttemplate/vendor/github.com/valyala/bytebufferpool/pool.go
+gopkg/src/github.com/valyala/fasttemplate/vendor/modules.txt
diff --git a/go-fasttemplate/buildlink3.mk b/go-fasttemplate/buildlink3.mk
new file mode 100644
index 0000000000..f22c8eab18
--- /dev/null
+++ b/go-fasttemplate/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-fasttemplate
+
+.if !defined(GO_FASTTEMPLATE_BUILDLINK3_MK)
+GO_FASTTEMPLATE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-fasttemplate=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-fasttemplate?=		build
+
+BUILDLINK_API_DEPENDS.go-fasttemplate+=	go-fasttemplate>=1.2.1
+BUILDLINK_PKGSRCDIR.go-fasttemplate?=	../../wip/go-fasttemplate
+.endif	# GO_FASTTEMPLATE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-fasttemplate
diff --git a/go-fasttemplate/distinfo b/go-fasttemplate/distinfo
new file mode 100644
index 0000000000..a7a21c0756
--- /dev/null
+++ b/go-fasttemplate/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-fasttemplate-1.2.1.tar.gz) = aed17045386829a0be92407c4ed4c21d15e8aae4
+RMD160 (go-fasttemplate-1.2.1.tar.gz) = b341bfcaf3e0b004ad4ad9994765818fba10ae59
+SHA512 (go-fasttemplate-1.2.1.tar.gz) = ad7a71ec9b9a40b2b17378b78ab97776315b3566d29edceab629cb8471e33ba14f5a8572f9baf5af7a3042905dd2ea53e997f98ba5865f3874aea8297864eaa0
+Size (go-fasttemplate-1.2.1.tar.gz) = 11550 bytes


Home | Main Index | Thread Index | Old Index