diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-04-21 06:56:39 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-04-21 06:56:39 +0000 |
commit | 2893ce2d7fe2f44b3584c3c23562c5806bde56b6 (patch) | |
tree | 9958384b0bbaa11984648eba17b4452f220cae87 /dev-ruby/rake | |
parent | arm stable wrt bug #508198 (diff) | |
download | gentoo-2-2893ce2d7fe2f44b3584c3c23562c5806bde56b6.tar.gz gentoo-2-2893ce2d7fe2f44b3584c3c23562c5806bde56b6.tar.bz2 gentoo-2-2893ce2d7fe2f44b3584c3c23562c5806bde56b6.zip |
Drop hoe dependency for USE=doc and for tests to make bootstrapping easier. Also fixes bug 508036. Depend on the minitest gem since that is now required to run tests.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/rake')
-rw-r--r-- | dev-ruby/rake/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rake/rake-10.3.1.ebuild | 11 |
2 files changed, 10 insertions, 8 deletions
diff --git a/dev-ruby/rake/ChangeLog b/dev-ruby/rake/ChangeLog index 29a9218390b9..2580e6ae6a4d 100644 --- a/dev-ruby/rake/ChangeLog +++ b/dev-ruby/rake/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rake # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.153 2014/04/18 14:21:58 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/ChangeLog,v 1.154 2014/04/21 06:56:39 graaff Exp $ + + 21 Apr 2014; Hans de Graaff <graaff@gentoo.org> rake-10.3.1.ebuild: + Drop hoe dependency for USE=doc and for tests to make bootstrapping easier. + Also fixes bug 508036. Depend on the minitest gem since that is now required + to run tests. *rake-10.3.1 (18 Apr 2014) diff --git a/dev-ruby/rake/rake-10.3.1.ebuild b/dev-ruby/rake/rake-10.3.1.ebuild index 9d1597d2027d..fabdac89c55c 100644 --- a/dev-ruby/rake/rake-10.3.1.ebuild +++ b/dev-ruby/rake/rake-10.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-10.3.1.ebuild,v 1.1 2014/04/18 14:21:58 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake/rake-10.3.1.ebuild,v 1.2 2014/04/21 06:56:39 graaff Exp $ EAPI=5 USE_RUBY="ruby19 ruby20 ruby21 jruby" @@ -22,10 +22,7 @@ IUSE="doc" DEPEND+=" app-arch/gzip" -ruby_add_bdepend "doc? ( dev-ruby/rdoc ) - test? ( >=dev-ruby/hoe-3.7 - virtual/ruby-minitest - )" +ruby_add_bdepend "test? ( >=dev-ruby/minitest-4:0 )" all_ruby_prepare() { # Decompress the file. The compressed version has errors, ignore them. @@ -44,12 +41,12 @@ each_ruby_prepare() { all_ruby_compile() { if use doc; then - ruby -Ilib bin/rake docs || die "doc generation failed" + rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die fi } each_ruby_test() { - ${RUBY} -Ilib bin/rake || die + ${RUBY} -Ilib:test:. -e 'gem "minitest", "~>4.0"; require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die } all_ruby_install() { |