git: f6d25eff1e76 - main - www/rubygem-async-http: Allow build with rubygem-traces 0.5.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 14 May 2022 15:12:05 UTC
The branch main has been updated by sunpoet:

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

commit f6d25eff1e763e706bcb0558a028b8c1bbe39dd0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-14 15:11:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-14 15:11:47 +0000

    www/rubygem-async-http: Allow build with rubygem-traces 0.5.0+
    
    - Bump PORTREVISION for package change
---
 www/rubygem-async-http/Makefile            |  3 ++-
 www/rubygem-async-http/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/www/rubygem-async-http/Makefile b/www/rubygem-async-http/Makefile
index a161f85ab23e..2c2190fe8369 100644
--- a/www/rubygem-async-http/Makefile
+++ b/www/rubygem-async-http/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	async-http
 PORTVERSION=	0.56.6
+PORTREVISION=	1
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -16,7 +17,7 @@ RUN_DEPENDS=	rubygem-async>=1.25:devel/rubygem-async \
 		rubygem-protocol-http>=0.22.0<0.23:www/rubygem-protocol-http \
 		rubygem-protocol-http1>=0.14.0<0.15:www/rubygem-protocol-http1 \
 		rubygem-protocol-http2>=0.14.0<0.15:www/rubygem-protocol-http2 \
-		rubygem-traces>=0.4.0<0.5:devel/rubygem-traces
+		rubygem-traces>=0.4.0:devel/rubygem-traces
 
 USES=		gem
 USE_RUBY=	yes
diff --git a/www/rubygem-async-http/files/patch-gemspec b/www/rubygem-async-http/files/patch-gemspec
new file mode 100644
index 000000000000..4f9c34b7266e
--- /dev/null
+++ b/www/rubygem-async-http/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- async-http.gemspec.orig	2022-05-14 14:57:36 UTC
++++ async-http.gemspec
+@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
+     s.add_runtime_dependency(%q<protocol-http>.freeze, ["~> 0.22.0"])
+     s.add_runtime_dependency(%q<protocol-http1>.freeze, ["~> 0.14.0"])
+     s.add_runtime_dependency(%q<protocol-http2>.freeze, ["~> 0.14.0"])
+-    s.add_runtime_dependency(%q<traces>.freeze, ["~> 0.4.0"])
++    s.add_runtime_dependency(%q<traces>.freeze, [">= 0.4.0"])
+     s.add_development_dependency(%q<async-container>.freeze, ["~> 0.14"])
+     s.add_development_dependency(%q<async-rspec>.freeze, ["~> 1.10"])
+     s.add_development_dependency(%q<covered>.freeze, [">= 0"])