pkgsrc-WIP-changes archive

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

Import go-httphead-0.1.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 18 14:44:37 2021 +0100
Changeset:	f36b91ed6bf52bb8b50763a6396b1ad0b8c7ac2a

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

Log Message:
Import go-httphead-0.1.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=f36b91ed6bf52bb8b50763a6396b1ad0b8c7ac2a

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

diffstat:
 Makefile                  |  1 +
 go-httphead/DESCR         |  2 ++
 go-httphead/Makefile      | 18 ++++++++++++++++++
 go-httphead/PLIST         |  4 ++++
 go-httphead/PLISU         | 17 +++++++++++++++++
 go-httphead/buildlink3.mk | 15 +++++++++++++++
 go-httphead/distinfo      |  6 ++++++
 7 files changed, 63 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7058758de8..9662e4384a 100644
--- a/Makefile
+++ b/Makefile
@@ -1217,6 +1217,7 @@ SUBDIR+=	go-gorilla-schema
 SUBDIR+=	go-gorilla-securecookie
 SUBDIR+=	go-gorilla-sessions
 SUBDIR+=	go-gtk2
+SUBDIR+=	go-httphead
 SUBDIR+=	go-httpsnoop
 SUBDIR+=	go-humanize
 SUBDIR+=	go-imgui
diff --git a/go-httphead/DESCR b/go-httphead/DESCR
new file mode 100644
index 0000000000..7d1fd8e24a
--- /dev/null
+++ b/go-httphead/DESCR
@@ -0,0 +1,2 @@
+This library contains low-level functions for scanning
+ HTTP RFC2616 compatible header value grammars.
diff --git a/go-httphead/Makefile b/go-httphead/Makefile
new file mode 100644
index 0000000000..4a25ee76ff
--- /dev/null
+++ b/go-httphead/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-httphead-0.1.0
+GITHUB_PROJECT=	httphead
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=gobwas/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/gobwas/httphead/
+COMMENT=	Tiny HTTP header value parsing library in Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/gobwas/httphead/
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-httphead/PLIST b/go-httphead/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/go-httphead/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/go-httphead/PLISU b/go-httphead/PLISU
new file mode 100644
index 0000000000..738d6431e1
--- /dev/null
+++ b/go-httphead/PLISU
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/gobwas/httphead.a
+gopkg/src/github.com/gobwas/httphead/LICENSE
+gopkg/src/github.com/gobwas/httphead/README.md
+gopkg/src/github.com/gobwas/httphead/cookie.go
+gopkg/src/github.com/gobwas/httphead/cookie_test.go
+gopkg/src/github.com/gobwas/httphead/go.mod
+gopkg/src/github.com/gobwas/httphead/head.go
+gopkg/src/github.com/gobwas/httphead/head_test.go
+gopkg/src/github.com/gobwas/httphead/httphead.go
+gopkg/src/github.com/gobwas/httphead/httphead_test.go
+gopkg/src/github.com/gobwas/httphead/lexer.go
+gopkg/src/github.com/gobwas/httphead/lexer_test.go
+gopkg/src/github.com/gobwas/httphead/octet.go
+gopkg/src/github.com/gobwas/httphead/option.go
+gopkg/src/github.com/gobwas/httphead/writer.go
+gopkg/src/github.com/gobwas/httphead/writer_test.go
diff --git a/go-httphead/buildlink3.mk b/go-httphead/buildlink3.mk
new file mode 100644
index 0000000000..ff2edb8f68
--- /dev/null
+++ b/go-httphead/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-httphead
+
+.if !defined(GO_HTTPHEAD_BUILDLINK3_MK)
+GO_HTTPHEAD_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-httphead=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-httphead?=	build
+
+BUILDLINK_API_DEPENDS.go-httphead+=	go-httphead>=0.1.0
+BUILDLINK_PKGSRCDIR.go-httphead?=	../../wip/go-httphead
+.endif	# GO_HTTPHEAD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-httphead
diff --git a/go-httphead/distinfo b/go-httphead/distinfo
new file mode 100644
index 0000000000..2992f95fc5
--- /dev/null
+++ b/go-httphead/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-httphead-0.1.0.tar.gz) = 8ba6660b5095df42d926e3577eca8f9e2a87b46b
+RMD160 (go-httphead-0.1.0.tar.gz) = ac0ee06793952881360147c5cf723161d74b2611
+SHA512 (go-httphead-0.1.0.tar.gz) = b70daa88d036a2f260629d48570366c8f2d94af097e3619d11412e0985067c558e1ac85a550b6ead79ef76871ee9db5e7e1e336915b07482c20c4a6496a297a6
+Size (go-httphead-0.1.0.tar.gz) = 17212 bytes


Home | Main Index | Thread Index | Old Index