Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/haml: ChangeLog haml-2.2.24.ebuild
Date: Fri, 30 Apr 2010 08:19:34
Message-Id: 20100430081932.0E8662C04C@corvid.gentoo.org
1 graaff 10/04/30 08:19:31
2
3 Modified: ChangeLog
4 Added: haml-2.2.24.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.42 dev-ruby/haml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/ChangeLog?rev=1.42&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/ChangeLog?rev=1.42&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/ChangeLog?r1=1.41&r2=1.42
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v
19 retrieving revision 1.41
20 retrieving revision 1.42
21 diff -u -r1.41 -r1.42
22 --- ChangeLog 30 Apr 2010 08:10:07 -0000 1.41
23 +++ ChangeLog 30 Apr 2010 08:19:31 -0000 1.42
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/haml
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.41 2010/04/30 08:10:07 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.42 2010/04/30 08:19:31 graaff Exp $
29 +
30 +*haml-2.2.24 (30 Apr 2010)
31 +
32 + 30 Apr 2010; Hans de Graaff <graaff@g.o> +haml-2.2.24.ebuild:
33 + Version bump.
34
35 30 Apr 2010; Hans de Graaff <graaff@g.o> -haml-2.2.20.ebuild,
36 -haml-2.2.22.ebuild, -haml-2.2.22-r1.ebuild:
37
38
39
40 1.1 dev-ruby/haml/haml-2.2.24.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/haml-2.2.24.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/haml-2.2.24.ebuild?rev=1.1&content-type=text/plain
44
45 Index: haml-2.2.24.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/haml-2.2.24.ebuild,v 1.1 2010/04/30 08:19:31 graaff Exp $
50
51 EAPI=2
52
53 USE_RUBY="ruby18"
54
55 RUBY_FAKEGEM_TASK_DOC="doc"
56
57 RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING README.md"
58 RUBY_FAKEGEM_DOCDIR="doc"
59
60 RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
61
62 inherit ruby-fakegem
63
64 DESCRIPTION="HAML - a ruby web page templating engine"
65 HOMEPAGE="http://haml.hamptoncatlin.com/"
66
67 LICENSE="MIT"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
70
71 # TODO: haml has some emacs modes that it could be installing, in case
72 IUSE=""
73
74 all_ruby_prepare() {
75 sed -i -e '/haml.gemspec/,/Task\[:package\]/s:^:#:' "${S}"/Rakefile
76 }
77
78 each_ruby_install() {
79 each_fakegem_install
80
81 # This is needed otherwise it fails at runtime
82 ruby_fakegem_doins VERSION VERSION_NAME
83 }
84
85 # The html engine requires hpricot
86 ruby_add_rdepend dev-ruby/hpricot
87
88 # It could use merb during testing as well, but it's not mandatory
89 ruby_add_bdepend test "virtual/ruby-test-unit dev-ruby/actionpack"
90 ruby_add_bdepend doc "dev-ruby/yard dev-ruby/maruku"