diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-12-29 14:55:17 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-12-29 14:55:17 +0000 |
commit | 21b6f00306c181bf3d4366c6841f3dff74c19eff (patch) | |
tree | fe973d45d13a14a2406369683c6d0b3b1fcdd492 /dev-ruby/erubis | |
parent | Missing bump to 2.6.32.51 (diff) | |
download | gentoo-2-21b6f00306c181bf3d4366c6841f3dff74c19eff.tar.gz gentoo-2-21b6f00306c181bf3d4366c6841f3dff74c19eff.tar.bz2 gentoo-2-21b6f00306c181bf3d4366c6841f3dff74c19eff.zip |
Don't run tests for ruby 1.9.3 since its default Psych module can't handle the YAML used.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/erubis')
-rw-r--r-- | dev-ruby/erubis/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/erubis/erubis-2.7.0.ebuild | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-ruby/erubis/ChangeLog b/dev-ruby/erubis/ChangeLog index 189c3799635f..a508c57f554d 100644 --- a/dev-ruby/erubis/ChangeLog +++ b/dev-ruby/erubis/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/erubis # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.13 2011/09/09 08:17:43 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/ChangeLog,v 1.14 2011/12/29 14:55:17 graaff Exp $ + + 29 Dec 2011; Hans de Graaff <graaff@gentoo.org> erubis-2.7.0.ebuild: + Don't run tests for ruby 1.9.3 since its default Psych module can't handle + the YAML used. 09 Sep 2011; Fabian Groffen <grobian@gentoo.org> erubis-2.7.0.ebuild: Marked ~sparc-solaris diff --git a/dev-ruby/erubis/erubis-2.7.0.ebuild b/dev-ruby/erubis/erubis-2.7.0.ebuild index 35c6da594cc6..f26c68ae606f 100644 --- a/dev-ruby/erubis/erubis-2.7.0.ebuild +++ b/dev-ruby/erubis/erubis-2.7.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/erubis-2.7.0.ebuild,v 1.4 2011/09/09 08:17:43 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/erubis/erubis-2.7.0.ebuild,v 1.5 2011/12/29 14:55:17 graaff Exp $ EAPI="2" @@ -41,5 +41,13 @@ each_ruby_prepare() { } each_ruby_test() { - PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} test/test.rb || die + case ${RUBY} in + # http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201 + *ruby19) + einfo "Tests are not compatible with ruby 1.9.3 with Psych as YAML module." + ;; + *) + PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. test/test.rb || die + ;; + esac } |