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-3.1.6.ebuild |
Date: | Tue, 03 Jul 2012 05:56:13 |
Message-Id: | 20120703055600.D98BD2004B@flycatcher.gentoo.org |
1 | graaff 12/07/03 05:56:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: haml-3.1.6.ebuild |
5 | Log: |
6 | Version bump. Move hpricot to the test dependencies since it is an optional dependency. This matches the upstream gemspec. |
7 | |
8 | (Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.76 dev-ruby/haml/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/haml/ChangeLog?rev=1.76&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/haml/ChangeLog?rev=1.76&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/haml/ChangeLog?r1=1.75&r2=1.76 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v |
20 | retrieving revision 1.75 |
21 | retrieving revision 1.76 |
22 | diff -u -r1.75 -r1.76 |
23 | --- ChangeLog 17 May 2012 10:59:29 -0000 1.75 |
24 | +++ ChangeLog 3 Jul 2012 05:56:00 -0000 1.76 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for dev-ruby/haml |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.75 2012/05/17 10:59:29 tomka Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/ChangeLog,v 1.76 2012/07/03 05:56:00 graaff Exp $ |
30 | + |
31 | +*haml-3.1.6 (03 Jul 2012) |
32 | + |
33 | + 03 Jul 2012; Hans de Graaff <graaff@g.o> +haml-3.1.6.ebuild, |
34 | + +files/haml-3.1.6-sass.patch: |
35 | + Version bump. Move hpricot to the test dependencies since it is an optional |
36 | + dependency. This matches the upstream gemspec. |
37 | |
38 | 17 May 2012; Thomas Kahle <tomka@g.o> haml-3.1.4-r3.ebuild: |
39 | marked ~x86 per bug 396547 |
40 | |
41 | |
42 | |
43 | 1.1 dev-ruby/haml/haml-3.1.6.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/haml/haml-3.1.6.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/haml/haml-3.1.6.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: haml-3.1.6.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/haml/haml-3.1.6.ebuild,v 1.1 2012/07/03 05:56:00 graaff Exp $ |
53 | |
54 | EAPI=4 |
55 | |
56 | USE_RUBY="ruby18 ruby19 ree18" |
57 | |
58 | RUBY_FAKEGEM_TASK_TEST="test" |
59 | RUBY_FAKEGEM_TASK_DOC="doc" |
60 | |
61 | RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING README.md" |
62 | RUBY_FAKEGEM_DOCDIR="doc" |
63 | |
64 | RUBY_FAKEGEM_EXTRAINSTALL="init.rb rails VERSION VERSION_NAME" |
65 | |
66 | inherit ruby-fakegem |
67 | |
68 | DESCRIPTION="HAML - a ruby web page templating engine" |
69 | HOMEPAGE="http://haml-lang.com/" |
70 | |
71 | LICENSE="MIT" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
74 | |
75 | # TODO: haml has some emacs modes that it could be installing, in case |
76 | IUSE="" |
77 | |
78 | ruby_add_rdepend "dev-ruby/sass" |
79 | |
80 | # It could use merb during testing as well, but it's not mandatory |
81 | ruby_add_bdepend " |
82 | test? ( |
83 | dev-ruby/hpricot |
84 | dev-ruby/erubis |
85 | dev-ruby/rails |
86 | dev-ruby/ruby_parser |
87 | ) |
88 | doc? ( |
89 | dev-ruby/yard |
90 | dev-ruby/maruku |
91 | )" |
92 | |
93 | all_ruby_prepare() { |
94 | # unbundle sass; remove dependency over fssm and add one over sass |
95 | # itself. |
96 | rm -r vendor/ || die |
97 | |
98 | pushd .. &>/dev/null |
99 | epatch "${FILESDIR}"/${P}-sass.patch |
100 | sed -i \ |
101 | -e '/vendor\//d' \ |
102 | metadata || die |
103 | popd &>/dev/null |
104 | } |