git: 15a439ecac52 - main - net/rubygem-google-cloud-location: Add rubygem-google-cloud-location 0.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 06:05:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15a439ecac5205fc1f4706acde503f17be344656

commit 15a439ecac5205fc1f4706acde503f17be344656
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 05:31:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 05:31:41 +0000

    net/rubygem-google-cloud-location: Add rubygem-google-cloud-location 0.6.0
    
    Ruby Client for the Locations API
    
    This is an add-on interface used by some Google API clients to provide location
    management calls.
---
 net/Makefile                                |  1 +
 net/rubygem-google-cloud-location/Makefile  | 22 ++++++++++++++++++++++
 net/rubygem-google-cloud-location/distinfo  |  3 +++
 net/rubygem-google-cloud-location/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 645d783b9c5e..fd35e742379c 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1310,6 +1310,7 @@
     SUBDIR += rubygem-google-cloud-core
     SUBDIR += rubygem-google-cloud-env
     SUBDIR += rubygem-google-cloud-errors
+    SUBDIR += rubygem-google-cloud-location
     SUBDIR += rubygem-google-cloud-logging
     SUBDIR += rubygem-google-cloud-logging-v2
     SUBDIR += rubygem-google-cloud-pubsub
diff --git a/net/rubygem-google-cloud-location/Makefile b/net/rubygem-google-cloud-location/Makefile
new file mode 100644
index 000000000000..838e5e35f70d
--- /dev/null
+++ b/net/rubygem-google-cloud-location/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	google-cloud-location
+PORTVERSION=	0.6.0
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby Client for the Locations API
+WWW=		https://cloud.google.com/ruby/docs/reference/google-cloud-location/latest/ \
+		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-location \
+		https://github.com/googleapis/google-cloud-ruby
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-gapic-common>=0.20.0<2.0:devel/rubygem-gapic-common \
+		rubygem-google-cloud-errors>=1.0<2:net/rubygem-google-cloud-errors
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-google-cloud-location/distinfo b/net/rubygem-google-cloud-location/distinfo
new file mode 100644
index 000000000000..22123ef0a99f
--- /dev/null
+++ b/net/rubygem-google-cloud-location/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702028020
+SHA256 (rubygem/google-cloud-location-0.6.0.gem) = 386c99ca156e5cac413731c055d7d9c55629860129ad7658a2bf39ea5004d2d0
+SIZE (rubygem/google-cloud-location-0.6.0.gem) = 29184
diff --git a/net/rubygem-google-cloud-location/pkg-descr b/net/rubygem-google-cloud-location/pkg-descr
new file mode 100644
index 000000000000..e09c26de5359
--- /dev/null
+++ b/net/rubygem-google-cloud-location/pkg-descr
@@ -0,0 +1,4 @@
+Ruby Client for the Locations API
+
+This is an add-on interface used by some Google API clients to provide location
+management calls.