pkgsrc-WIP-changes archive

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

Import go-gorilla-mux-1.8.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:05:14 2021 +0100
Changeset:	9ec0338f988d266d0b5d22d6c713aa5115afc160

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

Log Message:
Import go-gorilla-mux-1.8.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=9ec0338f988d266d0b5d22d6c713aa5115afc160

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

diffstat:
 Makefile                     |  1 +
 go-gorilla-mux/DESCR         |  7 +++++++
 go-gorilla-mux/Makefile      | 18 ++++++++++++++++++
 go-gorilla-mux/PLIST         | 21 +++++++++++++++++++++
 go-gorilla-mux/buildlink3.mk | 15 +++++++++++++++
 go-gorilla-mux/distinfo      |  6 ++++++
 6 files changed, 68 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c0ff26aed2..db4d15bcbc 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-mux
 SUBDIR+=	go-gorilla-schema
 SUBDIR+=	go-gorilla-securecookie
 SUBDIR+=	go-gtk2
diff --git a/go-gorilla-mux/DESCR b/go-gorilla-mux/DESCR
new file mode 100644
index 0000000000..4d78d84ace
--- /dev/null
+++ b/go-gorilla-mux/DESCR
@@ -0,0 +1,7 @@
+Package gorilla/mux implements a request router
+and dispatcher for matching incoming requests to
+their respective handler. The name mux stands for
+"HTTP request multiplexer. Like the standard
+http.ServeMux, mux.Router matches incoming requests
+against a list of registered routes and calls a handler
+for the route that matches the URL or other conditions.
diff --git a/go-gorilla-mux/Makefile b/go-gorilla-mux/Makefile
new file mode 100644
index 0000000000..d523a6a228
--- /dev/null
+++ b/go-gorilla-mux/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-gorilla-mux-1.8.0
+GITHUB_PROJECT=	mux
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=gorilla/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/gorilla/mux/
+COMMENT=	Powerful HTTP router and URL matcher for building Go web servers
+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-mux/PLIST b/go-gorilla-mux/PLIST
new file mode 100644
index 0000000000..bdf7f0328e
--- /dev/null
+++ b/go-gorilla-mux/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/gorilla/mux.a
+gopkg/src/github.com/gorilla/mux/AUTHORS
+gopkg/src/github.com/gorilla/mux/LICENSE
+gopkg/src/github.com/gorilla/mux/README.md
+gopkg/src/github.com/gorilla/mux/bench_test.go
+gopkg/src/github.com/gorilla/mux/doc.go
+gopkg/src/github.com/gorilla/mux/example_authentication_middleware_test.go
+gopkg/src/github.com/gorilla/mux/example_cors_method_middleware_test.go
+gopkg/src/github.com/gorilla/mux/example_route_test.go
+gopkg/src/github.com/gorilla/mux/go.mod
+gopkg/src/github.com/gorilla/mux/middleware.go
+gopkg/src/github.com/gorilla/mux/middleware_test.go
+gopkg/src/github.com/gorilla/mux/mux.go
+gopkg/src/github.com/gorilla/mux/mux_httpserver_test.go
+gopkg/src/github.com/gorilla/mux/mux_test.go
+gopkg/src/github.com/gorilla/mux/old_test.go
+gopkg/src/github.com/gorilla/mux/regexp.go
+gopkg/src/github.com/gorilla/mux/regexp_test.go
+gopkg/src/github.com/gorilla/mux/route.go
+gopkg/src/github.com/gorilla/mux/test_helpers.go
diff --git a/go-gorilla-mux/buildlink3.mk b/go-gorilla-mux/buildlink3.mk
new file mode 100644
index 0000000000..907efa5924
--- /dev/null
+++ b/go-gorilla-mux/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-gorilla-mux
+
+.if !defined(GO_GORILLA_MUX_BUILDLINK3_MK)
+GO_GORILLA_MUX_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-gorilla-mux=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-gorilla-mux?=		build
+
+BUILDLINK_API_DEPENDS.go-gorilla-mux+=	go-gorilla-mux>=1.8.0
+BUILDLINK_PKGSRCDIR.go-gorilla-mux?=	../../wip/go-gorilla-mux
+.endif	# GO_GORILLA_MUX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-gorilla-mux
diff --git a/go-gorilla-mux/distinfo b/go-gorilla-mux/distinfo
new file mode 100644
index 0000000000..925b6f9714
--- /dev/null
+++ b/go-gorilla-mux/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-gorilla-mux-1.8.0.tar.gz) = 1819947946ac0fd15e008896e41d3d96fdd3d6a3
+RMD160 (go-gorilla-mux-1.8.0.tar.gz) = 993327f10db2d5759161c7281ef83625b5ce93fc
+SHA512 (go-gorilla-mux-1.8.0.tar.gz) = d0c470c28813c72622830253fdc91ef60b54868ce84234351f62478a73311c15bf734fed6bd57d59afb10df54b0b21efeeacea642b7c0b3637082c4b53229176
+Size (go-gorilla-mux-1.8.0.tar.gz) = 45517 bytes


Home | Main Index | Thread Index | Old Index