1 |
graaff 12/01/29 09:55:48 |
2 |
|
3 |
Modified: bcat-0.6.2.ebuild ChangeLog |
4 |
Log: |
5 |
Add ruby19. Fix tests. |
6 |
|
7 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-ruby/bcat/bcat-0.6.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bcat/bcat-0.6.2.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bcat/bcat-0.6.2.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bcat/bcat-0.6.2.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: bcat-0.6.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/bcat/bcat-0.6.2.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- bcat-0.6.2.ebuild 11 Sep 2011 05:51:27 -0000 1.1 |
23 |
+++ bcat-0.6.2.ebuild 29 Jan 2012 09:55:48 -0000 1.2 |
24 |
@@ -1,9 +1,9 @@ |
25 |
-# Copyright 1999-2011 Gentoo Foundation |
26 |
+# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/bcat-0.6.2.ebuild,v 1.1 2011/09/11 05:51:27 graaff Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/bcat-0.6.2.ebuild,v 1.2 2012/01/29 09:55:48 graaff Exp $ |
30 |
|
31 |
EAPI=4 |
32 |
-USE_RUBY="ruby18 ree18" |
33 |
+USE_RUBY="ruby18 ruby19 ree18" |
34 |
|
35 |
RUBY_FAKEGEM_TASK_DOC="man" |
36 |
RUBY_FAKEGEM_EXTRADOC="README" |
37 |
@@ -23,6 +23,17 @@ |
38 |
|
39 |
ruby_add_rdepend "dev-ruby/rack" |
40 |
|
41 |
+each_ruby_prepare() { |
42 |
+ sed -i -e "s/a2h/#{ENV['RUBY']} -S a2h/" test/test_bcat_a2h.rb || die |
43 |
+} |
44 |
+ |
45 |
+each_ruby_test() { |
46 |
+ # The Rakefile uses weird trickery with load path that causes gems |
47 |
+ # not to be found. Run tests directly instead and do the trickery |
48 |
+ # here to support popen calls for the bins in this package. |
49 |
+ RUBY=${RUBY} RUBYLIB=lib:${RUBYLIB} PATH=bin:${PATH} ${RUBY} -S testrb test/test_*.rb || die |
50 |
+} |
51 |
+ |
52 |
all_ruby_install() { |
53 |
all_fakegem_install |
54 |
|
55 |
|
56 |
|
57 |
|
58 |
1.3 dev-ruby/bcat/ChangeLog |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bcat/ChangeLog?rev=1.3&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bcat/ChangeLog?rev=1.3&content-type=text/plain |
62 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/bcat/ChangeLog?r1=1.2&r2=1.3 |
63 |
|
64 |
Index: ChangeLog |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/bcat/ChangeLog,v |
67 |
retrieving revision 1.2 |
68 |
retrieving revision 1.3 |
69 |
diff -u -r1.2 -r1.3 |
70 |
--- ChangeLog 11 Sep 2011 05:51:27 -0000 1.2 |
71 |
+++ ChangeLog 29 Jan 2012 09:55:48 -0000 1.3 |
72 |
@@ -1,6 +1,9 @@ |
73 |
# ChangeLog for dev-ruby/bcat |
74 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
75 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/ChangeLog,v 1.2 2011/09/11 05:51:27 graaff Exp $ |
76 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
77 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcat/ChangeLog,v 1.3 2012/01/29 09:55:48 graaff Exp $ |
78 |
+ |
79 |
+ 29 Jan 2012; Hans de Graaff <graaff@g.o> bcat-0.6.2.ebuild: |
80 |
+ Add ruby19. Fix tests. |
81 |
|
82 |
*bcat-0.6.2 (11 Sep 2011) |