git: fded1773fd21 - main - net/rubygem-twitter: Fix gemspec for rubygem-http_parser.rb 0.7.0 update

Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Jul 16 00:07:14 UTC 2021


The branch main has been updated by sunpoet:

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

commit fded1773fd21abd97708e40e72741377a8f5832f
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-15 23:53:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-15 23:53:33 +0000

    net/rubygem-twitter: Fix gemspec for rubygem-http_parser.rb 0.7.0 update
    
    - Bump PORTREVISION for package change
---
 net/rubygem-twitter/Makefile            | 4 ++--
 net/rubygem-twitter/files/patch-gemspec | 9 +++++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/net/rubygem-twitter/Makefile b/net/rubygem-twitter/Makefile
index f1a10cc221a4..e67afec2743a 100644
--- a/net/rubygem-twitter/Makefile
+++ b/net/rubygem-twitter/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	twitter
 PORTVERSION=	7.0.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
@@ -17,7 +17,7 @@ RUN_DEPENDS=	rubygem-addressable>=2.3<3:www/rubygem-addressable \
 		rubygem-equalizer>=0.0.11<0.1:devel/rubygem-equalizer \
 		rubygem-http4>=4.0<5:www/rubygem-http4 \
 		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 \
 		rubygem-memoizable>=0.4.0<0.5:devel/rubygem-memoizable \
 		rubygem-multipart-post>=2.0<3:www/rubygem-multipart-post \
 		rubygem-naught>=1.0<2:devel/rubygem-naught \
diff --git a/net/rubygem-twitter/files/patch-gemspec b/net/rubygem-twitter/files/patch-gemspec
index a2e4c6624afe..08eafc6bf9ea 100644
--- a/net/rubygem-twitter/files/patch-gemspec
+++ b/net/rubygem-twitter/files/patch-gemspec
@@ -1,6 +1,6 @@
---- twitter.gemspec.orig	2021-04-13 13:49:40 UTC
+--- twitter.gemspec.orig	2021-07-15 21:49:53 UTC
 +++ twitter.gemspec
-@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+@@ -23,11 +23,11 @@ Gem::Specification.new do |s|
  
      if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
        s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"])
@@ -9,3 +9,8 @@
        s.add_runtime_dependency(%q<equalizer>.freeze, ["~> 0.0.11"])
        s.add_runtime_dependency(%q<http>.freeze, ["~> 4.0"])
        s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.0"])
+-      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<memoizable>.freeze, ["~> 0.4.0"])
+       s.add_runtime_dependency(%q<multipart-post>.freeze, ["~> 2.0"])
+       s.add_runtime_dependency(%q<naught>.freeze, ["~> 1.0"])


More information about the dev-commits-ports-main mailing list