diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-04-26 05:29:14 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-04-26 05:29:14 +0000 |
commit | 2082b199ca38ec73383d5a89608a63c562675ece (patch) | |
tree | 50b643e25d5af87690e38425691021c048388237 /dev-ruby/hoe | |
parent | Patch for prefix support (diff) | |
download | gentoo-2-2082b199ca38ec73383d5a89608a63c562675ece.tar.gz gentoo-2-2082b199ca38ec73383d5a89608a63c562675ece.tar.bz2 gentoo-2-2082b199ca38ec73383d5a89608a63c562675ece.zip |
Provide user-config file in those phases that need it. Use proper path for it.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/hoe')
-rw-r--r-- | dev-ruby/hoe/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/hoe/hoe-2.6.0.ebuild | 18 |
2 files changed, 18 insertions, 6 deletions
diff --git a/dev-ruby/hoe/ChangeLog b/dev-ruby/hoe/ChangeLog index 6f43f5feca6b..35676a4a667b 100644 --- a/dev-ruby/hoe/ChangeLog +++ b/dev-ruby/hoe/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/hoe # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/ChangeLog,v 1.73 2010/04/24 07:54:19 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/ChangeLog,v 1.74 2010/04/26 05:29:14 graaff Exp $ + + 26 Apr 2010; Hans de Graaff <graaff@gentoo.org> hoe-2.6.0.ebuild: + Provide user-config file in those phases that need it. Use proper path for + it. *hoe-2.6.0 (24 Apr 2010) diff --git a/dev-ruby/hoe/hoe-2.6.0.ebuild b/dev-ruby/hoe/hoe-2.6.0.ebuild index 5ec393bbf9c9..d0f3702a815f 100644 --- a/dev-ruby/hoe/hoe-2.6.0.ebuild +++ b/dev-ruby/hoe/hoe-2.6.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/hoe-2.6.0.ebuild,v 1.1 2010/04/24 07:54:19 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/hoe-2.6.0.ebuild,v 1.2 2010/04/26 05:29:14 graaff Exp $ EAPI=2 USE_RUBY="ruby18 ruby19 jruby" @@ -31,8 +31,16 @@ ruby_add_bdepend test "virtual/ruby-minitest >=dev-ruby/rubyforge-2.0.3" ruby_add_rdepend ">=dev-ruby/rake-0.8.7" -all_ruby_prepare() { - # This file is expected by the documentation rake task - mkdir "${WORKDIR}/../homedir/.rubyforge" || die - touch "${WORKDIR}/../homedir/.rubyforge/user-config.yml" || die +all_ruby_compile() { + mkdir "${HOME}/.rubyforge" || die + touch "${HOME}/.rubyforge/user-config.yml" || die + + all_fakegem_compile +} + +each_ruby_test() { + mkdir "${HOME}/.rubyforge" || die + touch "${HOME}/.rubyforge/user-config.yml" || die + + each_fakegem_test } |