diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-07-07 08:09:52 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-07-07 08:09:52 +0000 |
commit | cb47fadf44227df4db8d58b63f5048de31e30b1b (patch) | |
tree | d3c4f82b04e2a137737e0b3ac8075038871bc685 /dev-ruby/rdoc | |
parent | Add ruby20 support. (diff) | |
download | gentoo-2-cb47fadf44227df4db8d58b63f5048de31e30b1b.tar.gz gentoo-2-cb47fadf44227df4db8d58b63f5048de31e30b1b.tar.bz2 gentoo-2-cb47fadf44227df4db8d58b63f5048de31e30b1b.zip |
Add ruby20 support.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rdoc')
-rw-r--r-- | dev-ruby/rdoc/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/rdoc/rdoc-4.0.1.ebuild | 23 |
2 files changed, 20 insertions, 8 deletions
diff --git a/dev-ruby/rdoc/ChangeLog b/dev-ruby/rdoc/ChangeLog index 2f921e4771f2..a67b1732c83d 100644 --- a/dev-ruby/rdoc/ChangeLog +++ b/dev-ruby/rdoc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/rdoc # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.112 2013/06/03 19:29:12 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/ChangeLog,v 1.113 2013/07/07 08:09:52 graaff Exp $ + + 07 Jul 2013; Hans de Graaff <graaff@gentoo.org> rdoc-4.0.1.ebuild: + Add ruby20 support. *rdoc-4.0.1 (03 Jun 2013) diff --git a/dev-ruby/rdoc/rdoc-4.0.1.ebuild b/dev-ruby/rdoc/rdoc-4.0.1.ebuild index c1ba6af8057a..f63949595552 100644 --- a/dev-ruby/rdoc/rdoc-4.0.1.ebuild +++ b/dev-ruby/rdoc/rdoc-4.0.1.ebuild @@ -1,12 +1,11 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-4.0.1.ebuild,v 1.1 2013/06/03 19:29:12 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdoc/rdoc-4.0.1.ebuild,v 1.2 2013/07/07 08:09:52 graaff Exp $ EAPI=5 -USE_RUBY="ruby18 ruby19 jruby" - -RUBY_FAKEGEM_TASK_DOC="docs" +USE_RUBY="ruby18 ruby19 ruby20 jruby" +RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_DOCDIR="doc" RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc RI.rdoc TODO.rdoc" @@ -24,10 +23,8 @@ IUSE="" ruby_add_bdepend " dev-ruby/racc - doc? ( >=dev-ruby/hoe-2.7.0 ) test? ( - >=dev-ruby/hoe-2.7.0 - dev-ruby/minitest + virtual/ruby-minitest )" ruby_add_rdepend "=dev-ruby/json-1* >=dev-ruby/json-1.4" @@ -64,6 +61,14 @@ all_ruby_prepare() { sed -i -e '/:generate/d' Rakefile || die } +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + ruby -Ilib -S bin/rdoc || die + fi +} + each_ruby_compile() { # Generate the file inline here since the Rakefile confuses jruby # into a circular dependency. @@ -72,6 +77,10 @@ each_ruby_compile() { done } +each_ruby_test() { + ${RUBY} -Ilib -S testrb test/test_*.rb || die +} + all_ruby_install() { all_fakegem_install |