git: 0d1525b061ca - main - devel/rubygem-gemdiff: Fix gemspec for rubygem-launchy 3.0.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:35:19 UTC
The branch main has been updated by sunpoet:

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

commit 0d1525b061cab6b12aab80797c03327c874d83e3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 16:25:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:17:57 +0000

    devel/rubygem-gemdiff: Fix gemspec for rubygem-launchy 3.0.0 update
    
    - Bump PORTREVISION for package change
---
 devel/rubygem-gemdiff/Makefile            |  3 ++-
 devel/rubygem-gemdiff/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/rubygem-gemdiff/Makefile b/devel/rubygem-gemdiff/Makefile
index c099f10ccf7f..cee7e00c4afb 100644
--- a/devel/rubygem-gemdiff/Makefile
+++ b/devel/rubygem-gemdiff/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gemdiff
 PORTVERSION=	5.0.0
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +12,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	rubygem-faraday-retry>=2.2<3:www/rubygem-faraday-retry \
-		rubygem-launchy>=2.4<3:devel/rubygem-launchy \
+		rubygem-launchy>=2.4:devel/rubygem-launchy \
 		rubygem-octokit>=8.0<9:net/rubygem-octokit \
 		rubygem-thor>=1.0<2:devel/rubygem-thor
 
diff --git a/devel/rubygem-gemdiff/files/patch-gemspec b/devel/rubygem-gemdiff/files/patch-gemspec
new file mode 100644
index 000000000000..77accf2b9c9a
--- /dev/null
+++ b/devel/rubygem-gemdiff/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- gemdiff.gemspec.orig	2024-05-18 16:49:52 UTC
++++ gemdiff.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<launchy>.freeze, ["~> 2.4".freeze])
++  s.add_runtime_dependency(%q<launchy>.freeze, [">= 2.4".freeze])
+   s.add_runtime_dependency(%q<octokit>.freeze, ["~> 8.0".freeze])
+   s.add_runtime_dependency(%q<faraday-retry>.freeze, ["~> 2.2".freeze])
+   s.add_runtime_dependency(%q<thor>.freeze, ["~> 1.0".freeze])