git: d972f3a16b90 - main - devel/rubygem-opentelemetry-instrumentation-base: Add rubygem-opentelemetry-instrumentation-base 0.22.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 16 Oct 2023 16:00:35 UTC
The branch main has been updated by sunpoet:

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

commit d972f3a16b9081b7f7301807ed43e310cd09b3e6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-16 15:11:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 15:59:40 +0000

    devel/rubygem-opentelemetry-instrumentation-base: Add rubygem-opentelemetry-instrumentation-base 0.22.2
    
    OpenTelemetry Instrumentation Base contains the instrumentation base class, and
    the instrumentation registry. These modules provide a common interface to
    support the installation of auto instrumentation libraries. The instrumentation
    base is responsible for adding itself to the instrumentation registry as well as
    providing convenience hooks for the installation process. The instrumentation
    registry contains all the instrumentation to be installed during the SDK
    configuration process.
---
 devel/Makefile                                     |  1 +
 .../Makefile                                       | 22 ++++++++++++++++++++++
 .../distinfo                                       |  3 +++
 .../pkg-descr                                      |  7 +++++++
 4 files changed, 33 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3af6a9491af6..d4b2b2b2f383 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7116,6 +7116,7 @@
     SUBDIR += rubygem-open4
     SUBDIR += rubygem-opentelemetry-api
     SUBDIR += rubygem-opentelemetry-common
+    SUBDIR += rubygem-opentelemetry-instrumentation-base
     SUBDIR += rubygem-opentracing
     SUBDIR += rubygem-opt_parse_validator
     SUBDIR += rubygem-optimist
diff --git a/devel/rubygem-opentelemetry-instrumentation-base/Makefile b/devel/rubygem-opentelemetry-instrumentation-base/Makefile
new file mode 100644
index 000000000000..a6ef5a21d47f
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-base/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	opentelemetry-instrumentation-base
+PORTVERSION=	0.22.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Instrumentation Base 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/base
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-opentelemetry-api>=1.0<2:devel/rubygem-opentelemetry-api \
+		rubygem-opentelemetry-registry>=0.1<1:devel/rubygem-opentelemetry-registry
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-opentelemetry-instrumentation-base/distinfo b/devel/rubygem-opentelemetry-instrumentation-base/distinfo
new file mode 100644
index 000000000000..a4f81633bb7a
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-base/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697463042
+SHA256 (rubygem/opentelemetry-instrumentation-base-0.22.2.gem) = 0a83b1aa6968886f214cb6d0af1e2c099788efb11f3476648cf9d215e449b553
+SIZE (rubygem/opentelemetry-instrumentation-base-0.22.2.gem) = 14848
diff --git a/devel/rubygem-opentelemetry-instrumentation-base/pkg-descr b/devel/rubygem-opentelemetry-instrumentation-base/pkg-descr
new file mode 100644
index 000000000000..79a4f6385edf
--- /dev/null
+++ b/devel/rubygem-opentelemetry-instrumentation-base/pkg-descr
@@ -0,0 +1,7 @@
+OpenTelemetry Instrumentation Base contains the instrumentation base class, and
+the instrumentation registry. These modules provide a common interface to
+support the installation of auto instrumentation libraries. The instrumentation
+base is responsible for adding itself to the instrumentation registry as well as
+providing convenience hooks for the installation process. The instrumentation
+registry contains all the instrumentation to be installed during the SDK
+configuration process.