graaff 14/10/26 14:07:03 Modified: ChangeLog prawn-layout-0.8.4-r2.ebuild Log: Fix use of obsolete rake tasks, bug 526488. (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Revision Changes Path 1.20 dev-ruby/prawn-layout/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-layout/ChangeLog?rev=1.20&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-layout/ChangeLog?rev=1.20&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-layout/ChangeLog?r1=1.19&r2=1.20 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/ChangeLog,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- ChangeLog 25 Apr 2014 00:56:52 -0000 1.19 +++ ChangeLog 26 Oct 2014 14:07:03 -0000 1.20 @@ -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 <[email protected]> prawn-layout-0.8.4-r2.ebuild: + Fix use of obsolete rake tasks, bug 526488. 25 Apr 2014; Manuel RĂ¼ger <[email protected]> prawn-layout-0.8.4-r2.ebuild: EAPI bump. 1.11 dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild?rev=1.11&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild?r1=1.10&r2=1.11 Index: prawn-layout-0.8.4-r2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-ruby/prawn-layout/prawn-layout-0.8.4-r2.ebuild,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- prawn-layout-0.8.4-r2.ebuild 25 Apr 2014 00:56:52 -0000 1.10 +++ prawn-layout-0.8.4-r2.ebuild 26 Oct 2014 14:07:03 -0000 1.11 @@ -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_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
