git: b0d4502ce2a1 - main - www/rubygem-em-websocket: Fix gemspec for rubygem-http_parser.rb 0.7.0 update
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jul 16 00:07:15 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b0d4502ce2a1ef4e0769dd366593d336bb1386be
commit b0d4502ce2a1ef4e0769dd366593d336bb1386be
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-15 23:53:38 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-15 23:53:38 +0000
www/rubygem-em-websocket: Fix gemspec for rubygem-http_parser.rb 0.7.0 update
- Bump PORTREVISION for package change
---
www/rubygem-em-websocket/Makefile | 3 ++-
www/rubygem-em-websocket/files/patch-gemspec | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/www/rubygem-em-websocket/Makefile b/www/rubygem-em-websocket/Makefile
index 18517adaf8f0..bfe1f4d253b1 100644
--- a/www/rubygem-em-websocket/Makefile
+++ b/www/rubygem-em-websocket/Makefile
@@ -2,6 +2,7 @@
PORTNAME= em-websocket
PORTVERSION= 0.5.2
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -12,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= rubygem-eventmachine>=0.12.9:devel/rubygem-eventmachine \
- 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-em-websocket/files/patch-gemspec b/www/rubygem-em-websocket/files/patch-gemspec
new file mode 100644
index 000000000000..0851e6256080
--- /dev/null
+++ b/www/rubygem-em-websocket/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- em-websocket.gemspec.orig 2021-07-15 21:52:22 UTC
++++ em-websocket.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<eventmachine>.freeze, [">= 0.12.9"])
+- s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6.0"])
++ s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6"])
+ else
+ s.add_dependency(%q<eventmachine>.freeze, [">= 0.12.9"])
+ s.add_dependency(%q<http_parser.rb>.freeze, ["~> 0.6.0"])
More information about the dev-commits-ports-all
mailing list