Gentoo Archives: gentoo-commits

From: "Peter Wilmott (p8952)" <p8952@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/slim: slim-2.0.2-r1.ebuild ChangeLog
Date: Mon, 26 May 2014 14:23:20
Message-Id: 20140526142317.185C32004E@flycatcher.gentoo.org
1 p8952 14/05/26 14:23:17
2
3 Modified: ChangeLog
4 Added: slim-2.0.2-r1.ebuild
5 Log:
6 Fix tests by adding tilt dependency, add ruby20 and ruby21 targets
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.2 dev-ruby/slim/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/slim/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/slim/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/slim/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/slim/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 13 Dec 2013 02:35:57 -0000 1.1
24 +++ ChangeLog 26 May 2014 14:23:16 -0000 1.2
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/slim
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slim/ChangeLog,v 1.1 2013/12/13 02:35:57 mrueg Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/slim/ChangeLog,v 1.2 2014/05/26 14:23:16 p8952 Exp $
31 +
32 +*slim-2.0.2-r1 (26 May 2014)
33 +
34 + 26 May 2014; Peter Wilmott <p8952@g.o> +slim-2.0.2-r1.ebuild:
35 + Fix tests by adding tilt dependency, add ruby20 and ruby21 targets
36
37 *slim-2.0.2 (13 Dec 2013)
38
39
40
41
42 1.1 dev-ruby/slim/slim-2.0.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/slim/slim-2.0.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/slim/slim-2.0.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: slim-2.0.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/slim/slim-2.0.2-r1.ebuild,v 1.1 2014/05/26 14:23:16 p8952 Exp $
52
53 EAPI=5
54 USE_RUBY="ruby19 ruby20 ruby21"
55
56 RUBY_FAKEGEM_EXTRADOC="CHANGES README.md"
57
58 RUBY_FAKEGEM_DOCDIR="doc"
59 RUBY_FAKEGEM_TASK_DOC="yard"
60
61 inherit ruby-fakegem
62
63 DESCRIPTION="A template language whose goal is reduce the syntax to the essential parts without becoming cryptic"
64 HOMEPAGE="http://slim-lang.com/"
65 LICENSE="MIT"
66
67 KEYWORDS="~amd64"
68 SLOT="0"
69 IUSE="doc"
70
71 ruby_add_rdepend "dev-ruby/kramdown
72 dev-ruby/sass
73 dev-ruby/temple
74 dev-ruby/tilt"
75
76 ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )"
77
78 all_ruby_prepare() {
79 # This sinatra code expects tests to be installed but we strip those.
80 sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die
81
82 # Avoid tests for things we don't have.
83 sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \
84 -e '/test_render_with_wiki/,/^ end/ s:^:#:' \
85 -e '/test_render_with_creole/,/^ end/ s:^:#:' \
86 -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die
87
88 }