pkgsrc-WIP-changes archive

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

Import go-gorilla-schema-1.2.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 12 10:03:35 2021 +0100
Changeset:	e8bbf476c6eefb0b8deea85ff5740ebdf232741b

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

Log Message:
Import go-gorilla-schema-1.2.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=e8bbf476c6eefb0b8deea85ff5740ebdf232741b

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

diffstat:
 Makefile                        |  1 +
 go-gorilla-schema/DESCR         |  1 +
 go-gorilla-schema/Makefile      | 18 ++++++++++++++++++
 go-gorilla-schema/PLIST         | 11 +++++++++++
 go-gorilla-schema/buildlink3.mk | 15 +++++++++++++++
 go-gorilla-schema/distinfo      |  6 ++++++
 6 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index fd5516d236..c0ff26aed2 100644
--- a/Makefile
+++ b/Makefile
@@ -1205,6 +1205,7 @@ SUBDIR+=	go-gopacket
 SUBDIR+=	go-goquery
 SUBDIR+=	go-goreferrer
 SUBDIR+=	go-gorilla-css
+SUBDIR+=	go-gorilla-schema
 SUBDIR+=	go-gorilla-securecookie
 SUBDIR+=	go-gtk2
 SUBDIR+=	go-httpsnoop
diff --git a/go-gorilla-schema/DESCR b/go-gorilla-schema/DESCR
new file mode 100644
index 0000000000..1d7728213a
--- /dev/null
+++ b/go-gorilla-schema/DESCR
@@ -0,0 +1 @@
+Package gorilla/schema converts structs to and from form values
diff --git a/go-gorilla-schema/Makefile b/go-gorilla-schema/Makefile
new file mode 100644
index 0000000000..2c6725cf0a
--- /dev/null
+++ b/go-gorilla-schema/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-gorilla-schema-1.2.0
+GITHUB_PROJECT=	schema
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=gorilla/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/gorilla/schema/
+COMMENT=	Package gorilla/schema fills a struct with form values
+LICENSE=	2-clause-bsd
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/gorilla/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-gorilla-schema/PLIST b/go-gorilla-schema/PLIST
new file mode 100644
index 0000000000..34a77c3691
--- /dev/null
+++ b/go-gorilla-schema/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/gorilla/schema.a
+gopkg/src/github.com/gorilla/schema/LICENSE
+gopkg/src/github.com/gorilla/schema/README.md
+gopkg/src/github.com/gorilla/schema/cache.go
+gopkg/src/github.com/gorilla/schema/converter.go
+gopkg/src/github.com/gorilla/schema/decoder.go
+gopkg/src/github.com/gorilla/schema/decoder_test.go
+gopkg/src/github.com/gorilla/schema/doc.go
+gopkg/src/github.com/gorilla/schema/encoder.go
+gopkg/src/github.com/gorilla/schema/encoder_test.go
diff --git a/go-gorilla-schema/buildlink3.mk b/go-gorilla-schema/buildlink3.mk
new file mode 100644
index 0000000000..b7810a5858
--- /dev/null
+++ b/go-gorilla-schema/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-gorilla-schema
+
+.if !defined(GO_GORILLA_SCHEMA_BUILDLINK3_MK)
+GO_GORILLA_SCHEMA_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-gorilla-schema=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-gorilla-schema?=		build
+
+BUILDLINK_API_DEPENDS.go-gorilla-schema+=	go-gorilla-schema>=1.2.0
+BUILDLINK_PKGSRCDIR.go-gorilla-schema?=		../../wip/go-gorilla-schema
+.endif	# GO_GORILLA_SCHEMA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-gorilla-schema
diff --git a/go-gorilla-schema/distinfo b/go-gorilla-schema/distinfo
new file mode 100644
index 0000000000..2b77dcdb1d
--- /dev/null
+++ b/go-gorilla-schema/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-gorilla-schema-1.2.0.tar.gz) = 4eb43a85d5cc9154b933d15c24909e5d8215bc4b
+RMD160 (go-gorilla-schema-1.2.0.tar.gz) = b1accda036d53dd2a65f7c175a184072757b8c6e
+SHA512 (go-gorilla-schema-1.2.0.tar.gz) = 4479db70c242bbd3c7e0b7a1fd249b6da2143027a9360647f5aadf555b90c4a3f6d24c3af3f1da9e0f1a3c5c894e158c73fc2aca3f22ff6f594ba6afbe108d02
+Size (go-gorilla-schema-1.2.0.tar.gz) = 23467 bytes


Home | Main Index | Thread Index | Old Index