Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/fast_xs: fast_xs-0.8.0.ebuild ChangeLog
Date: Sat, 28 Apr 2012 23:47:01
Message-Id: 20120428234651.0AEDE2004B@flycatcher.gentoo.org
1 flameeyes 12/04/28 23:46:51
2
3 Modified: fast_xs-0.8.0.ebuild ChangeLog
4 Log:
5 Fix testing: add rack and mongrel to dependencies (the latter only in ruby18), and run the tests sequentially instead of all at once.
6
7 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 dev-ruby/fast_xs/fast_xs-0.8.0.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild?r1=1.4&r2=1.5
15
16 Index: fast_xs-0.8.0.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- fast_xs-0.8.0.ebuild 28 Mar 2012 20:25:08 -0000 1.4
23 +++ fast_xs-0.8.0.ebuild 28 Apr 2012 23:46:50 -0000 1.5
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2012 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild,v 1.4 2012/03/28 20:25:08 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/fast_xs-0.8.0.ebuild,v 1.5 2012/04/28 23:46:50 flameeyes Exp $
29
30 EAPI=4
31
32 @@ -22,7 +22,13 @@
33 IUSE=""
34
35 ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.3.2 )"
36 -ruby_add_bdepend "test? ( >=dev-ruby/hoe-2.3.2 virtual/ruby-test-unit )"
37 +ruby_add_bdepend "test? (
38 + >=dev-ruby/hoe-2.3.2
39 + virtual/ruby-test-unit
40 + dev-ruby/rack
41 +)"
42 +
43 +USE_RUBY="ruby18" ruby_add_bdepend "test? ( www-servers/mongrel )"
44
45 RUBY_PATCHES=( "${P}+ruby-1.9.patch" )
46
47 @@ -37,3 +43,12 @@
48 emake -Cext/fast_xs_extra CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "make extension failed"
49 cp ext/fast_xs_extra/fast_xs_extra$(get_modname) lib/ || die
50 }
51 +
52 +each_ruby_test() {
53 + # the Rakefile tries to run all the tests in a single process, but
54 + # this breaks the monkey-patchers, we're forced to run them one by
55 + # one.
56 + for tu in test/test_*.rb; do
57 + ${RUBY} -Ilib $tu || die "test $tu failed"
58 + done
59 +}
60
61
62
63 1.7 dev-ruby/fast_xs/ChangeLog
64
65 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_xs/ChangeLog?rev=1.7&view=markup
66 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_xs/ChangeLog?rev=1.7&content-type=text/plain
67 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/fast_xs/ChangeLog?r1=1.6&r2=1.7
68
69 Index: ChangeLog
70 ===================================================================
71 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v
72 retrieving revision 1.6
73 retrieving revision 1.7
74 diff -u -r1.6 -r1.7
75 --- ChangeLog 28 Mar 2012 20:25:08 -0000 1.6
76 +++ ChangeLog 28 Apr 2012 23:46:50 -0000 1.7
77 @@ -1,6 +1,10 @@
78 # ChangeLog for dev-ruby/fast_xs
79 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
80 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v 1.6 2012/03/28 20:25:08 ranger Exp $
81 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_xs/ChangeLog,v 1.7 2012/04/28 23:46:50 flameeyes Exp $
82 +
83 + 28 Apr 2012; Diego E. Pettenò <flameeyes@g.o> fast_xs-0.8.0.ebuild:
84 + Fix testing: add rack and mongrel to dependencies (the latter only in ruby18),
85 + and run the tests sequentially instead of all at once.
86
87 28 Mar 2012; Brent Baude <ranger@g.o> fast_xs-0.8.0.ebuild:
88 Marking fast_xs-0.8.0 ~ppc64 for bug 405757