git: 6ddc10075a5d - main - www/rubygem-async-http: Update to 0.63.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:36:27 UTC
The branch main has been updated by sunpoet:

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

commit 6ddc10075a5dee7b536cbecc1069657693e547a6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:58:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:10:50 +0000

    www/rubygem-async-http: Update to 0.63.0
    
    - Add LICENSE_FILE
    
    Changes:        https://github.com/socketry/async-http/releases
---
 www/rubygem-async-http/Makefile            |  9 +++++----
 www/rubygem-async-http/distinfo            |  6 +++---
 www/rubygem-async-http/files/patch-gemspec | 11 +++++++++++
 3 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/www/rubygem-async-http/Makefile b/www/rubygem-async-http/Makefile
index 927cb9290e09..e4caefd06665 100644
--- a/www/rubygem-async-http/Makefile
+++ b/www/rubygem-async-http/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	async-http
-PORTVERSION=	0.61.0
+PORTVERSION=	0.63.0
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -8,13 +8,14 @@ COMMENT=	HTTP client and server library
 WWW=		https://github.com/socketry/async-http
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/license.md
 
 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.25.0:www/rubygem-protocol-http \
-		rubygem-protocol-http1>=0.16.0<0.17:www/rubygem-protocol-http1 \
-		rubygem-protocol-http2>=0.15.0<0.16:www/rubygem-protocol-http2 \
+		rubygem-protocol-http>=0.26.0<0.27:www/rubygem-protocol-http \
+		rubygem-protocol-http1>=0.18.0<0.19:www/rubygem-protocol-http1 \
+		rubygem-protocol-http2>=0.16.0<0.17:www/rubygem-protocol-http2 \
 		rubygem-traces>=0.10.0:devel/rubygem-traces
 
 USES=		gem
diff --git a/www/rubygem-async-http/distinfo b/www/rubygem-async-http/distinfo
index 8b2a40718a65..9860631c4235 100644
--- a/www/rubygem-async-http/distinfo
+++ b/www/rubygem-async-http/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1698341287
-SHA256 (rubygem/async-http-0.61.0.gem) = 5ea6fd91d491e4e5a87191ad9255aad0626f9ac38c4ca7a583967d5cdbe40d65
-SIZE (rubygem/async-http-0.61.0.gem) = 33792
+TIMESTAMP = 1708450604
+SHA256 (rubygem/async-http-0.63.0.gem) = f6584d786e79af85fe86aec3e9ea85d3ff5c3d5d932de720c79f5c03896b4c2e
+SIZE (rubygem/async-http-0.63.0.gem) = 33792
diff --git a/www/rubygem-async-http/files/patch-gemspec b/www/rubygem-async-http/files/patch-gemspec
new file mode 100644
index 000000000000..6334ccdd6230
--- /dev/null
+++ b/www/rubygem-async-http/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- async-http.gemspec.orig	2024-01-10 15:59:28 UTC
++++ async-http.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+   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.25.0"])
+-  s.add_runtime_dependency(%q<protocol-http1>.freeze, ["~> 0.16.0"])
++  s.add_runtime_dependency(%q<protocol-http1>.freeze, [">= 0.16.0"])
+   s.add_runtime_dependency(%q<protocol-http2>.freeze, ["~> 0.15.0"])
+   s.add_runtime_dependency(%q<traces>.freeze, [">= 0.10.0"])
+ end