git: 7f6a8a5dc0a6 - main - www/rubygem-http3: Fix gemspec for rubygem-http_parser.rb 0.7.0 update
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jul 16 00:07:17 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7f6a8a5dc0a6463349406e36083205e862da5265
commit 7f6a8a5dc0a6463349406e36083205e862da5265
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-15 23:53:44 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-15 23:53:44 +0000
www/rubygem-http3: Fix gemspec for rubygem-http_parser.rb 0.7.0 update
- Bump PORTREVISION for package change
---
www/rubygem-http3/Makefile | 3 ++-
www/rubygem-http3/files/patch-gemspec | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/www/rubygem-http3/Makefile b/www/rubygem-http3/Makefile
index 2c218221a625..f273a6bbe4b7 100644
--- a/www/rubygem-http3/Makefile
+++ b/www/rubygem-http3/Makefile
@@ -2,6 +2,7 @@
PORTNAME= http
PORTVERSION= 3.3.0
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 3
@@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-addressable>=2.3<3:www/rubygem-addressable \
rubygem-http-cookie>=1.0<2:www/rubygem-http-cookie \
rubygem-http-form_data>=2.0<3:www/rubygem-http-form_data \
- rubygem-http_parser.rb>=0.6.0<0.7:net/rubygem-http_parser.rb
+ rubygem-http_parser.rb>=0.6.0<1:net/rubygem-http_parser.rb
USES= gem
USE_RUBY= yes
diff --git a/www/rubygem-http3/files/patch-gemspec b/www/rubygem-http3/files/patch-gemspec
new file mode 100644
index 000000000000..c2e475f5ac13
--- /dev/null
+++ b/www/rubygem-http3/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- http.gemspec.orig 2021-07-15 21:54:09 UTC
++++ http.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6.0"])
++ s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6"])
+ s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.0"])
+ s.add_runtime_dependency(%q<http-cookie>.freeze, ["~> 1.0"])
+ s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"])
More information about the dev-commits-ports-all
mailing list