summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-02-11 08:33:52 +0000
committerHans de Graaff <graaff@gentoo.org>2011-02-11 08:33:52 +0000
commiteb379022a37deb8e395665a15456458a2ec2a8d7 (patch)
treeb9d25d6a91418cb6f416f1767b11a081119a9144 /dev-ruby
parentversion bump (diff)
downloadgentoo-2-eb379022a37deb8e395665a15456458a2ec2a8d7.tar.gz
gentoo-2-eb379022a37deb8e395665a15456458a2ec2a8d7.tar.bz2
gentoo-2-eb379022a37deb8e395665a15456458a2ec2a8d7.zip
Drop bones-extras dependency because this is now a no-op. Fix tests accordingly.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/little-plugger/ChangeLog9
-rw-r--r--dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild16
2 files changed, 16 insertions, 9 deletions
diff --git a/dev-ruby/little-plugger/ChangeLog b/dev-ruby/little-plugger/ChangeLog
index 933fa0111afd..309e138ca935 100644
--- a/dev-ruby/little-plugger/ChangeLog
+++ b/dev-ruby/little-plugger/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/little-plugger
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/little-plugger/ChangeLog,v 1.4 2010/05/22 13:18:32 flameeyes Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/little-plugger/ChangeLog,v 1.5 2011/02/11 08:33:52 graaff Exp $
+
+ 11 Feb 2011; Hans de Graaff <graaff@gentoo.org>
+ little-plugger-1.1.2-r1.ebuild:
+ Drop bones-extras dependency because this is now a no-op. Fix tests
+ accordingly.
22 May 2010; Diego E. Pettenò <flameeyes@gentoo.org>
-little-plugger-1.1.1.ebuild, -little-plugger-1.1.2.ebuild,
diff --git a/dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild b/dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild
index e8e5548ea353..08b009dbabbd 100644
--- a/dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild
+++ b/dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild,v 1.2 2010/05/22 13:18:32 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/little-plugger/little-plugger-1.1.2-r1.ebuild,v 1.3 2011/02/11 08:33:52 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ruby19 jruby"
-RUBY_FAKEGEM_TASK_TEST="spec:specdoc"
+RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
RUBY_FAKEGME_DOCDIR="doc"
@@ -18,7 +18,7 @@ inherit ruby-fakegem eutils
DESCRIPTION="Module that provides Gem based plugin management"
HOMEPAGE="http://github.com/TwP/${PN}"
-IUSE=""
+IUSE="test"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
@@ -26,12 +26,10 @@ KEYWORDS="~amd64"
ruby_add_bdepend "
doc? (
dev-ruby/bones
- dev-ruby/bones-extras
)
test? (
dev-ruby/bones
- dev-ruby/bones-extras
- dev-ruby/rspec
+ dev-ruby/rspec:0
)"
all_ruby_prepare() {
@@ -39,3 +37,7 @@ all_ruby_prepare() {
# reported upstream
epatch "${FILESDIR}"/${P}-rubylib.patch
}
+
+each_ruby_test() {
+ ${RUBY} -S spec spec || die "tests failed"
+}