1 |
flameeyes 10/05/01 11:13:10 |
2 |
|
3 |
Modified: ChangeLog pg-0.9.0-r1.ebuild |
4 |
Log: |
5 |
Make testing explicit with RSpec rather than using the Rakefile, this way it does not rebuild the extension when tests are enabled, and reduced the dependency tree. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.14 dev-ruby/pg/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.14&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?rev=1.14&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/ChangeLog?r1=1.13&r2=1.14 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v |
18 |
retrieving revision 1.13 |
19 |
retrieving revision 1.14 |
20 |
diff -u -r1.13 -r1.14 |
21 |
--- ChangeLog 27 Apr 2010 10:24:26 -0000 1.13 |
22 |
+++ ChangeLog 1 May 2010 11:13:10 -0000 1.14 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for dev-ruby/pg |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.13 2010/04/27 10:24:26 flameeyes Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/ChangeLog,v 1.14 2010/05/01 11:13:10 flameeyes Exp $ |
28 |
+ |
29 |
+ 01 May 2010; Diego E. Pettenò <flameeyes@g.o> pg-0.9.0-r1.ebuild: |
30 |
+ Make testing explicit with RSpec rather than using the Rakefile, this way |
31 |
+ it does not rebuild the extension when tests are enabled, and reduced the |
32 |
+ dependency tree. |
33 |
|
34 |
*pg-0.9.0-r1 (27 Apr 2010) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 dev-ruby/pg/pg-0.9.0-r1.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: pg-0.9.0-r1.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- pg-0.9.0-r1.ebuild 27 Apr 2010 10:24:26 -0000 1.1 |
52 |
+++ pg-0.9.0-r1.ebuild 1 May 2010 11:13:10 -0000 1.2 |
53 |
@@ -1,11 +1,11 @@ |
54 |
# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild,v 1.1 2010/04/27 10:24:26 flameeyes Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pg/pg-0.9.0-r1.ebuild,v 1.2 2010/05/01 11:13:10 flameeyes Exp $ |
58 |
|
59 |
EAPI=2 |
60 |
USE_RUBY="ruby18 ruby19" |
61 |
|
62 |
-RUBY_FAKEGEM_TEST_TASK="spec" |
63 |
+RUBY_FAKEGEM_TEST_TASK="" |
64 |
|
65 |
RUBY_FAKEGEM_TASK_DOC="rdoc" |
66 |
RUBY_FAKEGEM_DOCDIR="docs/api" |
67 |
@@ -30,7 +30,7 @@ |
68 |
# package; what is shipped with Ruby 1.9 is not good enough as it |
69 |
# lacks the packaging tasks for Rake. |
70 |
ruby_add_bdepend doc "dev-ruby/rake-compiler dev-ruby/rubygems" |
71 |
-ruby_add_bdepend test "dev-ruby/rspec dev-ruby/rake-compiler dev-ruby/rubygems" |
72 |
+ruby_add_bdepend test dev-ruby/rspec |
73 |
|
74 |
each_ruby_configure() { |
75 |
pushd ext |
76 |
@@ -44,3 +44,10 @@ |
77 |
popd |
78 |
cp ext/*.so lib || die |
79 |
} |
80 |
+ |
81 |
+each_ruby_test() { |
82 |
+ # Make the rspec call explicit, this way we don't have to depend |
83 |
+ # on rake-compiler (nor rubygems) _and_ we don't have to rebuild |
84 |
+ # the whole extension from scratch. |
85 |
+ ${RUBY} -Ilib -S spec -Du -fs spec/*_spec.rb || die "spec failed" |
86 |
+} |