Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rubypants: rubypants-0.2.0-r4.ebuild ChangeLog
Date: Tue, 29 Oct 2013 23:19:01
Message-Id: 20131029231858.E01AB20047@flycatcher.gentoo.org
1 mrueg 13/10/29 23:18:58
2
3 Modified: ChangeLog
4 Added: rubypants-0.2.0-r4.ebuild
5 Log:
6 Add ruby20 target.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.19 dev-ruby/rubypants/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubypants/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubypants/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubypants/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 4 Sep 2013 12:37:17 -0000 1.18
24 +++ ChangeLog 29 Oct 2013 23:18:58 -0000 1.19
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/rubypants
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v 1.18 2013/09/04 12:37:17 mrueg Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/ChangeLog,v 1.19 2013/10/29 23:18:58 mrueg Exp $
30 +
31 +*rubypants-0.2.0-r4 (30 Oct 2013)
32 +
33 + 30 Oct 2013; Manuel Rüger <mrueg@g.o> +rubypants-0.2.0-r4.ebuild:
34 + Add ruby20 target.
35
36 04 Sep 2013; Manuel Rüger <mrueg@g.o> -rubypants-0.2.0-r1.ebuild:
37 Cleanup old.
38
39
40
41 1.1 dev-ruby/rubypants/rubypants-0.2.0-r4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rubypants-0.2.0-r4.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rubypants/rubypants-0.2.0-r4.ebuild,v 1.1 2013/10/29 23:18:58 mrueg Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby18 ruby19 ruby20 jruby"
55
56 RUBY_FAKEGEM_TASK_DOC=""
57 RUBY_FAKEGEM_TASK_TEST=""
58
59 inherit ruby-fakegem
60
61 DESCRIPTION="A Ruby port of the SmartyPants PHP library."
62 HOMEPAGE="http://chneukirchen.org/repos/rubypants/README"
63
64 LICENSE="Ruby"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 all_ruby_prepare() {
70 # the metadata format is ancient, and has quite a bit of trouble,
71 # remove it and let it use a generated one.
72 rm ../metadata || die
73 }
74
75 each_ruby_install() {
76 ruby_fakegem_install_gemspec
77
78 ruby_fakegem_newins rubypants.rb lib/rubypants.rb
79 }
80
81 each_ruby_test() {
82 # The rakefile doesn't really implement it properly, so simply
83 # replace it here.
84 ${RUBY} -I. test_rubypants.rb || die "tests failed"
85 }