summaryrefslogtreecommitdiff
path: root/textproc/rubygem-gepub
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/rubygem-gepub/Makefile3
-rw-r--r--textproc/rubygem-gepub/files/patch-gemspec13
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/rubygem-gepub/Makefile b/textproc/rubygem-gepub/Makefile
index f90911e3e38f..f6989888d537 100644
--- a/textproc/rubygem-gepub/Makefile
+++ b/textproc/rubygem-gepub/Makefile
@@ -1,5 +1,6 @@
PORTNAME= gepub
PORTVERSION= 1.0.15
+PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@@ -11,7 +12,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-nokogiri>=1.8.2<2.0:textproc/rubygem-nokogiri \
- rubygem-rubyzip>=1.1.1<2.4:archivers/rubygem-rubyzip
+ rubygem-rubyzip>=1.1.1<2.5:archivers/rubygem-rubyzip
USES= gem
diff --git a/textproc/rubygem-gepub/files/patch-gemspec b/textproc/rubygem-gepub/files/patch-gemspec
new file mode 100644
index 000000000000..1104ce47215f
--- /dev/null
+++ b/textproc/rubygem-gepub/files/patch-gemspec
@@ -0,0 +1,13 @@
+Obtained from: https://github.com/skoji/gepub/commit/ac81cedb27734b266fd698dd988c1f75a19b064a
+
+--- gepub.gemspec.orig 2025-07-30 06:19:13 UTC
++++ gepub.gemspec
+@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ s.add_runtime_dependency(%q<nokogiri>.freeze, [">= 1.8.2".freeze, "< 2.0".freeze])
+- s.add_runtime_dependency(%q<rubyzip>.freeze, ["> 1.1.1".freeze, "< 2.4".freeze])
++ s.add_runtime_dependency(%q<rubyzip>.freeze, ["> 1.1.1".freeze, "< 2.5".freeze])
+ s.add_development_dependency(%q<epubcheck-ruby>.freeze, [">= 0".freeze])
+ s.add_development_dependency(%q<rake>.freeze, [">= 0".freeze])
+ s.add_development_dependency(%q<rspec>.freeze, [">= 0".freeze])