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: haml-2.2.22-r1.ebuild ChangeLog
Date: Fri, 02 Apr 2010 06:38:03
Message-Id: E1NxaVx-0004hf-M0@stork.gentoo.org
1 graaff 10/04/02 06:37:57
2
3 Modified: ChangeLog
4 Added: haml-2.2.22-r1.ebuild
5 Log:
6 Also install init.rb, fixing #312693. Thanks to Simon Wells for reporting.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.39 dev-ruby/haml/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/ChangeLog?rev=1.39&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/ChangeLog?rev=1.39&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/ChangeLog?r1=1.38&r2=1.39
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v
19 retrieving revision 1.38
20 retrieving revision 1.39
21 diff -u -r1.38 -r1.39
22 --- ChangeLog 23 Mar 2010 07:07:25 -0000 1.38
23 +++ ChangeLog 2 Apr 2010 06:37:57 -0000 1.39
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.38 2010/03/23 07:07:25 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.39 2010/04/02 06:37:57 graaff Exp $
29 +
30 +*haml-2.2.22-r1 (02 Apr 2010)
31 +
32 + 02 Apr 2010; Hans de Graaff <graaff@g.o> +haml-2.2.22-r1.ebuild:
33 + Also install init.rb, fixing #312693. Thanks to Simon Wells for reporting.
34
35 *haml-2.2.22 (23 Mar 2010)
36
37
38
39
40 1.1 dev-ruby/haml/haml-2.2.22-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/haml-2.2.22-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/haml/haml-2.2.22-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: haml-2.2.22-r1.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.22-r1.ebuild,v 1.1 2010/04/02 06:37:57 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"