git: 4a3b9676f9f4 - main - devel/rubygem-sdoc: Update to 2.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 30 Mar 2022 22:26:20 UTC
The branch main has been updated by sunpoet:

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

commit 4a3b9676f9f4ecc1970dda1783f1fd18dc8a2efc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-30 22:16:01 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-30 22:21:44 +0000

    devel/rubygem-sdoc: Update to 2.3.1
    
    - Allow rubygem-rdoc 6.4.0+ since we do not need to support Ruby 2.5 or below [1]
    
    Changes:        https://github.com/zzak/sdoc/blob/master/CHANGELOG.md
    Reference:      https://github.com/zzak/sdoc/pull/178 [1]
---
 devel/rubygem-sdoc/Makefile            |  2 +-
 devel/rubygem-sdoc/distinfo            |  6 +++---
 devel/rubygem-sdoc/files/patch-gemspec | 11 +++++++++++
 3 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/devel/rubygem-sdoc/Makefile b/devel/rubygem-sdoc/Makefile
index 74fab5d09bc6..5bd637a541b5 100644
--- a/devel/rubygem-sdoc/Makefile
+++ b/devel/rubygem-sdoc/Makefile
@@ -1,7 +1,7 @@
 # Created by: Steve Wills <swills@FreeBSD.org>
 
 PORTNAME=	sdoc
-PORTVERSION=	2.2.0
+PORTVERSION=	2.3.1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
diff --git a/devel/rubygem-sdoc/distinfo b/devel/rubygem-sdoc/distinfo
index 4791092f7c32..03f7d5e7d2ec 100644
--- a/devel/rubygem-sdoc/distinfo
+++ b/devel/rubygem-sdoc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1625323763
-SHA256 (rubygem/sdoc-2.2.0.gem) = 6f341375a03cb8f0fbbaf7d89ab959ab69f6f184b5ca3e007f5dad47bca8e27b
-SIZE (rubygem/sdoc-2.2.0.gem) = 291840
+TIMESTAMP = 1648249182
+SHA256 (rubygem/sdoc-2.3.1.gem) = 4f3c2f1922e5a58a15b7847b4ba9a439b18aa03c5a574f335ce25f87f91aaad0
+SIZE (rubygem/sdoc-2.3.1.gem) = 292352
diff --git a/devel/rubygem-sdoc/files/patch-gemspec b/devel/rubygem-sdoc/files/patch-gemspec
new file mode 100644
index 000000000000..abba0aa139bf
--- /dev/null
+++ b/devel/rubygem-sdoc/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- sdoc.gemspec.orig	2022-03-30 12:49:50 UTC
++++ sdoc.gemspec
+@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
+   end
+ 
+   if s.respond_to? :add_runtime_dependency then
+-    s.add_runtime_dependency(%q<rdoc>.freeze, [">= 5.0", "< 6.4.0"])
++    s.add_runtime_dependency(%q<rdoc>.freeze, [">= 5.0"])
+   else
+     s.add_dependency(%q<rdoc>.freeze, [">= 5.0", "< 6.4.0"])
+   end