git: fdf3313e62ed - main - devel/rubygem-opentelemetry-instrumentation-resque: Add rubygem-opentelemetry-instrumentation-resque 0.5.2

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

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

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

    devel/rubygem-opentelemetry-instrumentation-resque: Add rubygem-opentelemetry-instrumentation-resque 0.5.2
    
    The Resque instrumentation is a community-maintained instrumentation for the
    Resque Ruby jobs system.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 22 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 467cb3f86705..392c44ab43e9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7410,6 +7410,7 @@
     SUBDIR += rubygem-opentelemetry-instrumentation-rails
     SUBDIR += rubygem-opentelemetry-instrumentation-rake
     SUBDIR += rubygem-opentelemetry-instrumentation-redis
+    SUBDIR += rubygem-opentelemetry-instrumentation-resque
     SUBDIR += rubygem-opentelemetry-instrumentation-restclient
     SUBDIR += rubygem-opentelemetry-instrumentation-sidekiq
     SUBDIR += rubygem-opentelemetry-registry
diff --git a/devel/rubygem-opentelemetry-instrumentation-resque/Makefile b/devel/rubygem-opentelemetry-instrumentation-resque/Makefile
new file mode 100644
index 000000000000..7a6151ee1cac
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-resque/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	opentelemetry-instrumentation-resque
+PORTVERSION=	0.5.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Resque 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/resque
+
+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
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-opentelemetry-instrumentation-resque/distinfo b/devel/rubygem-opentelemetry-instrumentation-resque/distinfo
new file mode 100644
index 000000000000..02a622244c3b
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-resque/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722249014
+SHA256 (rubygem/opentelemetry-instrumentation-resque-0.5.2.gem) = 7e4bb0fe2148ffd2547d5d30773484f7739f2919fe36beb181a98d5af71fa011
+SIZE (rubygem/opentelemetry-instrumentation-resque-0.5.2.gem) = 12288
diff --git a/devel/rubygem-opentelemetry-instrumentation-resque/pkg-descr b/devel/rubygem-opentelemetry-instrumentation-resque/pkg-descr
new file mode 100644
index 000000000000..9a9858c290e3
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-resque/pkg-descr
@@ -0,0 +1,2 @@
+The Resque instrumentation is a community-maintained instrumentation for the
+Resque Ruby jobs system.