summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:53:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-04 11:53:55 +0000
commitc7749b46182b44f9d45496c2d75120cf45ec9738 (patch)
treea113a2dcc4a4eb99e1c2ecdd54cc7cdddd3bab85 /dev-ruby/tzinfo
parentRemove USE iconv wrt #268048, not everything deserves a USE flag. (diff)
downloadhistorical-c7749b46182b44f9d45496c2d75120cf45ec9738.tar.gz
historical-c7749b46182b44f9d45496c2d75120cf45ec9738.tar.bz2
historical-c7749b46182b44f9d45496c2d75120cf45ec9738.zip
Fix src_test when Ruby 1.9 is not present.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/tzinfo')
-rw-r--r--dev-ruby/tzinfo/ChangeLog6
-rw-r--r--dev-ruby/tzinfo/tzinfo-0.3.13.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/tzinfo/ChangeLog b/dev-ruby/tzinfo/ChangeLog
index ea906f04a752..22e1224f0918 100644
--- a/dev-ruby/tzinfo/ChangeLog
+++ b/dev-ruby/tzinfo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/tzinfo
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.32 2009/04/20 20:06:26 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/ChangeLog,v 1.33 2009/05/04 11:53:32 flameeyes Exp $
+
+ 04 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ tzinfo-0.3.13.ebuild:
+ Fix src_test when Ruby 1.9 is not present.
20 Apr 2009; Markus Meier <maekke@gentoo.org> tzinfo-0.3.12-r1:
x86 stable, bug #266520
diff --git a/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild b/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild
index 0ca6cb60bbf1..8429e4ca1181 100644
--- a/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild
+++ b/dev-ruby/tzinfo/tzinfo-0.3.13.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/tzinfo/tzinfo-0.3.13.ebuild,v 1.2 2009/04/20 00:33:13 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tzinfo/tzinfo-0.3.13.ebuild,v 1.3 2009/05/04 11:53:32 flameeyes Exp $
inherit ruby
@@ -41,7 +41,8 @@ src_compile() {
src_test() {
for ruby in $USE_RUBY; do
- [[ -n `type -p $ruby` ]] && $ruby $(type -p rake) test || die "testsuite failed"
+ [[ -n `type -p $ruby` ]] || continue
+ $ruby $(type -p rake) test || die "testsuite failed"
done
}