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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Nov 6 16:52:00 2012 UTC (20 months, 2 weeks ago) by jer
Branch: MAIN
Changes since 1.9: +2 -2 lines
Stable for HPPA (bug #411507).

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)

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.12.5.ebuild,v 1.9 2012/10/27 18:00:51 armin76 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 ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
26 # - also requires dev-ruby/hoe-seattlerb for 1.9;
27 # - dev-ruby/gemcutter is an optional dependency at both runtime and
28 # test-time, at least for us;
29 # - rubyforge is loaded at runtime when needed, so we don't strictly
30 # depend on it at runtime, but we need it for tests (for now);
31 ruby_add_bdepend "test? ( dev-ruby/rdoc dev-ruby/minitest >=dev-ruby/rubyforge-2.0.4 )"
32
33 ruby_add_rdepend ">=dev-ruby/rake-0.8.7"
34
35 all_ruby_prepare() {
36 # Make test regexp more lenient to cover the way we name the binaries.
37 sed -i -e 's/sudo gem/sudo .?gem/' -e 's/\^gem/^.?gem/' test/test_hoe.rb || die
38 }

  ViewVC Help
Powered by ViewVC 1.1.20