diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2017-01-24 17:22:09 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2017-01-24 17:22:09 +0000 |
commit | ffc6b315d9d2c02aeacefb9b108e7eea945cdd41 (patch) | |
tree | cf35db9ddb50bc46fc52a718a50f1b016f19f8fa /net | |
parent | a4977b2b79fece236899f10212dc60999e704ff6 (diff) | |
download | pkgsrc-ffc6b315d9d2c02aeacefb9b108e7eea945cdd41.tar.gz |
New package, go-ovh.
go-ovh is a lightweight Go wrapper around OVH's APIs. It handles all the hard
work including credential creation and request signing.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/go-ovh/DESCR | 2 | ||||
-rw-r--r-- | net/go-ovh/Makefile | 20 | ||||
-rw-r--r-- | net/go-ovh/PLIST | 14 | ||||
-rw-r--r-- | net/go-ovh/buildlink3.mk | 17 | ||||
-rw-r--r-- | net/go-ovh/distinfo | 6 |
6 files changed, 61 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile index bf5ae3e3027..42efa316a32 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1145 2017/01/24 13:48:57 mef Exp $ +# $NetBSD: Makefile,v 1.1146 2017/01/24 17:22:09 bsiegert Exp $ # COMMENT= Networking tools @@ -177,6 +177,7 @@ SUBDIR+= gnugk SUBDIR+= go-dns SUBDIR+= go-grpc SUBDIR+= go-net +SUBDIR+= go-ovh SUBDIR+= go-vultr SUBDIR+= gofish SUBDIR+= gopher diff --git a/net/go-ovh/DESCR b/net/go-ovh/DESCR new file mode 100644 index 00000000000..c68095107ad --- /dev/null +++ b/net/go-ovh/DESCR @@ -0,0 +1,2 @@ +go-ovh is a lightweight Go wrapper around OVH's APIs. It handles all the hard +work including credential creation and request signing. diff --git a/net/go-ovh/Makefile b/net/go-ovh/Makefile new file mode 100644 index 00000000000..209e7997cee --- /dev/null +++ b/net/go-ovh/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 2017/01/24 17:22:09 bsiegert Exp $ + +DISTNAME= go-ovh-0.20170102 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_GITHUB:=ovh/} +GITHUB_PROJECT= go-ovh +GITHUB_TAG= d2207178e10e4527e8f222fd8707982df8c3af17 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://${GO_SRCPATH} +COMMENT= Lightweight Go wrapper around OVH APIs +LICENSE= modified-bsd + +WRKSRC= ${WRKDIR} +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG} +GO_SRCPATH= github.com/ovh/go-ovh + +.include "../../devel/go-ini/buildlink3.mk" +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/go-ovh/PLIST b/net/go-ovh/PLIST new file mode 100644 index 00000000000..41b3e0cc7a5 --- /dev/null +++ b/net/go-ovh/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1 2017/01/24 17:22:09 bsiegert Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/ovh/go-ovh/ovh.a +gopkg/src/github.com/ovh/go-ovh/CONTRIBUTING.md +gopkg/src/github.com/ovh/go-ovh/LICENSE +gopkg/src/github.com/ovh/go-ovh/README.md +gopkg/src/github.com/ovh/go-ovh/ovh/configuration.go +gopkg/src/github.com/ovh/go-ovh/ovh/configuration_test.go +gopkg/src/github.com/ovh/go-ovh/ovh/consumer_key.go +gopkg/src/github.com/ovh/go-ovh/ovh/consumer_key_test.go +gopkg/src/github.com/ovh/go-ovh/ovh/error.go +gopkg/src/github.com/ovh/go-ovh/ovh/error_test.go +gopkg/src/github.com/ovh/go-ovh/ovh/ovh.go +gopkg/src/github.com/ovh/go-ovh/ovh/ovh_test.go +@pkgdir bin diff --git a/net/go-ovh/buildlink3.mk b/net/go-ovh/buildlink3.mk new file mode 100644 index 00000000000..8d155d71bd7 --- /dev/null +++ b/net/go-ovh/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/01/24 17:22:09 bsiegert Exp $ + +BUILDLINK_TREE+= go-ovh + +.if !defined(GO_OVH_BUILDLINK3_MK) +GO_OVH_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-ovh= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-ovh?= build + +BUILDLINK_API_DEPENDS.go-ovh+= go-ovh>=0.20170102 +BUILDLINK_PKGSRCDIR.go-ovh?= ../../net/go-ovh + +.include "../../devel/go-ini/buildlink3.mk" +.endif # GO_OVH_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-ovh diff --git a/net/go-ovh/distinfo b/net/go-ovh/distinfo new file mode 100644 index 00000000000..43aade91b2a --- /dev/null +++ b/net/go-ovh/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/01/24 17:22:09 bsiegert Exp $ + +SHA1 (go-ovh-0.20170102-d2207178e10e4527e8f222fd8707982df8c3af17.tar.gz) = df83ff178adb492c39d9f04da168421ab848cbaa +RMD160 (go-ovh-0.20170102-d2207178e10e4527e8f222fd8707982df8c3af17.tar.gz) = 99a436277ce7077df53f965081df323274395ad1 +SHA512 (go-ovh-0.20170102-d2207178e10e4527e8f222fd8707982df8c3af17.tar.gz) = 8b451ff9f0ccd2402dd52b3496ae00f61c48a0f2999d0a158d55287fc1a21d5abf51e5a2a9f0749ebb1f9ed1dc76ab5f5db098ddf2ba336c658826e26ff8296e +Size (go-ovh-0.20170102-d2207178e10e4527e8f222fd8707982df8c3af17.tar.gz) = 17840 bytes |