/[gentoo-x86]/app-text/ronn/ronn-0.7.3.ebuild
Gentoo

Contents of /app-text/ronn/ronn-0.7.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Oct 28 19:27:56 2012 UTC (22 months, 3 weeks ago) by armin76
Branch: MAIN
Changes since 1.10: +2 -2 lines
Add ~alpha

(Portage version: 2.1.11.9/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/app-text/ronn/ronn-0.7.3.ebuild,v 1.10 2012/04/07 14:59:34 maekke Exp $
4
5 EAPI=2
6 USE_RUBY="ruby18 ree18"
7
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md"
10
11 inherit ruby-fakegem
12
13 DESCRIPTION="Ronn converts simple, human readable textfiles to roff for terminal display, and also to HTML."
14 HOMEPAGE="http://github.com/rtomayko/ronn/"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86"
19
20 IUSE=""
21
22 ruby_add_rdepend "
23 >=dev-ruby/hpricot-0.8.2
24 >=dev-ruby/mustache-0.7.0
25 >=dev-ruby/rdiscount-1.5.8"
26
27 all_ruby_prepare() {
28 # Avoid test failing due to changes in hash handling in ruby 1.8.7:
29 # https://github.com/rtomayko/ronn/issues/56
30 sed -i -e '81 s:^:#:' test/test_ronn.rb || die
31 }
32
33 each_ruby_prepare() {
34 # Make sure that we always use the right interpreter during tests.
35 sed -i -e "/output/ s:ronn:${RUBY} bin/ronn:" test/test_ronn.rb
36 }
37
38 all_ruby_compile() {
39 PATH="${S}/bin:${PATH}" rake man || die
40 }
41
42 all_ruby_install() {
43 all_fakegem_install
44
45 doman man/ronn.1 man/ronn-format.7
46 }

  ViewVC Help
Powered by ViewVC 1.1.20