git: cc6da3b56562 - main - net/rubygem-google-cloud-trace-v2: Add rubygem-google-cloud-trace-v2 0.7.0

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

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

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

    net/rubygem-google-cloud-trace-v2: Add rubygem-google-cloud-trace-v2 0.7.0
    
    Ruby Client for the Cloud Trace V2 API
    
    Sends application trace data to Stackdriver Trace for viewing. Trace data is
    collected for all App Engine applications by default. Trace data from other
    applications can be provided using this API. This library is used to interact
    with the Trace API directly. If you are looking to instrument your application
    for Stackdriver Trace, we recommend using OpenTelemetry.
    
    The Cloud Trace API lets you send and retrieve latency data to and from Cloud
    Trace. This API provides low-level interfaces for interacting directly with the
    feature. For some languages, you can use OpenTelemetry, a set of open source
    tracing and stats instrumentation libraries that work with multiple backends.
---
 net/Makefile                                |  1 +
 net/rubygem-google-cloud-trace-v2/Makefile  | 23 +++++++++++++++++++++++
 net/rubygem-google-cloud-trace-v2/distinfo  |  3 +++
 net/rubygem-google-cloud-trace-v2/pkg-descr | 12 ++++++++++++
 4 files changed, 39 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 877a11b40fbf..5dbc5bde0eab 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1328,6 +1328,7 @@
     SUBDIR += rubygem-google-cloud-storage144
     SUBDIR += rubygem-google-cloud-trace
     SUBDIR += rubygem-google-cloud-trace-v1
+    SUBDIR += rubygem-google-cloud-trace-v2
     SUBDIR += rubygem-grpc
     SUBDIR += rubygem-hangouts-chat
     SUBDIR += rubygem-http-parser
diff --git a/net/rubygem-google-cloud-trace-v2/Makefile b/net/rubygem-google-cloud-trace-v2/Makefile
new file mode 100644
index 000000000000..2407e10e4cc2
--- /dev/null
+++ b/net/rubygem-google-cloud-trace-v2/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	google-cloud-trace-v2
+PORTVERSION=	0.7.0
+CATEGORIES=	net rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby Client for the Cloud Trace V2 API
+WWW=		https://cloud.google.com/ruby/docs/reference/google-cloud-trace-v2/latest/ \
+		https://googleapis.github.io/google-cloud-ruby/docs/ \
+		https://github.com/googleapis/google-cloud-ruby/tree/main/google-cloud-trace-v2 \
+		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-trace-v2/distinfo b/net/rubygem-google-cloud-trace-v2/distinfo
new file mode 100644
index 000000000000..812e7fd1ac0f
--- /dev/null
+++ b/net/rubygem-google-cloud-trace-v2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1702028034
+SHA256 (rubygem/google-cloud-trace-v2-0.7.0.gem) = 6679031777600c2fad35da46374fc1476ab4fed6f681a8af7a5eef8ee872b68f
+SIZE (rubygem/google-cloud-trace-v2-0.7.0.gem) = 44544
diff --git a/net/rubygem-google-cloud-trace-v2/pkg-descr b/net/rubygem-google-cloud-trace-v2/pkg-descr
new file mode 100644
index 000000000000..f75fbe598e3b
--- /dev/null
+++ b/net/rubygem-google-cloud-trace-v2/pkg-descr
@@ -0,0 +1,12 @@
+Ruby Client for the Cloud Trace V2 API
+
+Sends application trace data to Stackdriver Trace for viewing. Trace data is
+collected for all App Engine applications by default. Trace data from other
+applications can be provided using this API. This library is used to interact
+with the Trace API directly. If you are looking to instrument your application
+for Stackdriver Trace, we recommend using OpenTelemetry.
+
+The Cloud Trace API lets you send and retrieve latency data to and from Cloud
+Trace. This API provides low-level interfaces for interacting directly with the
+feature. For some languages, you can use OpenTelemetry, a set of open source
+tracing and stats instrumentation libraries that work with multiple backends.