summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-14 03:44:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-14 03:44:07 +0000
commit92e16f407d1698e815cd0092d3b5896cb2d11fb4 (patch)
tree8fdb395a0cdd1ca47924dbc02c07c2c97091b46f /dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild
parentPort to rspec helper for testing. (diff)
downloadhistorical-92e16f407d1698e815cd0092d3b5896cb2d11fb4.tar.gz
historical-92e16f407d1698e815cd0092d3b5896cb2d11fb4.tar.bz2
historical-92e16f407d1698e815cd0092d3b5896cb2d11fb4.zip
Port to rspec helper for testing. Drop bundler dependency.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild')
-rw-r--r--dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild b/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild
index 432d5ba98847..8d70d1f3559a 100644
--- a/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild
+++ b/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild,v 1.3 2012/04/17 17:20:01 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild,v 1.4 2012/08/14 03:44:07 flameeyes Exp $
EAPI="4"
# jruby: mkmf
@@ -10,7 +10,7 @@ USE_RUBY="ruby18 ruby19 ree18"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
-RUBY_FAKEGEM_TASK_TEST="spec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
inherit multilib ruby-fakegem
@@ -27,10 +27,8 @@ IUSE=""
RUBY_S="${GITHUB_USER}-${PN}-*"
-ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/rspec )"
-
all_ruby_prepare() {
- rm .rspec lib/.gitignore || die
+ rm .rspec lib/.gitignore Gemfile* || die
}
each_ruby_configure() {
@@ -42,7 +40,3 @@ each_ruby_compile() {
emake -C ext
cp ext/iobuffer_ext$(get_modname) lib/ || die
}
-
-each_ruby_test() {
- ${RUBY} -Ilib -S rspec spec || die
-}