git: 32558aa56e0e - main - www/rubygem-async-http: Fix gemspec for rubygem-protocol-http 0.25.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 03:26:13 UTC
The branch main has been updated by sunpoet:

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

commit 32558aa56e0e880a066ab49481634219efc7b525
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-22 03:21:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-22 03:21:25 +0000

    www/rubygem-async-http: Fix gemspec for rubygem-protocol-http 0.25.0 update
    
    - 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 aa83c88798bd..72f1fa8abc1f 100644
--- a/www/rubygem-async-http/Makefile
+++ b/www/rubygem-async-http/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	async-http
 PORTVERSION=	0.60.2
+PORTREVISION=	1
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,7 @@ LICENSE=	MIT
 RUN_DEPENDS=	rubygem-async>=1.25:devel/rubygem-async \
 		rubygem-async-io>=1.28:devel/rubygem-async-io \
 		rubygem-async-pool>=0.2:www/rubygem-async-pool \
-		rubygem-protocol-http>=0.24.0<0.25:www/rubygem-protocol-http \
+		rubygem-protocol-http>=0.24.0:www/rubygem-protocol-http \
 		rubygem-protocol-http1>=0.15.0<0.16:www/rubygem-protocol-http1 \
 		rubygem-protocol-http2>=0.15.0<0.16:www/rubygem-protocol-http2 \
 		rubygem-traces>=0.10.0:devel/rubygem-traces
diff --git a/www/rubygem-async-http/files/patch-gemspec b/www/rubygem-async-http/files/patch-gemspec
new file mode 100644
index 000000000000..a9f9999e3743
--- /dev/null
+++ b/www/rubygem-async-http/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- async-http.gemspec.orig	2023-09-19 19:44:04 UTC
++++ async-http.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<async>.freeze, [">= 1.25"])
+   s.add_runtime_dependency(%q<async-io>.freeze, [">= 1.28"])
+   s.add_runtime_dependency(%q<async-pool>.freeze, [">= 0.2"])
+-  s.add_runtime_dependency(%q<protocol-http>.freeze, ["~> 0.24.0"])
++  s.add_runtime_dependency(%q<protocol-http>.freeze, [">= 0.24.0"])
+   s.add_runtime_dependency(%q<protocol-http1>.freeze, ["~> 0.15.0"])
+   s.add_runtime_dependency(%q<protocol-http2>.freeze, ["~> 0.15.0"])
+   s.add_runtime_dependency(%q<traces>.freeze, [">= 0.10.0"])