Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2024 05:59:16 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0187eaff26b2 - main - net/google-cloud-sdk: Update version 463.0.0=>464.0.0
Message-ID:  <202402140559.41E5xG67066774@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0187eaff26b280f04b050a969e43783aedd3153b

commit 0187eaff26b280f04b050a969e43783aedd3153b
Author:     Norikatsu Shigemura <nork@FreeBSD.org>
AuthorDate: 2024-02-14 05:54:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-14 05:59:06 +0000

    net/google-cloud-sdk: Update version 463.0.0=>464.0.0
    
    - Removed the OPTION BASH and ZSH. Despit he naming the files are
      actually to generate shell completions functions rather then shell
      completions function itself. Somehow I had a personalized shell
      completion function in my dotfiles which took precedence which is why
      I never found it out myself. [1]
    
    PR:             276925 [1]
---
 net/google-cloud-sdk/Makefile             | 18 ++----------------
 net/google-cloud-sdk/distinfo             |  6 +++---
 net/google-cloud-sdk/files/pkg-message.in | 10 ++++++++++
 3 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/net/google-cloud-sdk/Makefile b/net/google-cloud-sdk/Makefile
index eb9a7631fb6d..b85d1d3f5e9c 100644
--- a/net/google-cloud-sdk/Makefile
+++ b/net/google-cloud-sdk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	google-cloud-sdk
-DISTVERSION=	463.0.0
+DISTVERSION=	464.0.0
 CATEGORIES=	net
 MASTER_SITES=	https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/
 DISTNAME=	google-cloud-sdk-${PORTVERSION}-linux-x86_64
@@ -25,11 +25,7 @@ PLIST_FILES=	bin/bq \
 		bin/git-credential-gcloud.sh \
 		bin/gsutil
 
-OPTIONS_DEFINE=		BASH ZSH
-OPTIONS_DEFAULT=	BASH ZSH
-
-BASH_PLIST_FILES=	share/bash-completion/completions/gcloud
-ZSH_PLIST_FILES=	share/zsh/site-functions/_gcloud
+SUB_FILES=	pkg-message
 
 post-extract:
 	@${RM} -r \
@@ -57,14 +53,4 @@ post-install:
 	@(cd ${STAGEDIR}${PREFIX} && \
 		${FIND} -s google-cloud-sdk -type f -o -type l >> ${TMPPLIST})
 
-post-install-BASH-on:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
-	${RLN} ${STAGEDIR}${PREFIX}/google-cloud-sdk/completion.bash.inc \
-		${STAGEDIR}${PREFIX}/share/bash-completion/completions/gcloud
-
-post-install-ZSH-on:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
-	${RLN} ${STAGEDIR}${PREFIX}/google-cloud-sdk/completion.zsh.inc \
-		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_gcloud
-
 .include <bsd.port.mk>
diff --git a/net/google-cloud-sdk/distinfo b/net/google-cloud-sdk/distinfo
index c6a716660d66..5d980d64d1ae 100644
--- a/net/google-cloud-sdk/distinfo
+++ b/net/google-cloud-sdk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707343058
-SHA256 (google-cloud-sdk-463.0.0-linux-x86_64.tar.gz) = e1ce160032d18a14be36da2409a52e4835d0a42d26855e81b0a48160e7c27003
-SIZE (google-cloud-sdk-463.0.0-linux-x86_64.tar.gz) = 205433257
+TIMESTAMP = 1707889617
+SHA256 (google-cloud-sdk-464.0.0-linux-x86_64.tar.gz) = 3547e036057ff6d4f5685e10afe40a926e73b7834794b91b2b3a8d1c5ba873dc
+SIZE (google-cloud-sdk-464.0.0-linux-x86_64.tar.gz) = 205460860
diff --git a/net/google-cloud-sdk/files/pkg-message.in b/net/google-cloud-sdk/files/pkg-message.in
new file mode 100644
index 000000000000..6b59641a21c8
--- /dev/null
+++ b/net/google-cloud-sdk/files/pkg-message.in
@@ -0,0 +1,10 @@
+[
+{ type: install
+  message: <<EOM
+Add the following line based on preferred shell for auto-completion:
+
+(bashrc) source %%PREFIX%%/google-cloud-sdk/completion.bash.inc
+(zshrc)  source %%PREFIX%%/google-cloud-sdk/completion.zsh.inc
+EOM
+}
+]



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