Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2023 12:03:59 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 906815251eaf - main - devel/rubygem-cucumber: Allow build with rubygem-cucumber-cucumber-expressions 17.0.0
Message-ID:  <202310081203.398C3xCZ056158@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 906815251eaf59afe79388afc2eca90072c37be6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-08 11:56:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-08 11:56:09 +0000

    devel/rubygem-cucumber: Allow build with rubygem-cucumber-cucumber-expressions 17.0.0
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-cucumber/Makefile                             |  4 ++--
 .../files/patch-cucumber-cucumber-expressions               | 13 +++++++++++++
 devel/rubygem-cucumber/files/patch-gemspec                  |  8 +++++---
 3 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/devel/rubygem-cucumber/Makefile b/devel/rubygem-cucumber/Makefile
index d23fe121a2ce..4f4132b2d2a5 100644
--- a/devel/rubygem-cucumber/Makefile
+++ b/devel/rubygem-cucumber/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cucumber
 PORTVERSION=	9.0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	rubygem-builder>=3.2.4<4:devel/rubygem-builder \
 		rubygem-cucumber-ci-environment>=9.2.0<10:devel/rubygem-cucumber-ci-environment \
 		rubygem-cucumber-core>=11.1.0<13:devel/rubygem-cucumber-core \
-		rubygem-cucumber-cucumber-expressions>=16.1.2<17:devel/rubygem-cucumber-cucumber-expressions \
+		rubygem-cucumber-cucumber-expressions>=16.1.2:devel/rubygem-cucumber-cucumber-expressions \
 		rubygem-cucumber-gherkin26>=24<26.2.1:textproc/rubygem-cucumber-gherkin26 \
 		rubygem-cucumber-html-formatter>=20.4.0<21:textproc/rubygem-cucumber-html-formatter \
 		rubygem-cucumber-messages>=19<23:devel/rubygem-cucumber-messages \
diff --git a/devel/rubygem-cucumber/files/patch-cucumber-cucumber-expressions b/devel/rubygem-cucumber/files/patch-cucumber-cucumber-expressions
new file mode 100644
index 000000000000..a8ba8509f258
--- /dev/null
+++ b/devel/rubygem-cucumber/files/patch-cucumber-cucumber-expressions
@@ -0,0 +1,13 @@
+--- lib/cucumber/glue/registry_and_more.rb.orig	2023-10-07 11:47:11 UTC
++++ lib/cucumber/glue/registry_and_more.rb
+@@ -206,8 +206,8 @@ module Cucumber
+             id: @configuration.id_generator.new_id,
+             name: parameter_type.name,
+             regular_expressions: parameter_type.regexps.map(&:to_s),
+-            prefer_for_regular_expression_match: parameter_type.prefer_for_regexp_match?,
+-            use_for_snippets: parameter_type.use_for_snippets?
++            prefer_for_regular_expression_match: parameter_type.prefer_for_regexp_match,
++            use_for_snippets: parameter_type.use_for_snippets
+           )
+         )
+       end
diff --git a/devel/rubygem-cucumber/files/patch-gemspec b/devel/rubygem-cucumber/files/patch-gemspec
index 605456006ef0..5a9d96a30d85 100644
--- a/devel/rubygem-cucumber/files/patch-gemspec
+++ b/devel/rubygem-cucumber/files/patch-gemspec
@@ -1,11 +1,13 @@
---- cucumber.gemspec.orig	2023-09-19 18:03:24 UTC
+--- cucumber.gemspec.orig	2023-10-07 11:47:11 UTC
 +++ cucumber.gemspec
-@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
  
    s.add_runtime_dependency(%q<builder>.freeze, ["~> 3.2", ">= 3.2.4"])
    s.add_runtime_dependency(%q<cucumber-ci-environment>.freeze, ["~> 9.2", ">= 9.2.0"])
 -  s.add_runtime_dependency(%q<cucumber-core>.freeze, ["~> 11.1", ">= 11.1.0"])
+-  s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, ["~> 16.1", ">= 16.1.2"])
 +  s.add_runtime_dependency(%q<cucumber-core>.freeze, [">= 11.1.0", "< 13"])
-   s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, ["~> 16.1", ">= 16.1.2"])
++  s.add_runtime_dependency(%q<cucumber-cucumber-expressions>.freeze, [">= 16.1.2"])
    s.add_runtime_dependency(%q<cucumber-gherkin>.freeze, [">= 24", "< 26.2.1"])
    s.add_runtime_dependency(%q<cucumber-html-formatter>.freeze, ["~> 20.4", ">= 20.4.0"])
+   s.add_runtime_dependency(%q<cucumber-messages>.freeze, [">= 19", "< 23"])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310081203.398C3xCZ056158>