diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-01-15 04:17:40 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-01-15 04:17:40 +0000 |
commit | 9a9a940aebd5599d42fce6b4fbc0944a865c8701 (patch) | |
tree | 258d4f2a5481cb3a4684a4a08dc53c2dc816f6eb | |
parent | Fix gemspec for rubygem-faraday 0.11.0 update (diff) |
Fix gemspec for rubygem-faraday 0.11.0 update
- Bump PORTREVISION for package change
Notes
Notes:
svn path=/head/; revision=431522
-rw-r--r-- | net/rubygem-oauth2/Makefile | 4 | ||||
-rw-r--r-- | net/rubygem-oauth2/files/patch-gemspec | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/net/rubygem-oauth2/Makefile b/net/rubygem-oauth2/Makefile index 12b4ecd85444..de402866bc9b 100644 --- a/net/rubygem-oauth2/Makefile +++ b/net/rubygem-oauth2/Makefile @@ -3,7 +3,7 @@ PORTNAME= oauth2 PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net rubygems MASTER_SITES= RG @@ -14,7 +14,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= rubygem-faraday>=0.8:www/rubygem-faraday \ - rubygem-jwt>=1:www/rubygem-jwt \ + rubygem-jwt>=1.0:www/rubygem-jwt \ rubygem-multi_json>=1.3:devel/rubygem-multi_json \ rubygem-multi_xml>=0.5:textproc/rubygem-multi_xml \ rubygem-rack>=1.2:www/rubygem-rack diff --git a/net/rubygem-oauth2/files/patch-gemspec b/net/rubygem-oauth2/files/patch-gemspec new file mode 100644 index 000000000000..d1a55bf9223c --- /dev/null +++ b/net/rubygem-oauth2/files/patch-gemspec @@ -0,0 +1,11 @@ +--- oauth2.gemspec.orig 2017-01-15 03:55:34 UTC ++++ oauth2.gemspec +@@ -21,7 +21,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<faraday>.freeze, ["< 0.10", ">= 0.8"]) ++ s.add_runtime_dependency(%q<faraday>.freeze, [">= 0.8"]) + s.add_runtime_dependency(%q<jwt>.freeze, ["~> 1.0"]) + s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.3"]) + s.add_runtime_dependency(%q<multi_xml>.freeze, ["~> 0.5"]) |