From 7a8296ce5caed12602bcc4cb87a14238c97dcdb8 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Mon, 1 Feb 2021 19:44:37 +0000 Subject: [PATCH] Fix gemspec for rubygem-terminal-table 3.0.0 update - Bump PORTREVISION for package change --- www/rubygem-jekyll/Makefile | 4 ++-- www/rubygem-jekyll/files/patch-gemspec | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 www/rubygem-jekyll/files/patch-gemspec diff --git a/www/rubygem-jekyll/Makefile b/www/rubygem-jekyll/Makefile index a05fb4f72aa4..98344736b683 100644 --- a/www/rubygem-jekyll/Makefile +++ b/www/rubygem-jekyll/Makefile @@ -3,7 +3,7 @@ PORTNAME= jekyll PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www rubygems MASTER_SITES= RG @@ -26,7 +26,7 @@ RUN_DEPENDS= rubygem-addressable>=2.4<3:www/rubygem-addressable \ rubygem-pathutil>=0.9<1:devel/rubygem-pathutil \ rubygem-rouge>=3.0<4:textproc/rubygem-rouge \ rubygem-safe_yaml>=1.0<2:devel/rubygem-safe_yaml \ - rubygem-terminal-table>=2.0<3:textproc/rubygem-terminal-table + rubygem-terminal-table>=2.0:textproc/rubygem-terminal-table USES= gem USE_RUBY= yes diff --git a/www/rubygem-jekyll/files/patch-gemspec b/www/rubygem-jekyll/files/patch-gemspec new file mode 100644 index 000000000000..3dc516177abd --- /dev/null +++ b/www/rubygem-jekyll/files/patch-gemspec @@ -0,0 +1,11 @@ +--- jekyll.gemspec.orig 2021-01-31 08:04:37 UTC ++++ jekyll.gemspec +@@ -40,7 +40,7 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q.freeze, ["~> 0.9"]) + s.add_runtime_dependency(%q.freeze, ["~> 3.0"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) +- s.add_runtime_dependency(%q.freeze, ["~> 2.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 2.0"]) + else + s.add_dependency(%q.freeze, ["~> 2.4"]) + s.add_dependency(%q.freeze, ["~> 1.0"])