Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2019 23:54:22 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508038 - in head/net: . google-cloud-sdk-app-engine-go google-cloud-sdk-app-engine-go/files
Message-ID:  <201908032354.x73NsMdA093874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Aug  3 23:54:22 2019
New Revision: 508038
URL: https://svnweb.freebsd.org/changeset/ports/508038

Log:
  New port: net/google-cloud-sdk-app-engine-go: Google Cloud SDK App Engine Go Extensions
  
  PR:		238632
  Submitted by:	Dmitri Goutnik <dg@syrec.org>

Added:
  head/net/google-cloud-sdk-app-engine-go/
  head/net/google-cloud-sdk-app-engine-go/Makefile   (contents, props changed)
  head/net/google-cloud-sdk-app-engine-go/distinfo   (contents, props changed)
  head/net/google-cloud-sdk-app-engine-go/files/
  head/net/google-cloud-sdk-app-engine-go/files/app-engine-go.snapshot.json   (contents, props changed)
  head/net/google-cloud-sdk-app-engine-go/pkg-descr   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sat Aug  3 23:38:03 2019	(r508037)
+++ head/net/Makefile	Sat Aug  3 23:54:22 2019	(r508038)
@@ -198,6 +198,7 @@
     SUBDIR += gofish
     SUBDIR += gogoc
     SUBDIR += google-cloud-sdk
+    SUBDIR += google-cloud-sdk-app-engine-go
     SUBDIR += googlecl
     SUBDIR += gopher
     SUBDIR += goreplay

Added: head/net/google-cloud-sdk-app-engine-go/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/google-cloud-sdk-app-engine-go/Makefile	Sat Aug  3 23:54:22 2019	(r508038)
@@ -0,0 +1,52 @@
+# $FreeBSD$
+
+PORTNAME=	google-cloud-sdk-app-engine-go
+DISTVERSION=	g20181102165140
+CATEGORIES=	net
+MASTER_SITES=	https://dl.google.com/dl/cloudsdk/channels/rapid/components/
+DISTNAME=	${PORTNAME}-linux-x86_64-${DISTVERSION:S/^g//}
+
+MAINTAINER=	dg@syrec.org
+COMMENT=	Google Cloud SDK App Engine Go Extensions
+
+LICENSE=	APACHE20 BSD3CLAUSE
+LICENSE_COMB=	multi
+LICENSE_FILE_APACHE20=	${WRKDIR}/platform/google_appengine/LICENSE.golang
+LICENSE_FILE_BSD3CLAUSE=	${WRKDIR}/platform/google_appengine/goroot-1.9/LICENSE
+
+ONLY_FOR_ARCHS=	amd64 i386
+
+RUN_DEPENDS=	gcloud:net/google-cloud-sdk
+
+USES=		go
+
+do-build:
+	(cd ${WRKDIR}/platform/google_appengine/goroot-1.9/src && \
+		${SETENV} ${MAKE_ENV} \
+		GOROOT_BOOTSTRAP=${LOCALBASE}/go \
+		${SH} make.bash); \
+	(cd ${WRKDIR}/platform/google_appengine/goroot-1.9/bin && \
+		${RM} cover goapp godoc);
+	(cd ${WRKDIR}/platform/google_appengine/goroot-1.9/pkg && \
+		${RM} -rf bootstrap linux_amd64_appengine obj tool/linux_amd64);
+
+do-install:
+	(cd ${WRKDIR} && ${COPYTREE_SHARE} platform ${STAGEDIR}${PREFIX}/google-cloud-sdk)
+	(cd ${STAGEDIR}${PREFIX} && \
+		${FIND} google-cloud-sdk/platform/google_appengine/goroot-1.9/bin -type f -exec ${CHMOD} +x {} \;);
+	${MV} ${STAGEDIR}${PREFIX}/google-cloud-sdk//platform/google_appengine/goroot-1.9/bin/go-app-stager \
+		${STAGEDIR}${PREFIX}/google-cloud-sdk/platform/google_appengine/;
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/google-cloud-sdk/platform/google_appengine/go-app-stager
+	${MKDIR} ${STAGEDIR}${PREFIX}/google-cloud-sdk/.install
+	${INSTALL_DATA} ${FILESDIR}/app-engine-go.snapshot.json ${STAGEDIR}${PREFIX}/google-cloud-sdk/.install/
+	${TOUCH} ${STAGEDIR}${PREFIX}/google-cloud-sdk/.install/app-engine-go.manifest
+
+post-install:
+	@(cd ${STAGEDIR}${PREFIX} && \
+		${FIND} -s google-cloud-sdk -type f -o -type l >> ${TMPPLIST})
+
+find-new-version:
+	@(v=$$(${FETCH_CMD} -qo- ${MASTER_SITES:H:H}/components-2.json | ${SED} -nE '/${DISTNAME:S|-${DISTVERSION:S|^g||}||}/s/.*-([0-9]{14})\..*/\1/p' ); \
+		[ $$v -gt ${DISTVERSION:S|^g||} ] && ${ECHO} "Found new version $$v") || ${ECHO} "No new version was found"
+
+.include <bsd.port.mk>

Added: head/net/google-cloud-sdk-app-engine-go/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/google-cloud-sdk-app-engine-go/distinfo	Sat Aug  3 23:54:22 2019	(r508038)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1550518372
+SHA256 (google-cloud-sdk-app-engine-go-linux-x86_64-20181102165140.tar.gz) = 15cc3ff0072e77b1740bd31e594398c98a409685784f5378442b10c7baa51613
+SIZE (google-cloud-sdk-app-engine-go-linux-x86_64-20181102165140.tar.gz) = 59310816

Added: head/net/google-cloud-sdk-app-engine-go/files/app-engine-go.snapshot.json
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/google-cloud-sdk-app-engine-go/files/app-engine-go.snapshot.json	Sat Aug  3 23:54:22 2019	(r508038)
@@ -0,0 +1,29 @@
+{
+  "components": [
+    {
+      "dependencies": [
+        "core"
+      ], 
+      "details": {
+        "description": "Provides the tools to develop Go applications on App Engine.", 
+        "display_name": "App Engine Go Extensions"
+      }, 
+      "id": "app-engine-go", 
+      "is_configuration": false, 
+      "is_hidden": false, 
+      "is_required": false, 
+      "platform": {}, 
+      "version": {
+        "build_number": 0, 
+        "version_string": ""
+      }
+    }
+  ], 
+  "revision": 0, 
+  "schema_version": {
+    "no_update": false, 
+    "url": "https://dl.google.com/dl/cloudsdk/channels/rapid/google-cloud-sdk.tar.gz", 
+    "version": 0
+  }, 
+  "version": ""
+}

Added: head/net/google-cloud-sdk-app-engine-go/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/google-cloud-sdk-app-engine-go/pkg-descr	Sat Aug  3 23:54:22 2019	(r508038)
@@ -0,0 +1,7 @@
+Google Cloud SDK contains tools and libraries that enable you to easily create
+and manage resources on Google Cloud Platform, including App Engine, Compute
+Engine, Cloud Storage, BigQuery, Cloud SQL, and Cloud DNS.
+
+This port installs Google Cloud SDK "App Engine Go Extensions" component.
+
+WWW: https://cloud.google.com/sdk/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908032354.x73NsMdA093874>