1 |
graaff 12/07/08 07:34:20 |
2 |
|
3 |
Modified: ChangeLog prawn-core-0.8.4-r2.ebuild |
4 |
Log: |
5 |
Fix test-unit dependency for changes in test-spec, reported in bug 417513. Avoid broken encoding test altogether since current patches do not work with ruby 1.9.3. |
6 |
|
7 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 dev-ruby/prawn-core/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-core/ChangeLog?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-core/ChangeLog?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-core/ChangeLog?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/ChangeLog,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- ChangeLog 2 Mar 2012 13:02:38 -0000 1.9 |
23 |
+++ ChangeLog 8 Jul 2012 07:34:20 -0000 1.10 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-ruby/prawn-core |
26 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/ChangeLog,v 1.9 2012/03/02 13:02:38 naota Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/ChangeLog,v 1.10 2012/07/08 07:34:20 graaff Exp $ |
29 |
+ |
30 |
+ 08 Jul 2012; Hans de Graaff <graaff@g.o> prawn-core-0.8.4-r2.ebuild: |
31 |
+ Fix test-unit dependency for changes in test-spec, reported in bug 417513. |
32 |
+ Avoid broken encoding test altogether since current patches do not work with |
33 |
+ ruby 1.9.3. |
34 |
|
35 |
02 Mar 2012; Naohiro Aota <naota@g.o> prawn-core-0.8.4-r2.ebuild: |
36 |
Add ~x86-fbsd |
37 |
|
38 |
|
39 |
|
40 |
1.3 dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild?rev=1.3&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild?rev=1.3&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild?r1=1.2&r2=1.3 |
45 |
|
46 |
Index: prawn-core-0.8.4-r2.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild,v |
49 |
retrieving revision 1.2 |
50 |
retrieving revision 1.3 |
51 |
diff -u -r1.2 -r1.3 |
52 |
--- prawn-core-0.8.4-r2.ebuild 2 Mar 2012 13:02:38 -0000 1.2 |
53 |
+++ prawn-core-0.8.4-r2.ebuild 8 Jul 2012 07:34:20 -0000 1.3 |
54 |
@@ -1,6 +1,6 @@ |
55 |
# Copyright 1999-2012 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild,v 1.2 2012/03/02 13:02:38 naota Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-core/prawn-core-0.8.4-r2.ebuild,v 1.3 2012/07/08 07:34:20 graaff Exp $ |
59 |
|
60 |
EAPI=2 |
61 |
USE_RUBY="ruby18 ruby19 ree18 jruby" |
62 |
@@ -25,14 +25,20 @@ |
63 |
|
64 |
ruby_add_bdepend test "dev-ruby/test-spec dev-ruby/mocha >=dev-ruby/pdf-reader-0.8" |
65 |
|
66 |
-USE_RUBY="ruby19" ruby_add_bdepend "test? ( dev-ruby/test-unit:0 )" |
67 |
- |
68 |
# Older versions of prawn install the same files, but in site_ruby |
69 |
# which gets found before the newer gem install path that prawn-core |
70 |
# uses. |
71 |
RDEPEND="!<dev-ruby/prawn-0.7" |
72 |
|
73 |
-RUBY_PATCHES=( "${P}-ruby19-tests.patch" "${P}-ruby18-tests.patch" "${P}-ruby19-document.patch" ) |
74 |
+RUBY_PATCHES=( "${P}-ruby19-document.patch" ) |
75 |
+ |
76 |
+all_ruby_prepare() { |
77 |
+ # Our version of test-spec works with and needs test-unit:2 |
78 |
+ sed -i -e '/ruby_19/,/end/ s:^:#:' spec/spec_helper.rb || die |
79 |
+ |
80 |
+ # Avoid broken test altogether instead of trying to patch it up. |
81 |
+ sed -i -e '/should encode text without kerning by default/,/end/ s:^:#:' spec/font_spec.rb || die |
82 |
+} |
83 |
|
84 |
all_ruby_install() { |
85 |
all_fakegem_install |