git: 3d00717c1b7a - main - devel/rubygem-opentelemetry-instrumentation-sinatra: Add rubygem-opentelemetry-instrumentation-sinatra 0.24.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 29 Jul 2024 12:46:00 UTC
The branch main has been updated by sunpoet:

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

commit 3d00717c1b7a8b1cd5f4c5d099aa86c9312e0aef
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-29 12:30:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-29 12:30:59 +0000

    devel/rubygem-opentelemetry-instrumentation-sinatra: Add rubygem-opentelemetry-instrumentation-sinatra 0.24.1
    
    The Sinatra instrumentation is a community-maintained instrumentation for the
    Sinatra Web Framework.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 23 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 392c44ab43e9..83879176f2e9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7413,6 +7413,7 @@
     SUBDIR += rubygem-opentelemetry-instrumentation-resque
     SUBDIR += rubygem-opentelemetry-instrumentation-restclient
     SUBDIR += rubygem-opentelemetry-instrumentation-sidekiq
+    SUBDIR += rubygem-opentelemetry-instrumentation-sinatra
     SUBDIR += rubygem-opentelemetry-registry
     SUBDIR += rubygem-opentelemetry-sdk
     SUBDIR += rubygem-opentelemetry-semantic_conventions
diff --git a/devel/rubygem-opentelemetry-instrumentation-sinatra/Makefile b/devel/rubygem-opentelemetry-instrumentation-sinatra/Makefile
new file mode 100644
index 000000000000..ca1a6484b35d
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-sinatra/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	opentelemetry-instrumentation-sinatra
+PORTVERSION=	0.24.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Sinatra instrumentation for the OpenTelemetry framework
+WWW=		https://opentelemetry.io/ \
+		https://github.com/open-telemetry/opentelemetry-ruby-contrib \
+		https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/sinatra
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-opentelemetry-api>=1.0<2:devel/rubygem-opentelemetry-api \
+		rubygem-opentelemetry-instrumentation-base>=0.22.1<0.23:devel/rubygem-opentelemetry-instrumentation-base \
+		rubygem-opentelemetry-instrumentation-rack>=0.21<1:devel/rubygem-opentelemetry-instrumentation-rack
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-opentelemetry-instrumentation-sinatra/distinfo b/devel/rubygem-opentelemetry-instrumentation-sinatra/distinfo
new file mode 100644
index 000000000000..e2ecae6da82e
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-sinatra/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722249016
+SHA256 (rubygem/opentelemetry-instrumentation-sinatra-0.24.1.gem) = 16a335e9d601587cc739dc158cfd7b4d8628e3df91aa7e76750d5f9748ee7f3b
+SIZE (rubygem/opentelemetry-instrumentation-sinatra-0.24.1.gem) = 12288
diff --git a/devel/rubygem-opentelemetry-instrumentation-sinatra/pkg-descr b/devel/rubygem-opentelemetry-instrumentation-sinatra/pkg-descr
new file mode 100644
index 000000000000..1e8e8d785c5a
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-sinatra/pkg-descr
@@ -0,0 +1,2 @@
+The Sinatra instrumentation is a community-maintained instrumentation for the
+Sinatra Web Framework.