File: 0001-Fix-dependencies-for-debian-build.patch

package info (click to toggle)
ruby-asciidoctor-pdf 2.3.19-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,972 kB
  • sloc: ruby: 44,316; sh: 133; java: 45; makefile: 4
file content (41 lines) | stat: -rw-r--r-- 1,726 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From: Keith Packard <keithp@keithp.com>
Date: Thu, 1 Nov 2018 13:21:05 -0700
Subject: Fix dependencies for debian build.

Leave prawn/templates enabled as the code now depends on it existing.

Update gemspec dependencies to match debian packages

I've tested with these versions and the test suites results match the
current debian package, although there are spurious errors, e.g. 12 !=
12.0.

Signed-off-by: Keith Packard <keithp@keithp.com>

Last-Updated: 2022-12-16
Reviewed-By: Lucas Kanashiro <kanashiro@debian.org>
Forwarded: not-needed
---
 asciidoctor-pdf.gemspec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/asciidoctor-pdf.gemspec b/asciidoctor-pdf.gemspec
index 997e260..2eb1d02 100644
--- a/asciidoctor-pdf.gemspec
+++ b/asciidoctor-pdf.gemspec
@@ -36,11 +36,11 @@ Gem::Specification.new do |s|
   s.add_runtime_dependency 'asciidoctor', '~> 2.0'
   s.add_runtime_dependency 'prawn', '~> 2.4.0'
   s.add_runtime_dependency 'ttfunk', '~> 1.7.0' # pin ttfunk for compatiblity; prawn gem only pins it to major version
-  s.add_runtime_dependency 'matrix', '~> 0.4' # required until prawn >= 2.5.0 is released
+  #s.add_runtime_dependency 'matrix', '~> 0.4' # required until prawn >= 2.5.0 is released
   s.add_runtime_dependency 'prawn-table', '~> 0.2.0'
-  s.add_runtime_dependency 'prawn-templates', '~> 0.1.0'
-  s.add_runtime_dependency 'prawn-svg', '~> 0.34.0'
-  s.add_runtime_dependency 'prawn-icon', '~> 3.0.0'
+  s.add_runtime_dependency 'prawn-templates', '~> 0.1'
+  s.add_runtime_dependency 'prawn-svg', '>= 0.32'
+  s.add_runtime_dependency 'prawn-icon', '~> 3.0'
   s.add_runtime_dependency 'concurrent-ruby', '~> 1.1'
   s.add_runtime_dependency 'treetop', '~> 1.6.0'