aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/rubygem-tty-markdown/Makefile1
-rw-r--r--devel/rubygem-tty-markdown/files/patch-gemspec11
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/rubygem-tty-markdown/Makefile b/devel/rubygem-tty-markdown/Makefile
index 91bae9a3d3ee..50fc0cb5c515 100644
--- a/devel/rubygem-tty-markdown/Makefile
+++ b/devel/rubygem-tty-markdown/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tty-markdown
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
diff --git a/devel/rubygem-tty-markdown/files/patch-gemspec b/devel/rubygem-tty-markdown/files/patch-gemspec
new file mode 100644
index 000000000000..4322ff7a6dfa
--- /dev/null
+++ b/devel/rubygem-tty-markdown/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- tty-markdown.gemspec.orig 2018-05-31 18:34:18 UTC
++++ tty-markdown.gemspec
+@@ -23,7 +23,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<kramdown>.freeze, ["~> 1.16.2"])
++ s.add_runtime_dependency(%q<kramdown>.freeze, ["~> 1.16", ">= 1.16.2"])
+ s.add_runtime_dependency(%q<pastel>.freeze, ["~> 0.7.2"])
+ s.add_runtime_dependency(%q<rouge>.freeze, ["~> 3.1.0"])
+ s.add_runtime_dependency(%q<strings>.freeze, ["~> 0.1.0"])