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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu Jan 8 11:28:52 2015 UTC (3 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -2 lines
Stable for ppc64, wrt bug #532572

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="ppc64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/hoe/hoe-3.13.0.ebuild,v 1.11 2015/01/01 09:53:35 ago Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19 ruby20"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="History.rdoc Manifest.txt README.rdoc"
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 ~amd64-fbsd ~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 "test? ( >=dev-ruby/minitest-5.3:5 )"
26
27 ruby_add_rdepend ">=dev-ruby/rake-0.8.7 >=dev-ruby/rdoc-4.0"
28
29 all_ruby_prepare() {
30 # Skip isolation
31 sed -i -e '/isolate/ s:^:#:' Rakefile || die
32
33 # Skip test depending on specifics of gem command name
34 sed -i -e '/test_nosudo/,/^ end/ s:^:#:' test/test_hoe.rb || die
35
36 # Gem.bin_wrapper does not work as expected on Gentoo.
37 sed -i -e 's/Gem.bin_wrapper//' lib/hoe/rcov.rb lib/hoe/publish.rb test/test_hoe_publish.rb || die
38 }
39
40 all_ruby_compile() {
41 all_fakegem_compile
42
43 rdoc --title "seattlerb's hoe-3.5.1 Documentation" -o doc --main README.txt lib History.txt Manifest.txt README.txt || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20