pkgsrc-WIP-changes archive

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

go-rest: import go-rest-2.4.1 as wip/go-rest



Module Name:	pkgsrc-wip
Committed By:	Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By:	nee
Date:		Sun Jun 17 18:38:45 2018 +0100
Changeset:	c9ba09b639e1fe02e51ad9aad08315463d3353cc

Added Files:
	go-rest/DESCR
	go-rest/Makefile
	go-rest/PLIST
	go-rest/buildlink3.mk
	go-rest/distinfo

Log Message:
go-rest: import go-rest-2.4.1 as wip/go-rest

Quickly and easily access any RESTful or RESTful-like API.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9ba09b639e1fe02e51ad9aad08315463d3353cc

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

diffstat:
 go-rest/DESCR         |  1 +
 go-rest/Makefile      | 19 +++++++++++++++++++
 go-rest/PLIST         | 13 +++++++++++++
 go-rest/buildlink3.mk | 15 +++++++++++++++
 go-rest/distinfo      |  6 ++++++
 5 files changed, 54 insertions(+)

diffs:
diff --git a/go-rest/DESCR b/go-rest/DESCR
new file mode 100644
index 0000000000..a024be9386
--- /dev/null
+++ b/go-rest/DESCR
@@ -0,0 +1 @@
+Quickly and easily access any RESTful or RESTful-like API.
diff --git a/go-rest/Makefile b/go-rest/Makefile
new file mode 100644
index 0000000000..76b2cc40a8
--- /dev/null
+++ b/go-rest/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	go-rest-2.4.1
+CATEGORIES=	devel www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=sendgrid/}
+GITHUB_PROJECT=	rest
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+HOMEPAGE=	https://github.com/sendgrid/rest
+COMMENT=	SendGrid's Golang HTTP Client for calling APIs
+LICENSE=	mit
+
+EXTRACT_USING=	bsdtar
+
+GO_SRCPATH=	github.com/sendgrid/rest/
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-rest/PLIST b/go-rest/PLIST
new file mode 100644
index 0000000000..cfc2b2f3a7
--- /dev/null
+++ b/go-rest/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+bin/examples
+gopkg/pkg/${GO_PLATFORM}/github.com/sendgrid/rest.a
+gopkg/src/github.com/sendgrid/rest/CHANGELOG.md
+gopkg/src/github.com/sendgrid/rest/CODE_OF_CONDUCT.md
+gopkg/src/github.com/sendgrid/rest/CONTRIBUTING.md
+gopkg/src/github.com/sendgrid/rest/LICENSE.txt
+gopkg/src/github.com/sendgrid/rest/README.md
+gopkg/src/github.com/sendgrid/rest/TROUBLESHOOTING.md
+gopkg/src/github.com/sendgrid/rest/USAGE.md
+gopkg/src/github.com/sendgrid/rest/examples/example.go
+gopkg/src/github.com/sendgrid/rest/rest.go
+gopkg/src/github.com/sendgrid/rest/rest_test.go
diff --git a/go-rest/buildlink3.mk b/go-rest/buildlink3.mk
new file mode 100644
index 0000000000..6eeb2fce1e
--- /dev/null
+++ b/go-rest/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-rest
+
+.if !defined(GO_REST_BUILDLINK3_MK)
+GO_YAML_GHODSS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-rest=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-rest?=		build
+
+BUILDLINK_API_DEPENDS.go-rest+=		go-rest>=0.0
+BUILDLINK_PKGSRCDIR.go-rest?=		../../wip/go-rest
+.endif  # GO_REST_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-rest
diff --git a/go-rest/distinfo b/go-rest/distinfo
new file mode 100644
index 0000000000..290532f488
--- /dev/null
+++ b/go-rest/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-rest-2.4.1.tar.gz) = 17bfc7319f5b0e181f61f1a45175896813f28bde
+RMD160 (go-rest-2.4.1.tar.gz) = 9c455f046ae5977cb86089084b29fea63b72203c
+SHA512 (go-rest-2.4.1.tar.gz) = eab918632175b8d075de96ba34aae1e52dbba5d934944db6f9076827e557feed51a65663e80fe966d0cb9ba7fa5333d4319a30e85a783c24800b31868dbc2031
+Size (go-rest-2.4.1.tar.gz) = 14187 bytes


Home | Main Index | Thread Index | Old Index