git: eb3d95247c5d - main - japanese/rubygem-mail-iso-2022-jp: Fix gemspec for rubygem-mail 2.8.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:19:56 UTC
The branch main has been updated by sunpoet:

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

commit eb3d95247c5d5ed8d3135d98ee22a9eb3bdc35ce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:45:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:02:30 +0000

    japanese/rubygem-mail-iso-2022-jp: Fix gemspec for rubygem-mail 2.8.0 update
    
    - Bump PORTREVISION for package change
---
 japanese/rubygem-mail-iso-2022-jp/Makefile            |  3 ++-
 japanese/rubygem-mail-iso-2022-jp/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/japanese/rubygem-mail-iso-2022-jp/Makefile b/japanese/rubygem-mail-iso-2022-jp/Makefile
index f2cba58bca10..9fb779710ca5 100644
--- a/japanese/rubygem-mail-iso-2022-jp/Makefile
+++ b/japanese/rubygem-mail-iso-2022-jp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mail-iso-2022-jp
 PORTVERSION=	2.0.9
+PORTREVISION=	1
 CATEGORIES=	japanese mail rubygems
 MASTER_SITES=	RG
 
@@ -9,7 +10,7 @@ WWW=		https://github.com/kuroda/mail-iso-2022-jp
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	rubygem-mail>=2.2.6,2<2.7.2,2:mail/rubygem-mail
+RUN_DEPENDS=	rubygem-mail>=2.8.0,2:mail/rubygem-mail
 
 USES=		gem
 
diff --git a/japanese/rubygem-mail-iso-2022-jp/files/patch-gemspec b/japanese/rubygem-mail-iso-2022-jp/files/patch-gemspec
new file mode 100644
index 000000000000..bcd4a8e5079b
--- /dev/null
+++ b/japanese/rubygem-mail-iso-2022-jp/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- mail-iso-2022-jp.gemspec.orig	2023-01-23 05:55:47 UTC
++++ mail-iso-2022-jp.gemspec
+@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<mail>.freeze, [">= 2.2.6", "<= 2.7.1"])
++  s.add_runtime_dependency(%q<mail>.freeze, [">= 2.8.0"])
+   s.add_development_dependency(%q<actionmailer>.freeze, [">= 3.0.0", "< 7.0"])
+   s.add_development_dependency(%q<rdoc>.freeze, [">= 3.12", "< 5.0"])
+ end