pkgsrc-WIP-changes archive

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

Import jennifer-1.4.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Sun Jan 24 23:15:24 2021 +0100
Changeset:	2ea43ce542482a498d121707e3d70366efa30637

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

Log Message:
Import jennifer-1.4.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=2ea43ce542482a498d121707e3d70366efa30637

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

diffstat:
 Makefile                  |  1 +
 go-jennifer/DESCR         |  1 +
 go-jennifer/Makefile      | 19 +++++++++++++++++++
 go-jennifer/PLIST         | 38 ++++++++++++++++++++++++++++++++++++++
 go-jennifer/buildlink3.mk | 15 +++++++++++++++
 go-jennifer/distinfo      |  6 ++++++
 go-rtp/buildlink3.mk      |  2 +-
 7 files changed, 81 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 638e34e48f..ec9f83bf57 100644
--- a/Makefile
+++ b/Makefile
@@ -1238,6 +1238,7 @@ SUBDIR+=	go-humanize
 SUBDIR+=	go-imgui
 SUBDIR+=	go-incremental
 SUBDIR+=	go-intern
+SUBDIR+=	go-jennifer
 SUBDIR+=	go-jettison
 SUBDIR+=	go-jira
 SUBDIR+=	go-jpillora-backoff
diff --git a/go-jennifer/DESCR b/go-jennifer/DESCR
new file mode 100644
index 0000000000..ab4c4d51c7
--- /dev/null
+++ b/go-jennifer/DESCR
@@ -0,0 +1 @@
+Jennifer is a code generator for Go
diff --git a/go-jennifer/Makefile b/go-jennifer/Makefile
new file mode 100644
index 0000000000..d1adc59a2a
--- /dev/null
+++ b/go-jennifer/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	jennifer-1.4.1
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	jennifer
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dave/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/dave/jennifer/
+COMMENT=	Jennifer is a code generator for Go
+#LICENSE=	# TODO: (see mk/license.mk)
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/dave/jennifer
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-jennifer/PLIST b/go-jennifer/PLIST
new file mode 100644
index 0000000000..7e36dda4c9
--- /dev/null
+++ b/go-jennifer/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+bin/genjen
+bin/gennames
+gopkg/pkg/${GO_PLATFORM}/github.com/dave/jennifer.a
+gopkg/pkg/${GO_PLATFORM}/github.com/dave/jennifer/jen.a
+gopkg/src/github.com/dave/jennifer/LICENSE
+gopkg/src/github.com/dave/jennifer/README.md
+gopkg/src/github.com/dave/jennifer/README.md.tpl
+gopkg/src/github.com/dave/jennifer/genjen/data.go
+gopkg/src/github.com/dave/jennifer/genjen/main.go
+gopkg/src/github.com/dave/jennifer/genjen/render.go
+gopkg/src/github.com/dave/jennifer/genjen/render_test.go
+gopkg/src/github.com/dave/jennifer/gennames/README.md
+gopkg/src/github.com/dave/jennifer/gennames/hints.go
+gopkg/src/github.com/dave/jennifer/gennames/main.go
+gopkg/src/github.com/dave/jennifer/go.mod
+gopkg/src/github.com/dave/jennifer/jen/add.go
+gopkg/src/github.com/dave/jennifer/jen/comments.go
+gopkg/src/github.com/dave/jennifer/jen/custom.go
+gopkg/src/github.com/dave/jennifer/jen/dict.go
+gopkg/src/github.com/dave/jennifer/jen/do.go
+gopkg/src/github.com/dave/jennifer/jen/examples_test.go
+gopkg/src/github.com/dave/jennifer/jen/file.go
+gopkg/src/github.com/dave/jennifer/jen/file_test.go
+gopkg/src/github.com/dave/jennifer/jen/generated.go
+gopkg/src/github.com/dave/jennifer/jen/generated_test.go
+gopkg/src/github.com/dave/jennifer/jen/group.go
+gopkg/src/github.com/dave/jennifer/jen/group_test.go
+gopkg/src/github.com/dave/jennifer/jen/hints.go
+gopkg/src/github.com/dave/jennifer/jen/jen.go
+gopkg/src/github.com/dave/jennifer/jen/jen_test.go
+gopkg/src/github.com/dave/jennifer/jen/lit.go
+gopkg/src/github.com/dave/jennifer/jen/reserved.go
+gopkg/src/github.com/dave/jennifer/jen/statement.go
+gopkg/src/github.com/dave/jennifer/jen/statement_test.go
+gopkg/src/github.com/dave/jennifer/jen/tag.go
+gopkg/src/github.com/dave/jennifer/jen/tokens.go
+gopkg/src/github.com/dave/jennifer/jennifer.go
diff --git a/go-jennifer/buildlink3.mk b/go-jennifer/buildlink3.mk
new file mode 100644
index 0000000000..ee47de7bfb
--- /dev/null
+++ b/go-jennifer/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-jennifer
+
+.if !defined(GO_JENNIFER_BUILDLINK3_MK)
+GO_JENNIFER_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-jennifer=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-jennifer?=	build
+
+BUILDLINK_API_DEPENDS.go-jennifer+=	go-jennifer>=1.4.1
+BUILDLINK_PKGSRCDIR.go-jennifer?=	../../wip/go-jennifer
+.endif	# GO_JENNIFER_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-jennifer
diff --git a/go-jennifer/distinfo b/go-jennifer/distinfo
new file mode 100644
index 0000000000..f1cd3dad19
--- /dev/null
+++ b/go-jennifer/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (jennifer-1.4.1.tar.gz) = d177f9f11d52141ff1fc0b53bc3fb25d25a1ff7e
+RMD160 (jennifer-1.4.1.tar.gz) = 224b10ca57292b5a8474227ebda14f4b47040e73
+SHA512 (jennifer-1.4.1.tar.gz) = 06153a610e5f3f09f7d1ecf4c35a190d7120b1151330b720e999e8c0ed0df426c95f241cb29197b3c8c6b976aa4a37943124da19a6a17b10b3608e63780a62e9
+Size (jennifer-1.4.1.tar.gz) = 41977 bytes
diff --git a/go-rtp/buildlink3.mk b/go-rtp/buildlink3.mk
index 87e51f3555..dd5e63e0c5 100644
--- a/go-rtp/buildlink3.mk
+++ b/go-rtp/buildlink3.mk
@@ -9,7 +9,7 @@ BUILDLINK_CONTENTS_FILTER.go-rtp=	${EGREP} gopkg/
 BUILDLINK_DEPMETHOD.go-rtp?=		build
 
 BUILDLINK_API_DEPENDS.go-rtp+=	go-rtp>=1.6.2
-BUILDLINK_PKGSRCDIR.go-rtp?=	../../wip/pgo-rtp
+BUILDLINK_PKGSRCDIR.go-rtp?=	../../wip/go-rtp
 
 .include "../../wip/go-randutil/buildlink3.mk"
 .endif	# GO_RTP_BUILDLINK3_MK


Home | Main Index | Thread Index | Old Index