git: 6e83a38bc9a8 - main - www/rubygem-gollum-lib: Fix gemspec for rubygem-github-markup 5.0.0 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Jun 2024 19:54:06 UTC
The branch main has been updated by sunpoet:

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

commit 6e83a38bc9a84346aa85052962d17a11cb83ef99
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-06-18 19:53:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-06-18 19:53:32 +0000

    www/rubygem-gollum-lib: Fix gemspec for rubygem-github-markup 5.0.0 update
    
    - Bump PORTREVISION for package change
---
 www/rubygem-gollum-lib/Makefile            | 3 ++-
 www/rubygem-gollum-lib/files/patch-gemspec | 9 ++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/www/rubygem-gollum-lib/Makefile b/www/rubygem-gollum-lib/Makefile
index 2b361bc6addc..b3d131b655a1 100644
--- a/www/rubygem-gollum-lib/Makefile
+++ b/www/rubygem-gollum-lib/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gollum-lib
 PORTVERSION=	5.2.4
+PORTREVISION=	1
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +12,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	rubygem-gemojione>=4.1<5:graphics/rubygem-gemojione \
-		rubygem-github-markup>=4.0<5:textproc/rubygem-github-markup \
+		rubygem-github-markup>=4.0:textproc/rubygem-github-markup \
 		rubygem-gollum-rugged_adapter>=2.0<3:www/rubygem-gollum-rugged_adapter \
 		rubygem-loofah>=2.3<3:textproc/rubygem-loofah \
 		rubygem-nokogiri>=1.8<2:textproc/rubygem-nokogiri \
diff --git a/www/rubygem-gollum-lib/files/patch-gemspec b/www/rubygem-gollum-lib/files/patch-gemspec
index 108a9738c81b..6ae52070b531 100644
--- a/www/rubygem-gollum-lib/files/patch-gemspec
+++ b/www/rubygem-gollum-lib/files/patch-gemspec
@@ -1,8 +1,11 @@
---- gollum-lib.gemspec.orig	2024-02-21 10:50:04 UTC
+--- gollum-lib.gemspec.orig	2024-06-18 19:29:51 UTC
 +++ gollum-lib.gemspec
-@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
+@@ -26,9 +26,9 @@ Gem::Specification.new do |s|
+   s.add_runtime_dependency(%q<rouge>.freeze, ["~> 3.1".freeze])
+   s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.8".freeze])
    s.add_runtime_dependency(%q<loofah>.freeze, ["~> 2.3".freeze])
-   s.add_runtime_dependency(%q<github-markup>.freeze, ["~> 4.0".freeze])
+-  s.add_runtime_dependency(%q<github-markup>.freeze, ["~> 4.0".freeze])
++  s.add_runtime_dependency(%q<github-markup>.freeze, [">= 4.0".freeze])
    s.add_runtime_dependency(%q<gemojione>.freeze, ["~> 4.1".freeze])
 -  s.add_runtime_dependency(%q<octicons>.freeze, ["~> 12.0".freeze])
 +  s.add_runtime_dependency(%q<octicons>.freeze, [">= 12.0".freeze])