1 |
commit: d0bc3dac8d503ed73d7608a320830fb3cf444b2f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 5 09:12:28 2015 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 5 09:12:59 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0bc3dac |
7 |
|
8 |
dev-ruby/httparty: use rspec3 recipe for tests |
9 |
|
10 |
This also makes rspec a USE=test dependency rather |
11 |
than a generic build dependency. |
12 |
|
13 |
Package-Manager: portage-2.2.20.1 |
14 |
|
15 |
dev-ruby/httparty/httparty-0.13.7.ebuild | 10 ++-------- |
16 |
1 file changed, 2 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/dev-ruby/httparty/httparty-0.13.7.ebuild b/dev-ruby/httparty/httparty-0.13.7.ebuild |
19 |
index a26eba9..a48ad9d 100644 |
20 |
--- a/dev-ruby/httparty/httparty-0.13.7.ebuild |
21 |
+++ b/dev-ruby/httparty/httparty-0.13.7.ebuild |
22 |
@@ -6,9 +6,7 @@ EAPI=5 |
23 |
|
24 |
USE_RUBY="ruby19 ruby20 ruby21" |
25 |
|
26 |
-# We have a custom test function, but don't null this out so that the |
27 |
-# deps are still added |
28 |
-RUBY_FAKEGEM_TASK_TEST="none" |
29 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
30 |
|
31 |
RUBY_FAKEGEM_TASK_DOC="" |
32 |
RUBY_FAKEGEM_EXTRADOC="README.md History" |
33 |
@@ -25,7 +23,7 @@ IUSE="" |
34 |
|
35 |
ruby_add_rdepend '>=dev-ruby/json-1.8:0 >=dev-ruby/multi_xml-0.5.2' |
36 |
|
37 |
-ruby_add_bdepend 'dev-ruby/rspec:3 dev-ruby/fakeweb' |
38 |
+ruby_add_bdepend 'test? ( dev-ruby/fakeweb )' |
39 |
|
40 |
all_ruby_prepare() { |
41 |
# Remove bundler |
42 |
@@ -41,10 +39,6 @@ all_ruby_prepare() { |
43 |
-e '1i require "cgi"' spec/spec_helper.rb || die |
44 |
} |
45 |
|
46 |
-each_ruby_test() { |
47 |
- ${RUBY} -S rake spec || die |
48 |
-} |
49 |
- |
50 |
all_ruby_install() { |
51 |
all_fakegem_install |