diff options
author | minskim <minskim@pkgsrc.org> | 2018-07-14 22:20:10 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2018-07-14 22:20:10 +0000 |
commit | e7aa46e5e3b8019ee123a957fee60f365537b0b5 (patch) | |
tree | 7039fcf58f5736b6ea1f5c14a92f6e9ebccdec6c /www/go-webhooks | |
parent | 9766aefe61dea73828af84ee9c79c987a975b04e (diff) | |
download | pkgsrc-e7aa46e5e3b8019ee123a957fee60f365537b0b5.tar.gz |
www/go-webhooks: Import version 3.12.0
Webhooks allows for easy receiving and parsing of GitHub, Bitbucket
and GitLab Webhook Events. It only accepts json payloads.
Diffstat (limited to 'www/go-webhooks')
-rw-r--r-- | www/go-webhooks/DESCR | 2 | ||||
-rw-r--r-- | www/go-webhooks/Makefile | 26 | ||||
-rw-r--r-- | www/go-webhooks/PLIST | 28 | ||||
-rw-r--r-- | www/go-webhooks/buildlink3.mk | 17 | ||||
-rw-r--r-- | www/go-webhooks/distinfo | 6 |
5 files changed, 79 insertions, 0 deletions
diff --git a/www/go-webhooks/DESCR b/www/go-webhooks/DESCR new file mode 100644 index 00000000000..fc27c222b7e --- /dev/null +++ b/www/go-webhooks/DESCR @@ -0,0 +1,2 @@ +Webhooks allows for easy receiving and parsing of GitHub, Bitbucket +and GitLab Webhook Events. It only accepts json payloads. diff --git a/www/go-webhooks/Makefile b/www/go-webhooks/Makefile new file mode 100644 index 00000000000..8a8ac87e835 --- /dev/null +++ b/www/go-webhooks/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2018/07/14 22:20:10 minskim Exp $ + +DISTNAME= webhooks-3.12.0 +PKGNAME= go-${DISTNAME} +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_GITHUB:=go-playground/} +GITHUB_PROJECT= ${PKGBASE:S/^go-//} +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= minskim@NetBSD.org +HOMEPAGE= https://github.com/go-playground/webhooks +COMMENT= Webhook receiver for GitHub, Bitbucket, and GitLab +LICENSE= mit + +SUBST_CLASSES+= import +SUBST_STAGE.import= pre-configure +SUBST_MESSAGE.import= Fixing import paths for go-gogs-client. +SUBST_FILES.import= gogs/gogs.go +SUBST_SED.import= -e 's,/gogits/,/gogs/,g' + +GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV} +GO_SRCPATH= gopkg.in/go-playground/webhooks.v3 + +.include "../../www/go-gogs-client/buildlink3.mk" +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/go-webhooks/PLIST b/www/go-webhooks/PLIST new file mode 100644 index 00000000000..956046d22c0 --- /dev/null +++ b/www/go-webhooks/PLIST @@ -0,0 +1,28 @@ +@comment $NetBSD: PLIST,v 1.1 2018/07/14 22:20:10 minskim Exp $ +bin/custom-logger +bin/multiple-handlers +bin/single-handler +gopkg/pkg/${GO_PLATFORM}/gopkg.in/go-playground/webhooks.v3.a +gopkg/pkg/${GO_PLATFORM}/gopkg.in/go-playground/webhooks.v3/bitbucket.a +gopkg/pkg/${GO_PLATFORM}/gopkg.in/go-playground/webhooks.v3/github.a +gopkg/pkg/${GO_PLATFORM}/gopkg.in/go-playground/webhooks.v3/gitlab.a +gopkg/pkg/${GO_PLATFORM}/gopkg.in/go-playground/webhooks.v3/gogs.a +gopkg/src/gopkg.in/go-playground/webhooks.v3/LICENSE +gopkg/src/gopkg.in/go-playground/webhooks.v3/README.md +gopkg/src/gopkg.in/go-playground/webhooks.v3/bitbucket/bitbucket.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/bitbucket/bitbucket_test.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/bitbucket/payload.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/examples/custom-logger/main.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/examples/multiple-handlers/main.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/examples/single-handler/main.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/github/github.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/github/github_test.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/github/payload.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/gitlab/gitlab.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/gitlab/gitlab_test.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/gitlab/payload.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/gogs/gogs.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/logger.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/logo.png +gopkg/src/gopkg.in/go-playground/webhooks.v3/webhooks.go +gopkg/src/gopkg.in/go-playground/webhooks.v3/webhooks_test.go diff --git a/www/go-webhooks/buildlink3.mk b/www/go-webhooks/buildlink3.mk new file mode 100644 index 00000000000..0ba3fb1e560 --- /dev/null +++ b/www/go-webhooks/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/07/14 22:20:10 minskim Exp $ + +BUILDLINK_TREE+= go-webhooks + +.if !defined(GO_WEBHOOKS_BUILDLINK3_MK) +GO_WEBHOOKS_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-webhooks= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-webhooks?= build + +BUILDLINK_API_DEPENDS.go-webhooks+= go-webhooks>=3.12.0 +BUILDLINK_PKGSRCDIR.go-webhooks?= ../../www/go-webhooks + +.include "../../www/go-gogs-client/buildlink3.mk" +.endif # GO_WEBHOOKS_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-webhooks diff --git a/www/go-webhooks/distinfo b/www/go-webhooks/distinfo new file mode 100644 index 00000000000..23ce293b652 --- /dev/null +++ b/www/go-webhooks/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/07/14 22:20:10 minskim Exp $ + +SHA1 (webhooks-3.12.0.tar.gz) = f9192218a173130d68073c1b3c43d489f077c3db +RMD160 (webhooks-3.12.0.tar.gz) = b65e2c7d2eaf4e159cfe21743002f1244745eeca +SHA512 (webhooks-3.12.0.tar.gz) = b3dd18b316be54ba0234b750ab97da2cdbdf9ae5c37f3682b3f8c2c3df4ca7adc95b1ccc6b747db1082142231998c8ae27d2930c609fd0b67334065e9eb3dd3f +Size (webhooks-3.12.0.tar.gz) = 55116 bytes |