pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net New package, go-ovh.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6ba8e3dca06
branches:  trunk
changeset: 357628:c6ba8e3dca06
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Jan 24 17:22:09 2017 +0000

description:
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:

 net/Makefile             |   3 ++-
 net/go-ovh/DESCR         |   2 ++
 net/go-ovh/Makefile      |  20 ++++++++++++++++++++
 net/go-ovh/PLIST         |  14 ++++++++++++++
 net/go-ovh/buildlink3.mk |  17 +++++++++++++++++
 net/go-ovh/distinfo      |   6 ++++++
 6 files changed, 61 insertions(+), 1 deletions(-)

diffs (96 lines):

diff -r 9976c223227a -r c6ba8e3dca06 net/Makefile
--- a/net/Makefile      Tue Jan 24 17:20:19 2017 +0000
+++ b/net/Makefile      Tue Jan 24 17:22:09 2017 +0000
@@ -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+=       go-dns
 SUBDIR+=       go-grpc
 SUBDIR+=       go-net
+SUBDIR+=       go-ovh
 SUBDIR+=       go-vultr
 SUBDIR+=       gofish
 SUBDIR+=       gopher
diff -r 9976c223227a -r c6ba8e3dca06 net/go-ovh/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-ovh/DESCR  Tue Jan 24 17:22:09 2017 +0000
@@ -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 -r 9976c223227a -r c6ba8e3dca06 net/go-ovh/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-ovh/Makefile       Tue Jan 24 17:22:09 2017 +0000
@@ -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@localhost
+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 -r 9976c223227a -r c6ba8e3dca06 net/go-ovh/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-ovh/PLIST  Tue Jan 24 17:22:09 2017 +0000
@@ -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 -r 9976c223227a -r c6ba8e3dca06 net/go-ovh/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-ovh/buildlink3.mk  Tue Jan 24 17:22:09 2017 +0000
@@ -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 -r 9976c223227a -r c6ba8e3dca06 net/go-ovh/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-ovh/distinfo       Tue Jan 24 17:22:09 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index