diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-10-26 14:07:03 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-10-26 14:07:03 +0000 |
commit | bab1b24834caacabbe78b0947000188f6884dea0 (patch) | |
tree | b33fcb4e79e0bb3578ca9a58e732060e61bd45b4 /dev-ruby | |
parent | Revision bump. Install documentation. Run documentation and tests directly to... (diff) | |
download | gentoo-2-bab1b24834caacabbe78b0947000188f6884dea0.tar.gz gentoo-2-bab1b24834caacabbe78b0947000188f6884dea0.tar.bz2 gentoo-2-bab1b24834caacabbe78b0947000188f6884dea0.zip |
Fix use of obsolete rake tasks, bug 526488.
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/prawn-layout/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-ruby/prawn-layout/ChangeLog b/dev-ruby/prawn-layout/ChangeLog index 06d0fe9b8d92..bfa095c3ef18 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-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/ChangeLog,v 1.19 2014/04/25 00:56:52 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/ChangeLog,v 1.20 2014/10/26 14:07:03 graaff Exp $ + + 26 Oct 2014; Hans de Graaff <graaff@gentoo.org> prawn-layout-0.8.4-r2.ebuild: + Fix use of obsolete rake tasks, bug 526488. 25 Apr 2014; Manuel Rüger <mrueg@gentoo.org> prawn-layout-0.8.4-r2.ebuild: EAPI bump. 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 11510df2e2a8..4f9749ec781b 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-2014 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.10 2014/04/25 00:56:52 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild,v 1.11 2014/10/26 14:07:03 graaff Exp $ EAPI=5 -USE_RUBY="ruby19 jruby" +USE_RUBY="ruby19" RUBY_FAKEGEM_DOCDIR="doc" RUBY_FAKEGEM_EXTRADOC="README" @@ -22,6 +22,13 @@ ruby_add_bdepend test "dev-ruby/test-spec dev-ruby/mocha" ruby_add_rdepend "=dev-ruby/prawn-core-$(get_version_component_range 1-2)*" +all_ruby_prepare() { + # Avoid obsolete rake tasks. + sed -i -e 's:rake/rdoctask:rdoc/task:' \ + -e '/gempackagetask/ s:^:#:' \ + -e '/GemPackageTask/,/end/ s:^:#:' Rakefile || die +} + all_ruby_install() { all_fakegem_install |