From d7c6ca263ff144bd88e847a9845f790088fd857b Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 8 Jul 2020 19:14:16 +0000 Subject: [PATCH] Fix gemspec for rubygem-pastel 0.8.0 update - Bump PORTREVISION for package change --- devel/rubygem-tty-box/Makefile | 3 ++- devel/rubygem-tty-box/files/patch-gemspec | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 devel/rubygem-tty-box/files/patch-gemspec diff --git a/devel/rubygem-tty-box/Makefile b/devel/rubygem-tty-box/Makefile index b1ea33a3f548..8d6e051dbd99 100644 --- a/devel/rubygem-tty-box/Makefile +++ b/devel/rubygem-tty-box/Makefile @@ -3,6 +3,7 @@ PORTNAME= tty-box PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG @@ -12,7 +13,7 @@ COMMENT= Draw various frames and boxes in your terminal interface LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= rubygem-pastel>=0.7.2<0.8:devel/rubygem-pastel \ +RUN_DEPENDS= rubygem-pastel>=0.7.2<1:devel/rubygem-pastel \ rubygem-strings>=0.1.6<0.2:devel/rubygem-strings \ rubygem-tty-cursor>=0.7<1:devel/rubygem-tty-cursor diff --git a/devel/rubygem-tty-box/files/patch-gemspec b/devel/rubygem-tty-box/files/patch-gemspec new file mode 100644 index 000000000000..6ff758afd140 --- /dev/null +++ b/devel/rubygem-tty-box/files/patch-gemspec @@ -0,0 +1,11 @@ +--- tty-box.gemspec.orig 2020-07-07 13:32:20 UTC ++++ tty-box.gemspec +@@ -22,7 +22,7 @@ Gem::Specification.new do |s| + s.specification_version = 4 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then +- s.add_runtime_dependency(%q.freeze, ["~> 0.7.2"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 0.7", ">= 0.7.2"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.7"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.1.6"]) + s.add_development_dependency(%q.freeze, [">= 1.5"])