git: eb5dbea24a39 - main - devel/rubygem-ddtrace: Fix gemspec for rubygem-datadog-ci 0.3.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 02:18:33 UTC
The branch main has been updated by sunpoet:

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

commit eb5dbea24a39dd16518583d8ed0b7c29dfd8f1ff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 01:52:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 02:08:51 +0000

    devel/rubygem-ddtrace: Fix gemspec for rubygem-datadog-ci 0.3.0 update
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-ddtrace/Makefile            |  3 ++-
 devel/rubygem-ddtrace/files/patch-gemspec | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/devel/rubygem-ddtrace/Makefile b/devel/rubygem-ddtrace/Makefile
index 3f0aba9e165f..8d411a9621ba 100644
--- a/devel/rubygem-ddtrace/Makefile
+++ b/devel/rubygem-ddtrace/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ddtrace
 PORTVERSION=	1.15.0
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,7 @@ LICENSE_COMB=	dual
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.Apache
 LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD3
 
-RUN_DEPENDS=	rubygem-datadog-ci>=0.2.0<0.3:devel/rubygem-datadog-ci \
+RUN_DEPENDS=	rubygem-datadog-ci>=0.2.0:devel/rubygem-datadog-ci \
 		rubygem-debase-ruby_core_source>=3.2.2<3.2.2_99:devel/rubygem-debase-ruby_core_source \
 		rubygem-libdatadog>=5.0.0.1.0<5.0.0.2:devel/rubygem-libdatadog \
 		rubygem-libddwaf>=1.14.0.0.0<1.14.0.1:devel/rubygem-libddwaf \
diff --git a/devel/rubygem-ddtrace/files/patch-gemspec b/devel/rubygem-ddtrace/files/patch-gemspec
new file mode 100644
index 000000000000..794d8e887a3c
--- /dev/null
+++ b/devel/rubygem-ddtrace/files/patch-gemspec
@@ -0,0 +1,10 @@
+--- ddtrace.gemspec.orig	2023-10-27 07:17:39 UTC
++++ ddtrace.gemspec
+@@ -28,6 +28,6 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<debase-ruby_core_source>.freeze, ["= 3.2.2"])
+   s.add_runtime_dependency(%q<libddwaf>.freeze, ["~> 1.14.0.0.0"])
+   s.add_runtime_dependency(%q<libdatadog>.freeze, ["~> 5.0.0.1.0"])
+-  s.add_runtime_dependency(%q<datadog-ci>.freeze, ["~> 0.2.0"])
++  s.add_runtime_dependency(%q<datadog-ci>.freeze, [">= 0.2.0"])
+ end
+