git: d447dd58ad93 - main - devel/rubygem-traces: Add rubygem-traces 0.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:44:32 UTC
The branch main has been updated by sunpoet:

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

commit d447dd58ad934a714b9c5678178dec22acbdb3c4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:27:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:12 +0000

    devel/rubygem-traces: Add rubygem-traces 0.4.0
    
    Traces captures nested traces during code execution in a vendor agnostic way.
    
    Features:
    - Zero-overhead if tracing is disabled and minimal overhead if enabled.
    - Small opinionated interface with standardised semantics, consistent with the
      W3C Trace Context Specification.
    
    WWW: https://github.com/socketry/traces
---
 devel/Makefile                 |  1 +
 devel/rubygem-traces/Makefile  | 18 ++++++++++++++++++
 devel/rubygem-traces/distinfo  |  3 +++
 devel/rubygem-traces/pkg-descr |  8 ++++++++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 47fdde0aff73..f09e545f243c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6962,6 +6962,7 @@
     SUBDIR += rubygem-to_regexp
     SUBDIR += rubygem-tool
     SUBDIR += rubygem-tracer
+    SUBDIR += rubygem-traces
     SUBDIR += rubygem-trailblazer-option
     SUBDIR += rubygem-transaction-simple
     SUBDIR += rubygem-travis
diff --git a/devel/rubygem-traces/Makefile b/devel/rubygem-traces/Makefile
new file mode 100644
index 000000000000..2203fdba9136
--- /dev/null
+++ b/devel/rubygem-traces/Makefile
@@ -0,0 +1,18 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	traces
+PORTVERSION=	0.4.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Application instrumentation and tracing
+
+LICENSE=	MIT
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-traces/distinfo b/devel/rubygem-traces/distinfo
new file mode 100644
index 000000000000..649a8f3431e1
--- /dev/null
+++ b/devel/rubygem-traces/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652122543
+SHA256 (rubygem/traces-0.4.0.gem) = 80fd1a0ecedf81ef1f57c586612afce9080b3ed6858e29cd127ff80de05982d1
+SIZE (rubygem/traces-0.4.0.gem) = 11776
diff --git a/devel/rubygem-traces/pkg-descr b/devel/rubygem-traces/pkg-descr
new file mode 100644
index 000000000000..345f0b722bcc
--- /dev/null
+++ b/devel/rubygem-traces/pkg-descr
@@ -0,0 +1,8 @@
+Traces captures nested traces during code execution in a vendor agnostic way.
+
+Features:
+- Zero-overhead if tracing is disabled and minimal overhead if enabled.
+- Small opinionated interface with standardised semantics, consistent with the
+  W3C Trace Context Specification.
+
+WWW: https://github.com/socketry/traces