From 0dc17faa95b463614424acb4c7b4d78284932585 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 3 Dec 2016 19:30:04 +0000 Subject: [PATCH] - Fix gemspec for rubygem-cucumber-core 2.0.0 update - Bump PORTREVISION for package change --- devel/rubygem-cucumber/Makefile | 1 + devel/rubygem-cucumber/files/patch-gemspec | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 devel/rubygem-cucumber/files/patch-gemspec diff --git a/devel/rubygem-cucumber/Makefile b/devel/rubygem-cucumber/Makefile index f840735e8f72..d38bf90ec4be 100644 --- a/devel/rubygem-cucumber/Makefile +++ b/devel/rubygem-cucumber/Makefile @@ -2,6 +2,7 @@ PORTNAME= cucumber PORTVERSION= 2.4.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-cucumber/files/patch-gemspec b/devel/rubygem-cucumber/files/patch-gemspec new file mode 100644 index 000000000000..01b9d58d5691 --- /dev/null +++ b/devel/rubygem-cucumber/files/patch-gemspec @@ -0,0 +1,11 @@ +--- cucumber.gemspec.orig 2016-12-03 12:25:36 UTC ++++ cucumber.gemspec +@@ -24,7 +24,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.freeze, ["~> 1.5.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.5.0"]) + s.add_runtime_dependency(%q.freeze, [">= 2.1.2"]) + s.add_runtime_dependency(%q.freeze, [">= 1.1.3"]) + s.add_runtime_dependency(%q.freeze, ["~> 4.0"])