git: e45c07f80f26 - main - devel/rubygem-cucumber: Allow build with rubygem-multi_test 1.0.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:47:07 UTC
The branch main has been updated by sunpoet:

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

commit e45c07f80f266f06263bd5bd092e48bfafa3a551
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:32:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:46 +0000

    devel/rubygem-cucumber: Allow build with rubygem-multi_test 1.0.0+
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-cucumber/Makefile            |  4 ++--
 devel/rubygem-cucumber/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/devel/rubygem-cucumber/Makefile b/devel/rubygem-cucumber/Makefile
index a692ea77b696..0c2243f7ec5a 100644
--- a/devel/rubygem-cucumber/Makefile
+++ b/devel/rubygem-cucumber/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cucumber
 PORTVERSION=	7.1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -20,7 +20,7 @@ RUN_DEPENDS=	rubygem-builder>=3.2.4<4:devel/rubygem-builder \
 		rubygem-cucumber-wire>=6.2.0<7:devel/rubygem-cucumber-wire \
 		rubygem-diff-lcs>=1.4.4<2:textproc/rubygem-diff-lcs \
 		rubygem-mime-types>=3.3.1<4:misc/rubygem-mime-types \
-		rubygem-multi_test>=0.1.2<1:devel/rubygem-multi_test \
+		rubygem-multi_test>=0.1.2:devel/rubygem-multi_test \
 		rubygem-sys-uname>=1.2.2<2:sysutils/rubygem-sys-uname
 
 USES=		gem
diff --git a/devel/rubygem-cucumber/files/patch-gemspec b/devel/rubygem-cucumber/files/patch-gemspec
new file mode 100644
index 000000000000..6a00e6cfe6bc
--- /dev/null
+++ b/devel/rubygem-cucumber/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- cucumber.gemspec.orig	2022-05-07 09:10:47 UTC
++++ cucumber.gemspec
+@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
+     s.add_runtime_dependency(%q<cucumber-wire>.freeze, ["~> 6.2", ">= 6.2.0"])
+     s.add_runtime_dependency(%q<diff-lcs>.freeze, ["~> 1.4", ">= 1.4.4"])
+     s.add_runtime_dependency(%q<mime-types>.freeze, ["~> 3.3", ">= 3.3.1"])
+-    s.add_runtime_dependency(%q<multi_test>.freeze, ["~> 0.1", ">= 0.1.2"])
++    s.add_runtime_dependency(%q<multi_test>.freeze, [">= 0.1.2"])
+     s.add_runtime_dependency(%q<sys-uname>.freeze, ["~> 1.2", ">= 1.2.2"])
+     s.add_development_dependency(%q<nokogiri>.freeze, ["~> 1.12", ">= 1.12.5"])
+     s.add_development_dependency(%q<pry>.freeze, ["~> 0.14", ">= 0.14.1"])