diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-01-15 09:34:42 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-01-15 09:34:42 +0000 |
commit | b7557e9124c0442aa5b9eabd8f1f87befe6a2c57 (patch) | |
tree | 2426577a5f9a11c49c903f3e9aa27a3535ffd9df /dev-ruby | |
parent | Initial import from sunrise overlay (bug #185753). (diff) | |
download | gentoo-2-b7557e9124c0442aa5b9eabd8f1f87befe6a2c57.tar.gz gentoo-2-b7557e9124c0442aa5b9eabd8f1f87befe6a2c57.tar.bz2 gentoo-2-b7557e9124c0442aa5b9eabd8f1f87befe6a2c57.zip |
Add ruby19. Make sure to use test-unit:0 with test/spec for ruby19.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/prawn-layout/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild | 12 |
2 files changed, 14 insertions, 5 deletions
diff --git a/dev-ruby/prawn-layout/ChangeLog b/dev-ruby/prawn-layout/ChangeLog index c8ad74d97d8c..1c8b994e68df 100644 --- a/dev-ruby/prawn-layout/ChangeLog +++ b/dev-ruby/prawn-layout/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/prawn-layout -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/ChangeLog,v 1.10 2011/09/21 06:27:07 graaff Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/ChangeLog,v 1.11 2012/01/15 09:34:42 graaff Exp $ + + 15 Jan 2012; Hans de Graaff <graaff@gentoo.org> prawn-layout-0.8.4-r2.ebuild: + Add ruby19. Make sure to use test-unit:0 with test/spec for ruby19. 21 Sep 2011; Hans de Graaff <graaff@gentoo.org> -prawn-layout-0.8.4.ebuild, -prawn-layout-0.8.4-r1.ebuild: diff --git a/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild b/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild index 885e03eb5ed6..affaf32582e4 100644 --- a/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild +++ b/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild,v 1.1 2010/12/14 09:41:22 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild,v 1.2 2012/01/15 09:34:42 graaff Exp $ EAPI=2 -USE_RUBY="ruby18 ree18 jruby" +USE_RUBY="ruby18 ruby19 ree18 jruby" RUBY_FAKEGEM_DOCDIR="doc" RUBY_FAKEGEM_EXTRADOC="README" @@ -22,6 +22,12 @@ ruby_add_bdepend test "dev-ruby/test-spec dev-ruby/mocha" ruby_add_rdepend "=dev-ruby/prawn-core-$(get_version_component_range 1-2)*" +USE_RUBY=ruby19 ruby_add_bdepend "test? ( dev-ruby/test-unit:0 )" + +all_ruby_prepare() { + sed -i -e '6irequire "prawn/core"; ruby_19 { gem "test-unit", "=1.2.3" }' spec/spec_helper.rb || die +} + all_ruby_install() { all_fakegem_install |