summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-dbi')
-rw-r--r--dev-ruby/ruby-dbi/ChangeLog6
-rw-r--r--dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/ruby-dbi/ChangeLog b/dev-ruby/ruby-dbi/ChangeLog
index c28abb596b14..7aad0035a1a3 100644
--- a/dev-ruby/ruby-dbi/ChangeLog
+++ b/dev-ruby/ruby-dbi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/ruby-dbi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.37 2009/08/26 22:17:15 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ChangeLog,v 1.38 2009/08/26 22:46:47 a3li Exp $
+
+ 26 Aug 2009; Alex Legler <a3li@gentoo.org> ruby-dbi-0.4.2.ebuild:
+ Giving die a meaningful message, ignoring not installed ruby versions when
+ testing.
*ruby-dbi-0.4.2 (26 Aug 2009)
diff --git a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
index 9cd5ae32043c..00d9c067d01c 100644
--- a/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
+++ b/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild,v 1.1 2009/08/26 22:17:15 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-dbi/ruby-dbi-0.4.2.ebuild,v 1.2 2009/08/26 22:46:47 a3li Exp $
inherit "ruby"
@@ -33,6 +33,7 @@ USE_RUBY="ruby18 ruby19"
src_test() {
for rb in $USE_RUBY; do
ebegin "Testing for ${rb}"
+ [ -x ${rb} ] || continue
${rb} setup.rb test || die "test failed"
eend $?
done
@@ -40,7 +41,7 @@ src_test() {
src_install() {
ruby setup.rb install \
- --prefix="${D}" || die
+ --prefix="${D}" || die "setup.rb install failed"
dodoc README