/[gentoo-x86]/dev-ruby/hoe/hoe-2.13.0.ebuild
Gentoo

Contents of /dev-ruby/hoe/hoe-2.13.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jun 28 05:47:18 2012 UTC (2 years, 1 month ago) by graaff
Branch: MAIN
Changes since 1.2: +3 -4 lines
Add rdoc as a runtime dependency for the publish task. It is possible for packages to turn off the rdoc dependency, but the default is to enable it and simple initializing the Hoe object already requires it. Fixes bug 423883.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/hoe-2.13.0.ebuild,v 1.2 2012/05/26 09:43:09 graaff Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ree18 ruby19 jruby"
7
8 RUBY_FAKEGEM_TASK_DOC="docs"
9
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
12
13 RUBY_FAKEGEM_EXTRAINSTALL="template"
14
15 inherit ruby-fakegem
16
17 DESCRIPTION="Hoe extends rake to provide full project automation."
18 HOMEPAGE="http://seattlerb.rubyforge.org/"
19
20 LICENSE="MIT"
21 SLOT="0"
22 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
23 IUSE=""
24
25 # - also requires dev-ruby/hoe-seattlerb for 1.9;
26 # - dev-ruby/gemcutter is an optional dependency at both runtime and
27 # test-time, at least for us;
28 # - rubyforge is loaded at runtime when needed, so we don't strictly
29 # depend on it at runtime, but we need it for tests (for now);
30 ruby_add_bdepend "test? ( dev-ruby/minitest >=dev-ruby/rubyforge-2.0.4 )"
31
32 ruby_add_rdepend ">=dev-ruby/rake-0.8.7 >=dev-ruby/rdoc-3.10"
33
34 all_ruby_prepare() {
35 # Make test regexp more lenient to cover the way we name the binaries.
36 sed -i -e 's/sudo gem/sudo .?gem/' -e 's/\^gem/^.?gem/' test/test_hoe.rb || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20