pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Add a package for the metadata module that is part...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f04a05ef41e1
branches: trunk
changeset: 651758:f04a05ef41e1
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon May 11 13:02:21 2015 +0000
description:
Add a package for the metadata module that is part of the Google Cloud
Platform support for Go. This is needed to break apart a circular dependency.
diffstat:
net/Makefile | 3 ++-
net/gcloud-golang-metadata/DESCR | 5 +++++
net/gcloud-golang-metadata/Makefile | 28 ++++++++++++++++++++++++++++
net/gcloud-golang-metadata/PLIST | 7 +++++++
net/gcloud-golang-metadata/buildlink3.mk | 15 +++++++++++++++
net/gcloud-golang-metadata/distinfo | 5 +++++
6 files changed, 62 insertions(+), 1 deletions(-)
diffs (97 lines):
diff -r 619796aafe97 -r f04a05ef41e1 net/Makefile
--- a/net/Makefile Mon May 11 11:09:07 2015 +0000
+++ b/net/Makefile Mon May 11 13:02:21 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1067 2015/04/30 06:22:33 mef Exp $
+# $NetBSD: Makefile,v 1.1068 2015/05/11 13:02:21 bsiegert Exp $
#
COMMENT= Networking tools
@@ -145,6 +145,7 @@
SUBDIR+= ftplibpp
SUBDIR+= ftpproxy
SUBDIR+= gated
+SUBDIR+= gcloud-golang-metadata
SUBDIR+= get-flash-videos
SUBDIR+= get_iplayer
SUBDIR+= gethost
diff -r 619796aafe97 -r f04a05ef41e1 net/gcloud-golang-metadata/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gcloud-golang-metadata/DESCR Mon May 11 13:02:21 2015 +0000
@@ -0,0 +1,5 @@
+Package metadata provides access to Google Compute Engine (GCE) metadata
+and API service accounts.
+
+This package is a wrapper around the GCE metadata service, as documented
+at https://developers.google.com/compute/docs/metadata.
diff -r 619796aafe97 -r f04a05ef41e1 net/gcloud-golang-metadata/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gcloud-golang-metadata/Makefile Mon May 11 13:02:21 2015 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2015/05/11 13:02:21 bsiegert Exp $
+#
+
+DISTNAME= gcloud-golang
+PKGNAME= gcloud-golang-metadata-20150310
+GITHUB_PROJECT= ${DISTNAME}
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_GITHUB:=GoogleCloudPlatform/}
+GITHUB_TAG= 9e1852f597
+
+MAINTAINER= bsiegert%NetBSD.org@localhost
+HOMEPAGE= http://golang.org/
+COMMENT= Google Compute Engine metadata package
+LICENSE= modified-bsd
+
+GO_SRCPATH= google.golang.org/cloud
+GO_BUILD_PATTERN= ${GO_SRCPATH}/compute/metadata
+GO_DIST_BASE= ${DISTNAME}-${GITHUB_TAG}*
+
+# Remove all code except compute/metadata and internal
+pre-patch:
+ ${RM} -fr ${WRKSRC}/[^ci]* ${WRKSRC}/cloud*go
+ ${RM} -fr ${WRKSRC}/internal/datastore
+ ${RM} -fr ${WRKSRC}/internal/testutil
+
+.include "../../net/go-net/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 619796aafe97 -r f04a05ef41e1 net/gcloud-golang-metadata/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gcloud-golang-metadata/PLIST Mon May 11 13:02:21 2015 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2015/05/11 13:02:21 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/cloud/compute/metadata.a
+gopkg/pkg/${GO_PLATFORM}/google.golang.org/cloud/internal.a
+gopkg/src/google.golang.org/cloud/compute/metadata/go13.go
+gopkg/src/google.golang.org/cloud/compute/metadata/metadata.go
+gopkg/src/google.golang.org/cloud/container/container.go
+gopkg/src/google.golang.org/cloud/internal/cloud.go
diff -r 619796aafe97 -r f04a05ef41e1 net/gcloud-golang-metadata/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gcloud-golang-metadata/buildlink3.mk Mon May 11 13:02:21 2015 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/05/11 13:02:21 bsiegert Exp $
+
+BUILDLINK_TREE+= gcloud-golang-metadata
+
+.if !defined(GCLOUD_GOLANG_METADATA_BUILDLINK3_MK)
+GCLOUD_GOLANG_METADATA_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gcloud-golang-metadata+= gcloud-golang-metadata>=20150310
+BUILDLINK_PKGSRCDIR.gcloud-golang-metadata?= ../../net/gcloud-golang-metadata
+BUILDLINK_DEPMETHOD.gcloud-golang-metadata?= build
+
+.include "../../net/go-net/buildlink3.mk"
+.endif # GCLOUD_GOLANG_METADATA_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -gcloud-golang-metadata
diff -r 619796aafe97 -r f04a05ef41e1 net/gcloud-golang-metadata/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gcloud-golang-metadata/distinfo Mon May 11 13:02:21 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/05/11 13:02:21 bsiegert Exp $
+
+SHA1 (gcloud-golang-9e1852f597.tar.gz) = 6c0ae291809c101ef2ddb1cd1d8c1bfc3fdcf53e
+RMD160 (gcloud-golang-9e1852f597.tar.gz) = 1da0c142082903868c2e878ba3101c1773d9cfb6
+Size (gcloud-golang-9e1852f597.tar.gz) = 88037 bytes
Home |
Main Index |
Thread Index |
Old Index